Class TextDocumentContentChangeEvent

A document content change.

This is a JS-exposed model type (dh.lsp.TextDocumentContentChangeEvent) that closely follows the Language Server Protocol text document content change event shape.

Hierarchy

  • TextDocumentContentChangeEvent

Constructors

Properties

Constructors

Properties

range: Range

The range of the document that the change applies to.

rangeLength: number

The length of the replaced range.

text: string

The replacement text.