TextDocumentContentChangeEvent class

An event describing an individual change in the text of a {@link TextDocumentdocument}.

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

Constructors

TextDocumentContentChangeEvent({Range? range, num? rangeOffset, num? rangeLength, String? text})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
range Range

Available on TextDocumentContentChangeEvent, provided by the TextDocumentContentChangeEvent$Typings extension

The range that got replaced.
no setter
rangeLength num

Available on TextDocumentContentChangeEvent, provided by the TextDocumentContentChangeEvent$Typings extension

The length of the range that got replaced.
no setter
rangeOffset num

Available on TextDocumentContentChangeEvent, provided by the TextDocumentContentChangeEvent$Typings extension

The offset of the range that got replaced.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String

Available on TextDocumentContentChangeEvent, provided by the TextDocumentContentChangeEvent$Typings extension

The new text for the range.
no setter

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