Пример #1
0
 /// <summary>
 /// Gets the line segment for a given offset.
 /// </summary>
 /// <param name="offset">A offset which points to a character in the line which
 /// is returned.</param>
 /// <returns>A <see cref="LineSegment"/> object.</returns>
 /// <remarks>
 /// Returns a <see cref="LineSegment"/> for the given offset.
 /// </remarks>
 /// <exception cref="System.ArgumentException">If offset points not to a valid position</exception>
 public LineSegment GetLineSegmentForOffset(int offset)
 {
     return(_lineTrackingStrategy.GetLineSegmentForOffset(offset));
 }