public static int FindLineIndex(this StringBuilder sb, int line)
 {
     return(sb.FindIndex(line, "\r"));
 }