Esempio n. 1
0
 /// <summary>
 /// Returns the last non-whitespace position on the given line, or null if
 /// the line is empty or contains only whitespace.
 /// </summary>
 public static int?GetLastNonWhitespacePosition(this ITextSnapshotLine line)
 {
     return(line.AsTextLine().GetLastNonWhitespacePosition());
 }