-
-
Notifications
You must be signed in to change notification settings - Fork 457
Description
With a cell selected in a sheet, try the following keyboard shortcuts:
- Shift+Up
- Shift+Down
- Shift+Left
- Shift+Right
These keyboard shortcuts should grow/shrink a cell selection range. But they don't yet work.
In your browser console, notice a log message like this:
Sheet selection resizing is not yet implemented
I had previously set up the event handlers for this shortcut but not finished implementing the selection mutation. This should be a pretty straightforward task for someone to pick up from here.
At the bottom of SheetSelection.ts, you can find the code location for this log statement. Finish implementing the resized method, as described in the comment. Play with Google Sheets to get a good understanding of how Shift+Arrow keys work. Pay particular attention to the (literal!) edge cases when the selection has reached the edge of the sheet.