Expand description
Visual-mode selection helpers — renderer-neutral computation
of the highlighted range when editor.modal == Visual(_).
Phase 5.8.P: hoisted out of lattice-ui-tui::render::visual_ selection_range so both renderer peers paint the same
selection range. The TUI peer keeps its apply_match_overlay
splice; the GPUI peer paints a flex_row cell with an inverted
background. Both consume Editor::visual_selection_range.
Structs§
- Block
Extents - Rectangle defined by a Blockwise Visual selection’s
(anchor, head)positions, normalised so thatstart_line ≤ end_lineandstart_col ≤ end_col. Byte columns, not display columns — renderers fold/inlay-expand at paint time.