Files
wordcraft/crates/doc/src
reubgr 5d93167fe0 Doc: collect text boxes inside nested shape groups (#8068) (#8158)
* 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)
2026-12-01 11:42:20 +01:00
..
…
2026-10-28 01:06:47 +00:00
2026-10-28 01:06:47 +00:00