@jsvision/code-editor / CreateDocumentModelOptions
Interface: CreateDocumentModelOptions
Defined in: code-editor/src/document/model.ts:28
Initial state for one in-memory code-editor document.
Properties
confirmLargeDocument?
readonlyoptionalconfirmLargeDocument?: (details) =>boolean
Defined in: code-editor/src/document/model.ts:35
Parameters
details
Returns
boolean
languageId?
readonlyoptionallanguageId?:CodeEditorLanguageId
Defined in: code-editor/src/document/model.ts:31
limits?
readonlyoptionallimits?:DocumentLimits
Defined in: code-editor/src/document/model.ts:34
readOnly?
readonlyoptionalreadOnly?:boolean
Defined in: code-editor/src/document/model.ts:32
tabSize?
readonlyoptionaltabSize?:number
Defined in: code-editor/src/document/model.ts:33
text
readonlytext:string
Defined in: code-editor/src/document/model.ts:29
uri?
readonlyoptionaluri?:string
Defined in: code-editor/src/document/model.ts:30