@jsvision/code-editor / CreateCodeEditorControllerOptions
Interface: CreateCodeEditorControllerOptions
Defined in: code-editor/src/controller.ts:115
Options for one document-scoped code-editor controller.
Properties
document
readonlydocument:CodeEditorDocumentModel
Defined in: code-editor/src/controller.ts:116
host?
readonlyoptionalhost?: (effect) =>Promise<boolean>
Defined in: code-editor/src/controller.ts:117
Parameters
effect
CodeEditorControllerHostEffect
Returns
Promise<boolean>
hostEffectTimeoutMs?
readonlyoptionalhostEffectTimeoutMs?:number
Defined in: code-editor/src/controller.ts:119
Deadline for host-owned effects before the editor releases its serialized action queue.
languageResult?
readonlyoptionallanguageResult?:LocalLanguageResult
Defined in: code-editor/src/controller.ts:121
limits?
readonlyoptionallimits?:Readonly<Partial<CodeEditorLimits>>
Defined in: code-editor/src/controller.ts:122
lsp?
readonlyoptionallsp?:CodeEditorLspCoordinator
Defined in: code-editor/src/controller.ts:120
observability?
readonlyoptionalobservability?:CodeEditorObservabilityOptions
Defined in: code-editor/src/controller.ts:123