RangeRefobjects keep a specific range in a document synced over time as new operations are applied to the editor. You can access their property
currentat any time for the up-to-date
Rangevalue. When you no longer need to track this location, call
unref()to free the resources.
unRef() => Range
RangeRef.transform(ref: RangeRef, op: Operation)
op. The editor calls this as needed, so normally you won't need to.