Mojox textdocument
Class TextDocument#
The TextDocument class.
| Fields | |
|---|---|
| LinesModified | Invoked after lines have been modified. |
| TextChanged | Invoked after text has changed. |
| Constructors | |
|---|---|
| New | Creates a new text document. |
| Properties | |
|---|---|
| Colors | (read only) |
| NumLines | Number of lines in document. (read only) |
| Text | Document text. |
| TextHighlighter | |
| 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. |
| LineState | |
| ReplaceText | Replaces text in the document. |
| StartOfLine | Gets the index of the first character on a line. |