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