Repository navigation
fix: correct text handling and collaboration edge cases - #1463
Merged
Merged
Conversation
A block without a marker cleared the one of the list item around it, and a page that reconnected under its client id restarted its presence sequence, which the others then dropped as stale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FW6WZaPR7xEYsPJzpDPAHc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Generated with Claude Code
Fix seven reproduced edge cases found while reviewing all 77 PRs merged November 28–December 4, through #1462 (
12687904). Also shorten and correct the collaboration design to match the implemented API. Each behavioral finding was checked with a failing test or minimal reproducer before the fix, then verified after it.1.item caused the next unrelated paragraph or heading to read as1. After. Clear its unused marker at the block boundary.3.9and fractional offsets were silently truncated. Check the JSON version value and reject invalid offsets before rebasing can convert them to integers; rejection preserves text and revision.abc, insertingXthrough its created name and a late!through its numeric id producedXab!c. Compare aliases while transforming, producingXabc!, preserving the submitted id spelling and detecting removal conflicts. Tested in both directions.PDF selection geometry (#1461, merged during review): hidden pages were fitted before they had measurable geometry and never retried. Defer fitting and handle page-change events. The regression fails two checks on the original script and passes all 95 annotation checks with the fix.
The documentation now shows
apply/revision, the actual creation-id spelling, current component responsibilities and deferredDocument::editdeprecation; removes the obsolete gap table and settled questions.Validation:
odr_test, Python and JNI bindings incmake-build-relwithdebinfo.OldMs.doc*:Text.*:HtmlEditSession.*:EditTransform.*:PdfFont.*:DocumentParser.*:SfntFont.*); these counts overlap.scripts/formatandgit diff --check.The full corpus suite, Swift/Android device tests and the complete cross-platform CI matrix were not run locally. CI/platform and reference-output pin changes received static review; no claim of a fresh visual comparison of the entire reference corpus.
Review ledger: all 77 merged PRs
Reviewed changes and their interactions for correctness, consistency and unnecessary complexity. “No additional confirmed finding” means no further patch justified by the review and checks above, not a guarantee of defect-free code.