Accessors for class IlvText

Properties

Methods

Description

The IlvText class displays any number of lines of text within a rectangle. You can store and retrieve any part of the text from that object, or edit its contents.

TypeNameDescriptionNotes
VoidaddLine(String label, Int index)Inserts a new line of text by creating a copy of the string label and inserting it before the indexth line. If index is set to a negative value, the line is appended to the text.
UIntcursorLocationSets or gets the character where the cursor is positioned.
BooleaneditableSets the text as editable or specifies whether the text is editable. Non-editable text can still be edited for copying.
StringgetLine(UInt index)Returns the indexth line of text.
UIntlinesReturns the number of lines in the text.
UIntselectionEndSet or get the characters where the selection ends.
UIntselectionStartSet or get the characters where the selection starts.
VoidsetLine(UInt index, String label)Sets the indexth line of text to label.
StringtextGets or sets the entire text contents. The \n character can be used to separate lines.