A text edit represents edits that should be applied to a document.

Constructors

Properties

newEol?: EndOfLine

The eol-sequence used in the document.

Note that the eol-sequence will be applied to the whole document.

newText: string

The string this edit will insert.

range: Range

The range this edit applies to.

Methods