pub fn offset_to_utf16_line_col(text: &str, offset: usize) -> (u32, u32)
Converts a byte offset into (line, column_utf16) coordinates.
(line, column_utf16)
Offsets beyond the end of the document are clamped to the last valid position.