pub fn line_col_to_offset( source: &str, line: usize, col: usize, ) -> Option<usize>
Convert line and column numbers to a byte offset
Line and column are 0-indexed. Returns None if out of bounds.