7 references to GetLineIndexFromOffset
PresentationFramework (7)
MS\Internal\Documents\TextBoxView.cs (7)
705
firstLineIndex = Math.Max(firstLineIndex,
GetLineIndexFromOffset
(startOffset, LogicalDirection.Forward));
706
lastLineIndex = Math.Min(lastLineIndex,
GetLineIndexFromOffset
(endOffset, LogicalDirection.Backward));
1698
return
GetLineIndexFromOffset
(position.Offset, position.LogicalDirection);
1704
return
GetLineIndexFromOffset
(position.Offset, direction);
1937
int firstLineIndex =
GetLineIndexFromOffset
(range.StartIndex, LogicalDirection.Forward);
1939
int lastLineIndex =
GetLineIndexFromOffset
(endOffset, LogicalDirection.Backward);
2386
int lineIndex =
GetLineIndexFromOffset
(range.StartIndex, LogicalDirection.Forward);