4 references to SearchForWordBreaks
PresentationFramework (4)
System\Windows\Documents\Speller.cs (4)
707wordBreakLeft = SearchForWordBreaks(caretPosition, LogicalDirection.Backward, language, 1, false /* stopOnError */);
708wordBreakRight = SearchForWordBreaks(caretPosition, LogicalDirection.Forward, language, 1, false /* stopOnError */);
1118outwardPosition = SearchForWordBreaks(position, direction, language, MinWordBreaksForContext, true /* stopOnError */);
1122inwardPosition = SearchForWordBreaks(position, inwardDirection, language, 1, false /* stopOnError */);