mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-28 12:27:11 -06:00
- Table autofit measured every cell paragraph at an unbounded width through the paragraph cache, so a long table held two layouts per cell. The cache now keeps only the measured narrowest/widest widths (`LayoutCache::measures`, same key and eviction as the layouts). - The cache key formatted each cell's table-style text formatting with Debug for every cell paragraph on every pass; the hash is now memoised per pass. - Update Fields added the hidden ListEntry style even without a generated list, which changed the layout environment and dropped the whole cache. The style is now added only when a list is rebuilt. Co-authored-by: dfgodvan <180286157+dfgodvan@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>