Represents a list os CKEDITOR.dom.range objects, which can be easily iterated sequentially.
Creates a rangeList class instance.
- ranges : CKEDITOR.dom.range/CKEDITOR.dom.range (optional)
The ranges contained on this list. Note that, if an array of ranges is specified, the range sequence should match its DOM order. This class will not help to sort them.
Creates an instance of the rangeList iterator, it should be used only when the ranges processing could be DOM intrusive, which means it may pollute and break other ranges in this list. Otherwise, it's enough to just iterate over this array in a for loop.
Move each range in the list to the position specified by a list of bookmarks.
- bookmarks : Array
The list of bookmarks, each one matching a range in the list.