12.9. Class MEDIT

12.9.1. About

Class are destined to control multi TEXTEDIT objects.

12.9.2. Description

 mEdit()	--> MEDIT object
 mEdit_new()		--> MEDIT object

12.9.2.1. Attributes

<ClassName> MEDIT
<Tobj> Array, an array of TEXTEDIT objects
<TobjInfo> Array, an array of window information for every element <Tobj>
<Curwin> Numeric, the cureent window number.
<Clipboard> Array, an clipboard array.
<Find> FIND object, contain search information and options
<Opt> Map, the MEDIT configuration
  OCREATEBAK - Logical, if TRUE create .bak files, specified TE_CREATE_BAK
  OTABSIZE - Numeric, the tabulation size, specified TE_TABSIZE
  OAUTOSAVE - Logical, if TRUE save TEXEDIT objects automatical every OTIMEAUTOSAVE time, specified TE_AUTO_SAVE
  OTIMEAUTOSAVE - Numeric, the time autosave in minute, specified TE_TIME_AUTO_SAVE
  OSAVESTATUS - Logical, if TRUE autosave this options into file, specified TE_SAVE_STATUS
  OHYPHEN - Logical, if TRUE hyphen, specified TE_HYPHEN.
  OAUTOMARGIN - Logical, if TRUE auto margin boundary, specified TE_AUTO_MARGIN.
  OMARGINLEFT - Numeric, the left margin, specified TE_MARGIN_LEFT.
  OMARGINRIGHT - Numeric, the right margin, specified TE_MARGIN_RIGHT.
  OAUTOINDENT - Logical, if TRUE auto set new column position by position first letter of previouse line, specified TE_AUTO_IDENT.
  
<Templ> Map, the key is template, data - substring to replace.
<Tempmacro> Map, the key is template, data - macro values.
<UserFunc> String, the name user function.
<nTop> a MEDIT viewport coordinates (default - 0)
<nLeft> a MEDIT viewport coordinates (default - 0)
<nBot> a MEDIT viewport coordinates (default - maxrow())
<nRight> a MEDIT viewport coordinates (default - maxcol())
  
<Param> Array, array of file names to edit.
<Tab_size> Numeric, the tabulation size.
<bLine> Numeric, the line number by loading (default 1).
<bPos> Numeric, the column number by loading (default 1).
<wLine> Numeric, the line number in viewport by loading (default 1).
<wPos> Numeric, the column number in viewport by loading (default 1).
<Single_mode> Logical, if TRUE - the draw mode is SINGLE (default FALSE)
<Double_mode> Logical, if TRUE - the draw mode is DOUBLE (default FALSE).
<stLine> String, the status line text (default [ESC - menu]).
<oMenu> MENU object.
<AutoIndent> Logical, if TRUE auto identification new column position into new line by previose line (default TRUE)
  

12.9.2.2. Methods

APPLYHASH Evaluate the code block.
BACKSPACE Delete symbol.
CALLMENU Call and run menu.
CANCELBLOCK Unmark block.
CENTERLINE Centered line.
CHANGECHARSET Change charset.
CHOOSECODEPAGE Choose and set new codepage.
CLOSEWINDOW Close window.
COPYBLOCK Copy or move block to new position line and column.
COPYTOCLIPBOARD Copy block to clipboard.
CREATENEWWINDOW Create new TEXTEDIT object into new window.
DELETE Delete symbol.
DELETEBLOCK Remove block.
DELETEEND Delete string from current column to th end of string.
DELETEHOME Delete string from cuurent column to the start of string.
DELETELINE Delete line.
DRAWHEAD Draw border header.
EDITKEYS Edit MEDIT options.
EDITOPT Edit MEDIT options.
ENABLEBLOCKMENU Enable block menu items.
ENABLEMENU Enable menu items.
FINDNEXT Search continue to forward.
FINDPREV Search continue to backward.
FINDREPLACE Find and replace string or regular expression within current one or all windows.
FINDSTRING Find string or regular expression within current one or all windows.
FORMAT Format line or part of text.
GETREADONLY Get mode Read Only.
GOTO Run dialog "Go to line".
HELPEDIT Make help.
INITUSERMACRO Initiation users macros.
INSMACRO Insert text string(s) by after do macro expression.
INSTEMPLATE Insert text string(s) by template.
LISTFILES Show listing opened files.
LOADBLOCK Load block from file.
MARKBLOCK Start/stop to mark block.
MATCHSTRUCTURE Match structure within window.
MATCHSYMBOL Match symbol within window.
MEDIT MEDIT constructor.
MENU Create common menu for MEDIT object.
NEWLINE Goto new line of window.
NEXTWINDOW Change current window to next.
OPENFILE Open file into new window.
PASTEFROMCLIPBOARD Paste block from clipboard.
PREVWINDOW Change current window to previous.
PRINT Print file or marked block.
RELOADFILE Reload file.
REMOVEWINDOW Remove window
RUNME Key code handler()
SAVEBLOCK Save block to file.
SAVEFILE Save file.
SAVEOPTIONS Save MEDIT options.
SAVEPOS Save current line position.
SAVEWINS Save all windows that contained TEXEDIT objects.
SETDRAW Start/Stop lines drow mode.
SETHASH Set a code block associated with commands hash code value.
SETINSERTMODE Set insert mode.
SETOPTIONS Set editor options.
SHOWFILES Show listing of opened files.
UNDO Make "undo" operation.
WRITESTATUS Save MEDIT status.