pub fn split_lines(text: &str) -> Vec<(usize, &str)>
Split text into lines (by ‘\n’), returning each line’s text and the global char index where it starts.