pub fn format_range(source: &str, range: Range) -> Option<Vec<TextEdit>>
Format only the lines covered by range. Extracts those lines, formats the snippet, then returns an edit targeting just that range.
range