Construct a CodeMirror editor.
Private
_configuratorPrivate
_editorPrivate
_evtHandle blur
events for the editor.
Private
_evtHandle focus
events for the editor.
Private
_isPrivate
_languagePrivate
_languagesPrivate
_modelPrivate
_onHandles a cursor activity event.
Private
_onHandles document changes.
Private
_onHandles a mime type change.
Private
_toConvert an editor position to a code mirror position.
Private
_toConvert a code mirror position to an editor position.
Private
_toConverts a code mirror selection to an editor selection.
Private
_uuidReadonly
edgeA signal emitted when either the top or bottom edge is requested.
Readonly
hostThe DOM node that hosts the editor.
The widget of a character in the editor in pixels.
Get the codemirror doc wrapped by the widget.
Get the codemirror editor wrapped by the editor.
Tests whether the editor is disposed.
Get the number of lines in the editor.
The height of a line in the editor in pixels.
Returns a model for this editor.
The uuid of this editor;
Alpha
Experimental
Inject an extension into the editor
CodeMirror 6 extension
Protected
onProtected
onHandle keydown events from the editor.
Set config options for the editor.
This method is preferred when setting several options. The options are set within an operation, which only performs the costly update at the end, and not after every option is set.
Generated using TypeDoc
CodeMirror editor.