pub fn line_column(text: &str, offset: usize) -> (usize, usize)
The 1-based line and column (counted in characters) of offset in text.
offset
text