Package avail. anvil. text
Types
An EditorKit that supports editing an Avail source module.
An EditorKit that supports multiline Avail source code, but not necessarily for the purpose of editing an Avail source module.
An abstract location within a document opened in an AvailEditor.
The DocumentPosition of the Caret.getDot; the rightmost position.
The DocumentPosition of the Caret.getMark; the leftmost position.
The range between the cursor dot and the cursor caret.
This class will display line numbers for a related text component. The text component must use the same line height for each line. TextLineNumber supports wrapped lines and will highlight the line number of the current line(s) in the text component.
Functions
Center the current line of the receiver in its enclosing viewport by moving the caret. If no viewport encloses the receiver, then do not move the caret.
Interrogate the code point at the specified position.
Interrogate the code point at the specified position.
Move the caret to the specified line and optional intra-line position. Normalize the positions, to ensure that the document and line limits are not exceeded.
Tally the indentation at position. Only horizontal tabulation (U+0009) is considered indentation.
Tally the indentation for the line enclosing position. Only leading horizontal tabulation (U+0009) is considered indentation.
Locate the beginning of the line enclosing position.
Locate the beginnings of all lines enclosing the active selection. If no text is selected, then locate the beginning of the line containing the caret.
Set the caret dot and caret mark from the given MarkToDotRange.