예제 #1
0
 /// <summary>
 /// Counts number of line breaks between position and the nearest
 /// non-whitespace character that follows the position
 /// </summary>
 public static int LineBreaksAfterPosition(this ITextProvider textProvider, int position)
 {
     return(textProvider.LineBreaksAfterPosition(position, textProvider.Length));
 }