tinymce.dom.RangeUtils
This class contains a few utility methods for ranges.
Summary
Methods
compareRanges()
compareRanges(rng1: RangeObject, rng2: RangeObject): Boolean
Compares two ranges and checks if they are equal.
expand()
expand(rng: Range, options: Object): Range
Returns a range expanded around the entire word the provided selection was collapsed within.
getCaretRangeFromPoint()
getCaretRangeFromPoint(clientX: Number, clientY: Number, doc: Document): Range
Gets the caret range for the given x/y location.