models/events/cell_selection_events
library
Classes
-
ClearCellSelectionEvent
-
Clears the focused-cells path entirely.
-
CopyCellsEvent
-
Copies the values of all focused cells to the system clipboard as TSV.
Cells are sorted by display-order row, then by column index.
Returns
null — no state change, side-effect only.
-
FocusCellEvent
-
Focuses a single cell, replacing the entire focused-cells path.
Dispatched on a plain click (no modifiers).
-
NavigateCellEvent
-
Navigates focus to an adjacent cell, with optional path extension.
-
SetFocusedCellsEvent
-
Replaces the focused-cells path with the given list.
No SelectionMode guard — works regardless of mode.
-
ShiftSelectCellEvent
-
Appends a cell to the focused-cells path (Shift+click).
If the cell is already the last in the path, this is a no-op.
Preserves all previously focused cells.
-
ToggleCellInSelectionEvent
-
Toggles a cell in/out of the focused-cells path (Ctrl+click).
Adds the cell if absent, removes it if present.