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