pub fn get_span( document: &ImDocument<String>, path: &[&str], get_value: bool, ) -> Option<Range<usize>>