8 references to MinContextLength
PresentationFramework (8)
src\Framework\System\Windows\Documents\TextPointerBase.cs (8)
1419
char[] preceedingText = new char[SelectionWordBreaker.
MinContextLength
];
1420
char[] followingText = new char[SelectionWordBreaker.
MinContextLength
];
1431
runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Backward), SelectionWordBreaker.
MinContextLength
- preceedingCount);
1435
navigator.GetTextInRun(LogicalDirection.Forward, preceedingText, SelectionWordBreaker.
MinContextLength
- preceedingCount, runLength);
1437
if (preceedingCount == SelectionWordBreaker.
MinContextLength
)
1450
runLength = Math.Min(navigator.GetTextRunLength(LogicalDirection.Forward), SelectionWordBreaker.
MinContextLength
- followingCount);
1456
if (followingCount == SelectionWordBreaker.
MinContextLength
)
1467
Array.Copy(preceedingText, SelectionWordBreaker.
MinContextLength
- preceedingCount, text, 0, preceedingCount);