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