9 references to SelectionWordBreaker
PresentationFramework (9)
System\Windows\Documents\TextPointerBase.cs (9)
489isAtWordBoundary = SelectionWordBreaker.IsAtWordBoundary(text, position, insideWordDirection); 1414char[] preceedingText = new char[SelectionWordBreaker.MinContextLength]; 1415char[] followingText = new char[SelectionWordBreaker.MinContextLength]; 1426runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Backward), SelectionWordBreaker.MinContextLength - preceedingCount); 1430navigator.GetTextInRun(LogicalDirection.Forward, preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, runLength); 1432if (preceedingCount == SelectionWordBreaker.MinContextLength) 1445runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Forward), SelectionWordBreaker.MinContextLength - followingCount); 1451if (followingCount == SelectionWordBreaker.MinContextLength) 1462Array.Copy(preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, text, 0, preceedingCount);