Lines Matching refs:selection
69 // Register selection change handler for the unlink button.
145 editor.contextMenu.addListener( function( element, selection )
251 * Get the surrounding link element of current selection.
255 * The following selection will all return the link element.
269 var selection = editor.getSelection();
270 if ( selection.getType() == CKEDITOR.SELECTION_ELEMENT )
272 var selectedElement = selection.getSelectedElement();
277 var range = selection.getRanges( true )[ 0 ];
319 var selection = editor.getSelection(),
320 bookmarks = selection.createBookmarks(),
321 ranges = selection.getRanges(),
334 selection.selectRanges( ranges );
336 selection.selectBookmarks( bookmarks );