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.
Functions
Open the PhraseViewPanel associated with this AvailEditor, if it's not already visible.
Open the StructureViewPanel associated with this AvailEditor.
Refresh the KeyboardShortcuts for this AvailEditor.
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.phraseViewPanel to show this information.