Readonly
charThe widget of a character in the editor in pixels.
Readonly
edgeA signal emitted when either the top or bottom edge is requested.
Readonly
hostThe DOM node that hosts the editor.
Readonly
isReadonly
lineGet the number of lines in the editor.
Readonly
lineThe height of a line in the editor in pixels.
Readonly
modelThe model used by the editor.
The uuid of this selection owner.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Get the window coordinates given a cursor position.
The desired position.
The coordinates of the position.
Get the cursor position given window coordinates.
The desired coordinate.
The position of the coordinates, or null if not contained in the editor.
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.
Optional
replace
A widget that provides a code editor.
As of JupyterLab 4.0.0, it is not possible to provide an editor that is different of CodeMirror 6.