pub fn find_path_and_ranges_at(
    text: &str,
    index: usize
) -> (&str, BufferRangesParser<'_>)