xi-editor/xi-editor
在 GitHub 查看`Cmd-Z` should move the cursor to the point where the undo happens
Open
#765 建立於 2018年7月26日
enhancementhacktoberfesthelp wantedux
描述
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.