- apply
Applies the edit tree rooted by this edit to the given document. To check if the
edit tree can be ap
- addChild
Adds the given edit child to this edit.
- getLength
Returns the length of the edit. Returns -1 if the edit is marked as deleted.
- getChildren
Returns the edit's children. If the edit doesn't have any children an empty
array is returned.
- getOffset
Returns the offset of the edit. An offset is a 0-based character index. Returns
-1 if the edit is m
- hasChildren
Returns true if this edit has children. Otherwisefalse is returned.
- removeChild
Removes the first occurrence of the given child from the list of children.
- getCoverage
Returns the text range spawned by the given array of text edits. The method
requires that the given
- getExclusiveEnd
Returns the exclusive end position of this edit. The exclusive end position
denotes the next charact
- accept
Accepts the given visitor on a visit of the current edit.
- getParent
Returns the edit's parent. The method returns null if this edit hasn't been add
to another edit.
- getRegion
Returns the range that this edit is manipulating. The returnedIRegion contains
the edit's offset and