TextEditor

classes
   map            readonly       text           

SYNTAX

e = new TextEditor()
e = new TextEditor(string)
e = new TextEditor(string, rows, columns)

DESCRIPTION

For editing or displaying multiline text. Default is 5 rows, 30 columns.

BUGS

At this time no scroll bars or even much functionality. Mouse editing and emacs style works.


text

TextEditor

SYNTAX

string = e.text()
string = e.text(string)

DESCRIPTION

Returns the text of the TextEditor in a strdef. If arg exists, replaces the text by the string and returns the new text (string).


readonly

TextEditor

SYNTAX

boolean = e.readonly()
boolean = e.readonly(boolean)

DESCRIPTION

Returns 1 if the TextEditor in read only mode. Returns 0 if text entry by the user is allowed. Change the mode with the argument form using 0 or 1.


map

TextEditor

SYNTAX

e.map()
e.map(title)
e.map(title, left, bottom, width, height)

DESCRIPTION

Map the text editor onto the screen at indicated coordinates with indicated title bar


neuron/general/classes/tedit.hel : May 13 2012