7 references to GetLineIndexFromOffset
PresentationFramework (7)
MS\Internal\Documents\TextBoxView.cs (7)
654firstLineIndex = Math.Max(firstLineIndex, GetLineIndexFromOffset(startOffset, LogicalDirection.Forward)); 655lastLineIndex = Math.Min(lastLineIndex, GetLineIndexFromOffset(endOffset, LogicalDirection.Backward)); 1649return GetLineIndexFromOffset(position.Offset, position.LogicalDirection); 1655return GetLineIndexFromOffset(position.Offset, direction); 1888int firstLineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward); 1890int lastLineIndex = GetLineIndexFromOffset(endOffset, LogicalDirection.Backward); 2337int lineIndex = GetLineIndexFromOffset(range.StartIndex, LogicalDirection.Forward);