7 references to GetLineIndexFromOffset
PresentationFramework (7)
MS\Internal\Documents\TextBoxView.cs (7)
661firstLineIndex = Math.Max(firstLineIndex, GetLineIndexFromOffset(startOffset, LogicalDirection.Forward)); 662lastLineIndex = Math.Min(lastLineIndex, GetLineIndexFromOffset(endOffset, LogicalDirection.Backward)); 1656return GetLineIndexFromOffset(position.Offset, position.LogicalDirection); 1662return GetLineIndexFromOffset(position.Offset, direction); 1895int firstLineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward); 1897int lastLineIndex = GetLineIndexFromOffset(endOffset, LogicalDirection.Backward); 2344int lineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward);