micro-editor / micro-editor/micro
Backscape in multicursor mode isn't multicursor at all
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Description of the problem or steps to reproduce
Start a multicursor on multiple line (Alt + Shift and then Down multiple time to select numerous line)
Move the cursor to the right and hit Backspace key (above the Return key). Only the last cursor will delete the previous rune, not all of them.
Instead, if you move the cursor left and hit "Delete", all multicursors will delete the next rune.
I think it should respect the multicursor here.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with multiple cursors created using Alt+Shift+Down, then compare Backspace after moving right with Delete after moving left. Trace the multicursor input and deletion entry points, and verify that Backspace deletes the previous rune for every cursor while preserving the existing Delete behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100