Scroll to Ctrl+Z/Y action
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Is your feature request related to a problem? Please describe.
When you press Ctrl+Z/Y the line where you are currently editing might not be in view. This is quite confusing because you can't see what is going on.
Describe the solution you'd like
The content should scroll to where there cursor currently is.
Describe alternatives you've considered
Maybe block Ctrl+Z/Y when out of view, but that is also not great.
Contributor guide
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 locating the editor's Ctrl+Z/Y handling and the code responsible for keeping the current cursor position visible. Reproduce the issue with the cursor outside the viewport, then verify that undo and redo scroll to the edited line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100