mirror of
https://github.com/outline/outline.git
synced 2026-11-21 13:34:02 +03:00
* fix: Shift-click table grips to select a range of rows or columns Shift or cmd clicking a second row or column grip now extends the selection to cover every row or column in between. Track the anchor and head index on RowSelection and ColumnSelection so every grip in the range highlights, and a cell that spans rows or columns no longer pulls its neighbours into the selection. The inline selection menu collapsed the selection on pointerdown, before the grip handler could read it, so there was nothing left to extend. Leave the selection alone when the interaction is on a grip. Hide the insert and move items in the row and column menus when the selection covers more than one row or column, as they act on a single row or column. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix: Take the selected row and column range from the selection selectedRect grows past the selected rows or columns when a cell spans them, so read the range from the selection where it is known. Keeps the menus and the commands that act on a selection in step with the range the grips highlight. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>