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