TextDocumentChangeEvent class

An event describing a transactional {@link TextDocumentdocument} change.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TextDocumentChangeEvent.new({TextDocument? document, List<TextDocumentContentChangeEvent>? contentChanges, TextDocumentChangeReason? reason})
factory

Properties

contentChanges List<TextDocumentContentChangeEvent>

Available on TextDocumentChangeEvent, provided by the TextDocumentChangeEvent$Typings extension

An array of content changes.
no setter
document TextDocument

Available on TextDocumentChangeEvent, provided by the TextDocumentChangeEvent$Typings extension

The affected document.
no setter
hashCode int
The hash code for this object.
no setterinherited
reason TextDocumentChangeReason?

Available on TextDocumentChangeEvent, provided by the TextDocumentChangeEvent$Typings extension

The reason why the document was changed. Is undefined if the reason is not known.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited