Replace starting inside an atom no longer crashes (ATC-200) #4
Loading…
Reference in a new issue
No description provided.
Delete branch "replace-atom-start"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/ATC-200
Replacegiven a range that starts inside an atom removed the atom whole (asremovedoes), but then put the cursor at the original start offset in the shortened line. That offset could be past the line's end, and theinsertthat followed panicked. Found by the random-edit run behind the layout cache (composer #3).Replacesnaps its start to the atom's start before removing, and puts the cursor there.TestReplaceStartingInsideAnAtomTakesItWhole, which panicked before the fix.🤖 Generated with Claude Code