pub fn format_range(doc: &DocumentState, range: Range) -> Vec<TextEdit>Expand description
Range formatting: the whole-document structural format (a line’s depth
depends on the lines above it — depth is a document-level fact), filtered
to the edits whose lines intersect the requested range. Sound because
format_source is line-count preserving: every edit stays on its line.