Fix selectByLine at wrap boundaries, add movement tests #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-vertical-cursor-wrap-boundary"
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?
Summary
selectByLineto return a proper cursor with assoc (instead of a zero-length range) when the selection collapses, so subsequent vertical moves resolve to the correct visual line at wrap boundaries.selectLineDown/selectLineUpboundary behavior and wrapped-line multi-step movement sequences.Test plan
node bin/cm.js testin the dev monorepo (all tests pass, only pre-existing bidi failures remain)🤖 Generated with Claude Code
Do not send me LLM PRs please. I don't have time for them, and I'll resent you for imposing that nonsense on me.
Sent accidentlly, I think I closed 1 min later
You did. Just making sure you're not planning anything 😅
Ha, OK :)
And I will have to admit that it was the dam AI that did that PR, even after I asked it not too. My goal was just to be able to show you some AI "fixes" for what I think are some real bugs.
Pull request closed