java – Eclipse IDE – sometimes hitting ‘undo’ changes position of view (moves view quickly to top of the code)

Does this happen to anyone else?
When typing code, sometimes when doing ‘undo’ (via ctrl-z), the program automatically scrolls all the way up in that code to the very top, and then I gotta either scroll back down to where my cursor is, or I gotta type something and it will automatically scroll down to where my cursor is. And then I dont know what was actually undone in these cases, cus it quickly scrolls right up to the top right when I ‘undo’, so I can’t see what changed.

It’s annoying. Does anyone know of a fix to just keep the camera view unchanged when hitting ‘undo’?

What I’ve tried:
Not much, I can’t find anywhere in preferences how to disable this affect when hitting ‘undo’ via ctrl-z, can’t find anything to do with ‘undo’ except in keyboard shortcuts or anything to do with moving the view to the top of the code.

Read more here: Source link