pub fn lsp_range_to_char_range(
    range: Range,
    rope: Rope
) -> Option<Range<CharOffset>>