@jsvision/code-editor / CodeEditorWindowOptions
Interface: CodeEditorWindowOptions
Defined in: code-editor/src/ui/code-editor-window.ts:10
Construction options for standard window composition around a code editor.
Properties
controller
readonlycontroller:CodeEditorController
Defined in: code-editor/src/ui/code-editor-window.ts:11
i18n?
readonlyoptionali18n?:I18n
Defined in: code-editor/src/ui/code-editor-window.ts:13
Locale-bound service shared by the window chrome and its editor. Defaults to isolated English.
lineNumbers?
readonlyoptionallineNumbers?:boolean
Defined in: code-editor/src/ui/code-editor-window.ts:16
Shows the editor's optional fixed line-number gutter. Defaults to false.
onDocumentChange?
readonlyoptionalonDocumentChange?: () =>void
Defined in: code-editor/src/ui/code-editor-window.ts:18
Runs after an accepted editor mutation so the host can refresh language services.
Returns
void
title?
readonlyoptionaltitle?:string
Defined in: code-editor/src/ui/code-editor-window.ts:14