Skip to main content

TextDocumentContentChangeEvent

interface

An event describing an individual change in the text of a document.

interface TextDocumentContentChangeEvent

Import

import { TextDocumentContentChangeEvent } from '@modular/sdk';

Members4

range
Range

The range that got replaced.

rangeLength
number

The length of the range that got replaced.

rangeOffset
number

The offset of the range that got replaced.

text
string

The new text for the range.