mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-28 04:36:51 -06:00
view.freezePanes, home.rowHeight, home.columnWidth, the AutoFit, Hide and Unhide row/column commands and home.defaultWidth always changed the active sheet: a `sheet` parameter was silently ignored, so a programmatic caller laying out a sheet that isn't active changed the wrong one, and `Sheet!` prefixes on `rows`/`cols` were refused as "not a range". They now take `sheet` (name or index) like the commands that already use target_sheet, accept a `Sheet!` prefix on `rows`/`cols` (and on Freeze Panes' `cell`, which was refused), and refuse a prefix that contradicts `sheet`. The selection belongs to the active sheet, so another sheet needs explicit lines or a cell. Freeze Top Row, Freeze First Column and Unfreeze Panes take `sheet` too. Without `sheet`, nothing changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>