Interface InsertReplaceEdit

A special text edit to provide an insert and a replace operation.

3.16.0

interface InsertReplaceEdit {
    insert: Range;
    newText: string;
    replace: Range;
}

Properties

insert: Range

The range if the insert is requested

newText: string

The string to be inserted.

replace: Range

The range if the replace is requested.