mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-24 11:21:39 +01:00
Main's per-host rewrites (form-control links in `rewrite_cell_links`, the per-formula loops in
sheet deletion) fold into `Workbook::rewrite_references`, which now also visits form controls'
linked cells and keeps a formula's stored text when its tree is unchanged (main's 9ab297ce).
Validation rules use main's `subtract_ranges` in `remove_rule_cells`; Paste Special keeps
main's general fit check and `paste_validations`, a cut moving its rules with `move_cut_rules`.
Review fixes folded in: renaming a sheet copies only the sheets holding a PivotChart linked to
it, so the rest stay shared with undo snapshots; tests for that and for Python `xl()`
references following name and table renames; the walker's doc comment and
docs/architecture.md say what it visits and what it does not.