A text edit to apply to a document.

This is a JS-exposed model type (dh.lsp.TextEdit) that closely follows the Language Server Protocol text edit shape.

Hierarchy

  • TextEdit

Constructors

Properties

Constructors

Properties

range: Range

The range of the document to replace.

text: string

The replacement text.