TextEditorEdit class

A complex edit that will be applied in one transaction on a TextEditor. This holds a description of the edits and if the edits are valid (i.e. no overlapping regions, document was not changed in the meantime, etc.) they can be applied on a {@link TextDocumentdocument} associated with a {@link TextEditortext editor}.

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

Constructors

TextEditorEdit({void replace(Object, String)?, void insert(Position, String)?, void delete(Object)?, void setEndOfLine(EndOfLine)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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