An event describing a change to a text document. If range and rangeLength are omitted the new text is considered to be the full content of the document.

Fields

text:String

The new text for the provided range.

@:optionaloptionalrangeLength:Null<Int>

Deprecated: "use range instead."

The optional length of the range that got replaced.

@:optionaloptionalrange:Null<Range>

The range of the document that changed.