ChangeSet
A change set represents a group of modifications to a document. It stores the document length, and can only be applied to documents with exactly that length.
Properties
Get a change description for this change set.
Get a description of the inverted form of these changes.
Functions
Compute the combined effect of applying another set of changes after this one. The length of the document after this set should match the length before other.
Map a given position through these changes, to produce a position pointing into the new document.
Map a given position through these changes. Returns null if the position was deleted according to the given mode.
Serialize this change set to a JSON-representable value.
Check whether these changes touch a given range. When one of the changes entirely covers the range, the string "cover" is returned.