This class contains a few utility methods for ranges.
compareRanges(rng1: RangeObject, rng2: RangeObject): Boolean
Compares two ranges and checks if they are equal.
rng1 (RangeObject)- First range to compare.
rng2 (RangeObject)- First range to compare.
getCaretRangeFromPoint(clientX: Number, clientY: Number, doc: Document): Range
Gets the caret range for the given x/y location.
clientX (Number)- X coordinate for range
clientY (Number)- Y coordinate for range
doc (Document)- Document that the x and y coordinates are relative to