Skip to content

@jsvision/code-editor / CodeEditorFrame

Interface: CodeEditorFrame

Defined in: code-editor/src/ui/projection.ts:27

Immutable viewport projection produced without a DOM or terminal serialization.

Properties

actions

readonly actions: readonly string[]

Defined in: code-editor/src/ui/projection.ts:31


caret

readonly caret: object

Defined in: code-editor/src/ui/projection.ts:29

visible

readonly visible: boolean

x

readonly x: number

y

readonly y: number


cells

readonly cells: readonly readonly CodeEditorProjectedCell[][]

Defined in: code-editor/src/ui/projection.ts:28


cellSignature

readonly cellSignature: string

Defined in: code-editor/src/ui/projection.ts:32


precedence

readonly precedence: readonly string[]

Defined in: code-editor/src/ui/projection.ts:30

Methods

cellAtDocumentOffset()

cellAtDocumentOffset(offset): CodeEditorProjectedCell | undefined

Defined in: code-editor/src/ui/projection.ts:33

Parameters

offset

number

Returns

CodeEditorProjectedCell | undefined