Removes a tracked change from the collection. Depending on the accept parameter the change is either accepted or rejected. When a change is rejected, inserted text is removed and deleted text is reinserted.

<void> TrackedChangeCollection.remove(<TrackedChange> trackedChange, <boolean> accept, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
trackedChange The removing tracked change.
accept Specifies the tracked change to remove.
callback Optional. Receives as parameter whether the change could be removed.
errorCallback Optional. Is called when the operation failed with an error.

Further Reading

Learn more about the Javascript: TrackedChangeCollection.remove Method in the Text Control Blog: