Skip to main content

Interface: TextDocumentContentChangeEvent

libs/common/ide/types/Events.TextDocumentContentChangeEvent

An event describing an individual change in the text of a document.

Hierarchy

Properties

range

Readonly range: Range

The range that got replaced.

Defined in

libs/common/ide/types/Events.ts:31


rangeLength

Readonly rangeLength: number

The length of the range that got replaced.

Defined in

libs/common/ide/types/Events.ts:41


rangeOffset

Readonly rangeOffset: number

The offset of the range that got replaced.

Defined in

libs/common/ide/types/Events.ts:36


text

Readonly text: string

The new text for the range.

Defined in

libs/common/ide/types/Events.ts:46