text_lines
Information about lines of text in a string.
use TextLines;
let text = "Line 1\n\tLine 2";
let info = new; // defaults to an indent width of 4
let line_index = info.line_index; // 1
let line_and_column = info.line_and_column_index; // 1, 2
let line_and_column_display = info.line_and_column_display; // 2, 6
let info = with_indent_width;
let line_and_column_display = info.line_and_column_display; // 2, 4