xi-editor/xi-editor
`Cmd-Z` should move the cursor to the point where the undo happens
Ouverte
#765 ouverte le 26 juil. 2018
enhancementhacktoberfesthelp wantedux
Métriques du dépôt
- Stars
- (19 842 étoiles)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Related issue https://github.com/google/xi-mac/issues/233
I gave the xi-mac frontend a try and found a small usability issue. When editing a long file (more than one scroll page), moving the cursor, and undoing the edit, the cursor doesn't move to the point where the undo happens.
Steps to reproduce:
- Open a long file
- Write something on the top of the file
- Scroll down and click somewhere so the cursor moves.
- Press
Cmd-Z
What happens:
Text written in step 2 gets undoed, but there's no visual feedback. The cursor stays where it is.
What should happen:
The cursor and the scroll move to where the undo is happening.
Commits where it happens:
xi-mac: f5ee18b6ae0304efd45e8c33f0782550a86398e6 xi-editor: a417a3afb0b13dba09b44c9b93ec92cc6cb09ddd
Cheers.