public/ckeditor/4.4dev/plugins/find/dialogs/find.js
function( range, matchWord ) {
					var self = this;
					var walker = new CKEDITOR.dom.walker( range );
					walker.guard = matchWord ? nonCharactersBoundary : function( node ) {
						!nonCharactersBoundary( node ) && ( self._.matchBoundary = true );
					};
					walker[ 'evaluator' ] = findEvaluator;
					walker.breakOnFalse = 1;

					if ( range.startContainer.type == CKEDITOR.NODE_TEXT ) {
						this.textNode = range.startContainer;
						this.offset = range.startOffset - 1;
					}

					this._ = {
						matchWord: matchWord,
						walker: walker,
						matchBoundary: false
					};
				}
function( range, matchWord ) {
					var self = this;
					var walker = new CKEDITOR.dom.walker( range );
					walker.guard = matchWord ? nonCharactersBoundary : function( node ) {
						!nonCharactersBoundary( node ) && ( self._.matchBoundary = true );
					};
					walker[ 'evaluator' ] = findEvaluator;
					walker.breakOnFalse = 1;

					if ( range.startContainer.type == CKEDITOR.NODE_TEXT ) {
						this.textNode = range.startContainer;
						this.offset = range.startOffset - 1;
					}

					this._ = {
						matchWord: matchWord,
						walker: walker,
						matchBoundary: false
					};
				}
function ( range , matchWord ) { var self = this ; var walker = new CKEDITOR . dom . walker ( range ) ; walker . guard = matchWord ? nonCharactersBoundary : function ( node ) { ! nonCharactersBoundary ( node ) && ( self . _ . matchBoundary = true ) ; } ; walker [ 'evaluator' ] = findEvaluator ; walker . breakOnFalse = 1 ; if ( range . startContainer . type == CKEDITOR . NODE_TEXT ) { this . textNode = range . startContainer ; this . offset = range . startOffset - 1 ; } this . _ = { matchWord : matchWord , walker : walker , matchBoundary : false } ; }
Iterator which walk through the specified range char by char. By default the walking will not stop at the character boundaries, until the end of the range is encountered. @param { CKEDITOR.dom.range } range @param {Boolean} matchWord Whether the walking will stop at character boundary.
Iterator which walk through the specified range char by char . By default the walking will not stop at the character boundaries until the end of the range is encountered .