pub fn soft_wrap_text_position( text: &str, offset: usize, max_width: usize, ) -> (usize, usize)
Returns (row, col) for byte_offset after applying the same soft-wrap rules used by soft_wrap_line.
(row, col)
byte_offset
soft_wrap_line