Skip to content

@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?

readonly optional confirmLargeDocument?: (details) => boolean

Defined in: code-editor/src/document/model.ts:35

Parameters

details

LargeDocumentDetails

Returns

boolean


languageId?

readonly optional languageId?: CodeEditorLanguageId

Defined in: code-editor/src/document/model.ts:31


limits?

readonly optional limits?: DocumentLimits

Defined in: code-editor/src/document/model.ts:34


readOnly?

readonly optional readOnly?: boolean

Defined in: code-editor/src/document/model.ts:32


tabSize?

readonly optional tabSize?: number

Defined in: code-editor/src/document/model.ts:33


text

readonly text: string

Defined in: code-editor/src/document/model.ts:29


uri?

readonly optional uri?: string

Defined in: code-editor/src/document/model.ts:30