TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Undo moves the cursor away

Open Skeptim opened this issue 3 years ago • 1 comments

Hi, When I undo (Ctrl-Z) a modification I just did and the previous modification was somewhere else in the code, it moves the cursor and the view to this other line which can be far away, and then I have to find back where I was.

Here is an example gif in which Ctrl-Z moves me to the beginning of the code: Peek 27-07-2022 14-15

It is not helpful when I want to continue working where I am, and I find it annoying to not see the result of my undo.

My suggestion would be to keep the cursor where it is, just at the end of the modification like in other editors I am used to, like Atom.

Thanks for your work!

Skeptim avatar Jul 27 '22 12:07 Skeptim

Note: I am using 1.0.2164 Pro. I just saw https://github.com/nesbox/TIC-80/issues/1842 (sorry, should have looked before) which seems to be a related issue. Someone says that it's solved in 1.0 but it does not seem to be, or it is not the same issue.

Skeptim avatar Jul 27 '22 12:07 Skeptim