Stop editor from re-orienting when running code and allowing scroll past end of document #9950
Open
4 tasks done
Labels
Milestone
System details
Steps to reproduce the problem
Enable scrolling past the end of the document by Preferences > Code > Display > Allow scroll past end of document. Scroll past the end of the document, run the line of code, and note that the editor "jumps". I think this behaviour is fine if where the cursor is jumping to is not visible, but if it is visible, then it is annoying for the editor to be jumping around for no reason.
I scroll past the end of the document purposefully so the code I'm writing/running is at the top of my editor, and so it is moderately annoying that every time I run the code, the editor re-orients and puts my cursor back at the bottom of the editor space.
Describe the problem in detail
Note that in the video below, I am running the code and the jump is something RStudio is doing, it is not a cut in the video or something I've done manually.
Screen.Recording.2021-10-13.at.2.00.19.PM.mov
Describe the behavior you expected
Editor orientation shouldn't move if it doesn't need to.
The text was updated successfully, but these errors were encountered: