public/ckeditor/4.4dev/plugins/find/dialogs/find.js
function() {
					// Do not apply if nothing is found.
					if ( this._.cursors.length < 1 )
						return;

					// Remove the previous highlight if there's one.
					if ( this._.highlightRange )
						this.removeHighlight();

					// Apply the highlight.
					var range = this.toDomRange(),
						bookmark = range.createBookmark();
					highlightStyle.applyToRange( range, editor );
					range.moveToBookmark( bookmark );
					this._.highlightRange = range;

					// Scroll the editor to the highlighted area.
					var element = range.startContainer;
					if ( element.type != CKEDITOR.NODE_ELEMENT )
						element = element.getParent();
					element.scrollIntoView();

					// Update the character cursors.
					this.updateFromDomRange( range );
				}
function() {
					// Do not apply if nothing is found.
					if ( this._.cursors.length < 1 )
						return;

					// Remove the previous highlight if there's one.
					if ( this._.highlightRange )
						this.removeHighlight();

					// Apply the highlight.
					var range = this.toDomRange(),
						bookmark = range.createBookmark();
					highlightStyle.applyToRange( range, editor );
					range.moveToBookmark( bookmark );
					this._.highlightRange = range;

					// Scroll the editor to the highlighted area.
					var element = range.startContainer;
					if ( element.type != CKEDITOR.NODE_ELEMENT )
						element = element.getParent();
					element.scrollIntoView();

					// Update the character cursors.
					this.updateFromDomRange( range );
				}
function ( ) { // Do not apply if nothing is found.
 if ( this . _ . cursors . length < 1 ) return ; // Remove the previous highlight if there's one.
 if ( this . _ . highlightRange ) this . removeHighlight ( ) ; // Apply the highlight.
 var range = this . toDomRange ( ) , bookmark = range . createBookmark ( ) ; highlightStyle . applyToRange ( range , editor ) ; range . moveToBookmark ( bookmark ) ; this . _ . highlightRange = range ; // Scroll the editor to the highlighted area.
 var element = range . startContainer ; if ( element . type != CKEDITOR . NODE_ELEMENT ) element = element . getParent ( ) ; element . scrollIntoView ( ) ; // Update the character cursors.
 this . updateFromDomRange ( range ) ; }
Hightlight the current matched chunk of text.
Hightlight the current matched chunk of text .