Add keyboard actions to this control using the Configuration we have
This is revised to properly use InputMap and ActionMap of the component
instead of using the KeyMaps directly.
Display the Completion Dialog with initial abbrev and using the given items
The dialog is responsible for showing itself and for updating the target
with the text, depending on user actions.
Data that is shared by Find / Replace and Find Next actions for a Document
The data here will be added as a property of the Document using the key
PROPERTY_KEY.
Searches all actions of a JTextComponent for ab action of the given class and returns
the first one that matches that class, or null if no Action is found
A Pair action inserts a pair of characters (left and right) around the
current selection, and then places the caret between them
The pairs are hard-coded here.
the pair value to use if this token is one of a pair:
This is how it is used:
The openning part will have a positive number X
The closing part will have a negative number X
X should be unique for a pair:
e.g.
Read a file in the META-INF/services named name appended with
".properties", and returns it as a Map
If no file is found, then a an empty Property instance will be returned
Register the given content type to use the given class name as its kit
When this is called, an entry is added into the private HashMap of the
registered editors kits.
Executes the script in the component's text using a ScriptEngine
The Configuration must contain the key [prefix.]ACTION_NAME.ScriptExtension
and its value is the ScriptExtension that getEngineByExtension returns
If no engine is found, then an option is given to the user to disable the action
This action replaces the selection with the configured template in
the config ACTION-NAME.Template
There are two kinds of templates:
Simple Templates are replaced as is
Whole Line Templates will ensure a whole line is selected.
This Action will Toggle any SyntaxComponents on the EditorPane
You need the configuration Key prefix.ACTION_NAME.Component = componentclassname
Where:
ACTION_NAME is the name given to the action (prefix.Action.ACTION_NAME)
componentclassname is the fully qualified class name of the component