Package avail. anvil. text
Types
A CodeKit that supports editing files in a FileEditor.
The syntax that represents a multi-line comment (block comment).
An EditorKit that supports multiline Avail source code, but not necessarily for the purpose of editing an Avail source module.
Therepresentation of comment syntax that can be used to comment text.
An abstract location within a document opened in an AvailEditor.
The DocumentPosition of the Caret.getDot; the rightmost position.
The LineComment that uses // to indicate a line comment.
An EditorKit that supports editing an Avail source module.
The enumeration of file extensions and their associated comment syntax.
The BlockComment with a prefix of forward slash (/) followed by an asterisk (*) ("\u002F\u002A") and a suffix of an asterisk (*) followed by a forward slash ("\u002A\u002F").
The LineComment that uses # to indicate a line comment.
The HTML-style BlockComment with prefix, <!--`, and suffix, `-->.
The String line prefix, first non-whitespace characters of the first line of the file or the first non-whitespace that represents the start of a line comment.
The DocumentPosition of the Caret.getMark; the leftmost position.
The range between the cursor dot and the cursor caret.
An text edit TextAction that may be prevented based on whether the JTextPane.canEdit flag is set to false. If false the action will be prevented and the UIManager will provide some kind of appropriate error feedback.
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.
Locate the position of the beginning of the first line enclosing the active selection.
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 position of the end of the last line enclosing the active selection.
Locate the end of the line enclosing position.
Locate the ends of all lines enclosing the active selection. If no text is selected, then locate the end of the line containing the caret.
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.
Count the number of tabs that prefix each line (after a \n character) in each line in the provided text and answer the lowest tab count amongst the lines.
Set the caret dot and caret mark from the given MarkToDotRange.
Transform the following text to camel case.
Transform the following text to kebab case.
Transform the following text to pascal case.
Transform the following text to snake case.