Files
pdfcraft/crates/engine/src/edit
KenM76andClaude Opus 5.5 d3c615dd9b fix(bookmarks): report tagged headings cut by a limit; renest through children
bookmark_suggest's structure path always said truncated: false, though
pdfcraft_a11y::headings stops silently at 10000 headings, at a tree nested
past 256 levels and after a million visits. headings_with_truncation
returns the same list and whether one of those limits stopped the walk
where a heading could have been; headings keeps its signature and output.
The heading cap is now checked when a heading is met, so exactly 10000
headings is not reported as cut.

The tool description told callers to edit levels; a suggested bookmark has
no level and bookmark_import refuses one. It now says to move bookmarks
into or out of children.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 19:43:07 -05:00
..