7 references to GetLineIndexFromOffset
PresentationFramework (7)
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
709
firstLineIndex = Math.Max(firstLineIndex,
GetLineIndexFromOffset
(startOffset, LogicalDirection.Forward));
710
lastLineIndex = Math.Min(lastLineIndex,
GetLineIndexFromOffset
(endOffset, LogicalDirection.Backward));
1696
return
GetLineIndexFromOffset
(position.Offset, position.LogicalDirection);
1702
return
GetLineIndexFromOffset
(position.Offset, direction);
1935
int firstLineIndex =
GetLineIndexFromOffset
(range.StartIndex, LogicalDirection.Forward);
1937
int lastLineIndex =
GetLineIndexFromOffset
(endOffset, LogicalDirection.Backward);
2382
int lineIndex =
GetLineIndexFromOffset
(range.StartIndex, LogicalDirection.Forward);