Class CodePureEditor
java.lang.Object
com.codename1.ui.editor.PureEditor
com.codename1.ui.editor.CodePureEditor
The pure code editor backend. It maps the code editor command / query vocabulary onto a
CodeView,
parsing the diagnostics and completion payloads that arrive over the string command channel back into
CodeDiagnostic / CodeCompletion objects.-
Constructor Summary
ConstructorsConstructorDescriptionCodePureEditor(EditorHost host, String editorType) Creates a code editor backend. -
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes a one way command.protected EditorViewcreateView(EditorHost host, boolean codeMode) Creates the editor view.Methods inherited from class PureEditor
getView, isCodeMode, query, view
-
Constructor Details
-
CodePureEditor
Creates a code editor backend.
-
-
Method Details
-
createView
Description copied from class:PureEditorCreates the editor view. Subclasses override to supply a code or rich text view.- Overrides:
createViewin classPureEditor
-
cmd
Description copied from class:PureEditorExecutes a one way command. Unknown commands are ignored so subclasses can add vocabulary without breaking the base.
Parameters
-
name: the command name -
arg: the optional argument, may be null
- Overrides:
cmdin classPureEditor
-
-