Construct a CodeMirror editor.
ReadonlyedgeA signal emitted when either the top or bottom edge is requested.
ReadonlyhostThe 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;
The uuid of this selection owner.
Get the window coordinates given a cursor position.
Get the cursor position given window coordinates.
The desired coordinate.
The position of the coordinates, or null if not contained in the editor.
Returns the primary selection, never null.
Gets the selections for all the cursors, never null or empty.
Get the token at a given editor position.
Get the token a the cursor position.
Get a list of tokens for the current editor text content.
ProtectedonProtectedonHandle 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.
CodeMirror editor.