mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-26 11:08:48 -06:00
Follow-up to threading by /IRT reference, from review: - An /IRT that reaches no listed comment (the annotation itself, a loop, a pop-up, an object no page lists) left the annotation a reply shown nowhere, though still counted. `link_replies` now settles the links in both readers (inspect on open, the engine's list after an edit): a reply keeps its parent only when the chain reaches a comment within 64 steps, and anything else stays a comment of its own. - A reply to a reply was never shown in the Comments panel (only comment_list followed the chain, #806), but the new header line counted it. The panel now files every text reply under the comment its thread starts from (`thread_tops`); a status or checkmark stays with the annotation it was set on. - A Replace Text caret (/RT /Group) is grouped with its strikeout, not a reply to it, so the header no longer counts it (new `grouped` field on both readers). - The engine summary and comment_list gather replies once instead of rescanning every annotation per reply (quadratic on large reviews). - Inspect takes the first listing in page order instead of a min over an unordered map. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>