- walker[ matchWord ? 'guard' : 'evaluator' ] =\r
- guardDomWalkerNonEmptyTextNode;\r
- walker.breakOnFalse = true;\r
+ walker.guard = matchWord ? nonCharactersBoundary : function( node )\r
+ {\r
+ !nonCharactersBoundary( node ) && ( self._.matchBoundary = true );\r
+ };\r
+ walker[ 'evaluator' ] = findEvaluator;\r
+ walker.breakOnFalse = 1;\r
+\r
+ if ( range.startContainer.type == CKEDITOR.NODE_TEXT )\r
+ {\r
+ this.textNode = range.startContainer;\r
+ this.offset = range.startOffset - 1;\r
+ }\r