- Improved
- Markdown
Anchor Markdown replace-text to the find-hit offset
markdown-replace-text accepts optional indexUtf16 from collab find so a concurrent insert cannot rewrite a different span that still has the same match count.
- Place-safe spanPass the hit indexUtf16 with occurrence or expectedMatches=1.
- Fail closed on driftA drifted offset returns mutation_match_conflict and writes nothing, even when the match count is unchanged.
- Count-only contract staysOmit indexUtf16 to keep the existing match-count replacement contract.
