Interface TextDocumentContentChangeEvent

interface TextDocumentContentChangeEvent {
    range: Range;
    rangeLength: number;
    rangeOffset: number;
    text: string;
}

Properties

range: Range
rangeLength: number

The length of the range that got replaced.

rangeOffset: number

The offset of the range that got replaced.

text: string

The new text for the range.