Пример #1
0
 /// <summary>
 /// Skips a certain number of visible lines forwards and returns the line
 /// number of the next visible line.
 /// </summary>
 /// <param name="logicalLine">The current logical line number.</param>
 /// <param name="visibleLineCount">The number of visible lines to skip.</param>
 /// <returns>
 /// The logical line number of the the next visible line.
 /// </returns>
 /// <remarks>
 ///     <para>
 /// A logical line is a line in the document, whereas a physical line is line that
 /// is rendered in the text editor. A physical line can contain multiple logical lines,
 /// for example when they are collapsed (see "folding").
 /// </para>
 ///     <para>
 /// The logical line numbers correspond with the line numbers drawn in the line-number margin.
 /// (Except that logical lines are 0-based and line-numbers drawn are 1-based.)
 /// </para>
 /// </remarks>
 public int GetNextVisibleLineAfter(int logicalLine, int visibleLineCount)
 {
     return(_lineTrackingStrategy.GetNextVisibleLineAfter(logicalLine, visibleLineCount));
 }