/// - The **primary** selection is identified by the stable `primary_id`, NOT by vector position:
/// - the EDIT SET (`to_selections`, what typing / Backspace / paste apply to) is the local set, and
/// - a plain click (`set_single_cursor` / `set_single_range`) collapses the LOCAL set to one and
while suffix < shorter - prefix && ob[ob.len() - 1 - suffix] == nb[nb.len() - 1 - suffix] {