pub fn click_selection(
selected: &BTreeSet<usize>,
anchor: Option<usize>,
order: &[usize],
pos: usize,
mode: Selection,
shift: bool,
toggle: bool,
) -> (BTreeSet<usize>, Option<usize>)Expand description
The rows selected after a click on the row shown at pos of order (shift: the range from
anchor; toggle: ctrl or cmd, add or remove the row). Returns the selection and the new
anchor.