IEditor | @jupyterlab (original) (raw)

Hierarchy (View Summary)

Implemented by

Index

Properties

ReadonlycharWidth

charWidth: number

ReadonlyedgeRequested

Readonlyhost

ReadonlyisDisposed

isDisposed: boolean

ReadonlylineCount

lineCount: number

ReadonlylineHeight

lineHeight: number

Readonlymodel

uuid

uuid: string

Methods

blur

clearHistory

dispose

focus

getCoordinateForPosition

The coordinates of the position.

getCursorPosition

getLine

The value of the line.

Notes

Lines are 0-based, and accessing a line out of range returnsundefined.

getOffsetAt

The offset at the position, clamped to the extent of the editor contents.

getOption

getPositionAt

The position at the offset, clamped to the extent of the editor contents.

getPositionForCoordinate

The position of the coordinates, or null if not contained in the editor.

getSelection

getSelections

getTokenAt

getTokenAtCursor

getTokens

hasFocus

injectExtension

Returns void

newIndentedLine

redo

OptionalreplaceSelection

revealPosition

revealSelection

setBaseOptions

Returns void

setCursorPosition

Returns void

setOption

Returns void

setOptions

Returns void

setSelection

setSelections

Returns void

undo