Avail Editor
An editor for an Avail source module. Currently supports:
Basic editing.
Basic undo/redo.
Template expansion, with prefix shortening and explicit single caret positioning.
Syntax highlighting.
Go to line/column.
Open structure view.
Author
Mark van Gulik
Todd L Smith
Parameters
The owning AvailWorkbench.
The ModuleName of the module being opened in the editor.
Action to perform after text has been loaded to sourcePane.
Constructors
Construct an AvailEditor.
Types
A class that maintains the position of a ModuleManifestEntry even as the underlying StyledDocument is edited.
Properties
Functions
Open the PhraseView associated with this AvailEditor, if it's not already visible.
Open the StructureView associated with this AvailEditor.
Refresh the KeyboardShortcuts for this AvailEditor.
Either places the given component inside a JScrollPane or answers the JScrollPane that it's already inside.
Compute the sequence of nested send phrases that describe how the selected token ended up being embedded in the final parse structure. Update the AvailWorkbench.phraseView to show this information.