Function toggle_mark_range
pub fn toggle_mark_range(
spans: &mut Vec<MarkSpan>,
range: Range<usize>,
mark: Mark,
) -> ToggleOutcomeExpand description
Apply a toggle of mark over range: if fully covered by same-kind
spans, remove the coverage (clip/split); otherwise add a new span and
merge touching same-kind spans into one contiguous run.