pub fn find_line_range_at(text: &Rope, cursor_byte: usize) -> Range<usize>
Returns the byte range of the full line containing cursor_byte, including any trailing line terminator (\n or \r\n).
cursor_byte
\n
\r\n