An event describing a transactional {@link TextDocument document} change.

Fields

@:optionaloptionalread onlyreason:Null<TextDocumentChangeReason>

The reason why the document was changed. Is undefined if the reason is not known.

read onlydocument:TextDocument

The affected document.

read onlycontentChanges:ReadOnlyArray<TextDocumentContentChangeEvent>

An array of content changes.