mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-02 02:37:26 -06:00
* fix(doc): collect text boxes inside nested shape groups (#8068) Walk InlineObject::Group trees iteratively in member order in both InlineObject::text_boxes and InlineObject::text_box_slots so text boxes nested inside groups of groups are collected, kept alive by Document::prune_text_boxes, and repointed consistently during fragment adoption and comparison. * test(doc,engine): cover nested-group text box collection, pruning and Session survival (#8068) Add wordcraft-doc unit tests for nested-group text_boxes and text_box_slots collection across depths 1..40, prune_text_boxes preservation with chain links and unreachable boxes, and cyclic nested-group story termination. Add an end-to-end wordcraft-engine Session test verifying nested-group text boxes survive mutating commands and copy/paste adoption. * test(doc): flatten text_box_slots iterator to satisfy clippy (#8068)