I implemented multiple selection, but only addition. A cell may be selected multiple times, it must be considered when using.
- CTRL + CLICK: add to current cell selection
- SHIFT + CLICK: adjusted current selection size
- CTRL + DRAG: add selected cells to current selection
- SHIFT + DRAG: add selected cells to current selection
TODO:
- CTRL + CLICK / DRAG on selected cells: unselect
- Merge selected ranges
I see two solutions for unselect:
- split ranges around unselected cell
- count the number of times the cell is selected: pair = unselected, odd = selected
it is not urgent for me, but I'll have to do. So I'll share