mojox.TextDocument - nitrologic/monkey2 GitHub Wiki
mojox::mojox.TextDocument
Class TextDocument
The TextDocument class.
| Constructors |
|
| New |
Creates a new text document. |
| Properties |
|
| NumLines |
Number of lines in document. (read only) |
| Text |
Document text. |
| TextLength |
Length of doucment text. (read only) |
| Methods |
|
| AppendText |
Appends text to the end of the document. |
| EndOfLine |
Gets the index of the last character on a line. |
| FindLine |
Finds the line containing a character. |
| GetLine |
Gets line text. |
| ReplaceText |
Replaces text in the document. |
| StartOfLine |
Gets the index of the first character on a line. |