mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-27 03:27:21 -06:00
A content-only edit re-reads Document::added() and marks() only when the edit itself is one that changes them. Edit::Batch has Scope::Content when all its parts do, but content_refresh_lists never looked inside it, so a batch of AddText/DeleteContent or AddWatermark edits left both lists stale until the next full refresh or undo. It now answers for its parts. Co-Authored-By: Opus 5.5 medium ultracode <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017gEgu9NcTcPqKovsLyfPxK