8 references to MinContextLength
PresentationFramework (8)
System\Windows\Documents\TextPointerBase.cs (8)
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);