7 references to GetLineIndexFromOffset
PresentationFramework (7)
MS\Internal\Documents\TextBoxView.cs (7)
660firstLineIndex = Math.Max(firstLineIndex, GetLineIndexFromOffset(startOffset, LogicalDirection.Forward)); 661lastLineIndex = Math.Min(lastLineIndex, GetLineIndexFromOffset(endOffset, LogicalDirection.Backward)); 1655return GetLineIndexFromOffset(position.Offset, position.LogicalDirection); 1661return GetLineIndexFromOffset(position.Offset, direction); 1894int firstLineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward); 1896int lastLineIndex = GetLineIndexFromOffset(endOffset, LogicalDirection.Backward); 2343int lineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward);