Type | Name | Description | Notes |
Void | addLine(String label, Int index) | Inserts a new line of text by creating a copy of the string label and inserting it before the index th line. If index is set to a negative value, the line is appended to the text. | |
UInt | cursorLocation | Sets or gets the character where the cursor is positioned. | |
Boolean | editable | Sets the text as editable or specifies whether the text is editable. Non-editable text can still be edited for copying. | |
String | getLine(UInt index) | Returns the index th line of text. | |
UInt | lines | Returns the number of lines in the text. | |
UInt | selectionEnd | Set or get the characters where the selection ends. | |
UInt | selectionStart | Set or get the characters where the selection starts. | |
Void | setLine(UInt index, String label) | Sets the index th line of text to label . | |
String | text | Gets or sets the entire text contents. The \n character can be used to separate lines. | |