Interface AnnotatedTextEdit

A special text edit with an additional change annotation.

3.16.0.

interface AnnotatedTextEdit {
    annotationId: string;
    newText: string;
    range: Range;
}

Hierarchy (View Summary)

Properties

annotationId: string

The actual identifier of the change annotation

newText: string

The string to be inserted. For delete operations use an empty string.

range: Range

The range of the text document to be manipulated. To insert text into a document create a range where start === end.