8 references to MinContextLength
PresentationFramework (8)
System\Windows\Documents\TextPointerBase.cs (8)
1412char[] preceedingText = new char[SelectionWordBreaker.MinContextLength]; 1413char[] followingText = new char[SelectionWordBreaker.MinContextLength]; 1424runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Backward), SelectionWordBreaker.MinContextLength - preceedingCount); 1428navigator.GetTextInRun(LogicalDirection.Forward, preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, runLength); 1430if (preceedingCount == SelectionWordBreaker.MinContextLength) 1443runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Forward), SelectionWordBreaker.MinContextLength - followingCount); 1449if (followingCount == SelectionWordBreaker.MinContextLength) 1460Array.Copy(preceedingText, SelectionWordBreaker.MinContextLength - preceedingCount, text, 0, preceedingCount);