It’s a quite new behaviour, starting a few version updates ago. When I press Ctrl-Z, and the lines that will be influenced are at the top of the code editor view, it will scroll up a few lines up. Is there a way to prevent this behaviour, and restore the old behaviour, when it scrolled up only one line, and only if Ctrl-Z causes the line to be entirely removed?