Code Index | File Index

Namespaces

Classes


Class CKEDITOR.dom.rangeList


Defined in: core/dom/rangelist.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents a list os CKEDITOR.dom.range objects, which can be easily iterated sequentially.
Method Summary
Method Attributes Method Name and Description
 
createBookmarks(serializable)
 
createBookmarks2(normalized)
 
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.
 
moveToBookmarks(bookmarks)
Move each range in the list to the position specified by a list of bookmarks.
Class Detail
CKEDITOR.dom.rangeList(ranges)
Since: 3.0
Represents a list os CKEDITOR.dom.range objects, which can be easily iterated sequentially.
NO EXAMPLE AVAILABLE
Parameters:
{CKEDITOR.dom.range|Array} ranges 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.
Method Detail
{Undefined} createBookmarks(serializable)
Since: 3.0
NO EXAMPLE AVAILABLE
Parameters:
{Undefined} serializable

{Undefined} createBookmarks2(normalized)
Since: 3.0
NO EXAMPLE AVAILABLE
Parameters:
{Undefined} normalized

{CKEDITOR.dom.rangeListIterator} createIterator()
Since: 3.0
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.
NO EXAMPLE AVAILABLE
Returns:
{CKEDITOR.dom.rangeListIterator}

{Undefined} moveToBookmarks(bookmarks)
Since: 3.0
Move each range in the list to the position specified by a list of bookmarks.
NO EXAMPLE AVAILABLE
Parameters:
{Array} bookmarks
The list of bookmarks, each one matching a range in the list.

Copyright © 2003-2010, CKSource - Frederico Knabben. All rights reserved.