Windows scroll repositions when editing script
Operating system version
Description of the issue
When editing a script the scroll position of the window changes when adding a new script step, deleting a step, or committing a change to a script step property.
This is very confusing and makes it difficult to track where you were editing or what changed, particularly when deleting part of an if or loop, which causes the script steps to shift in addition to the window scrolling.
Steps to reproduce the problem
1. Create a script which is 2-3x the length of the script editor window
2. Scroll the script editor window to somewhere in the middle of the script
3. Click a script step in the middle of the window somewhere.
4. Press Return/Enter to add a new line or press delete to delete a script step
The window scroll position should remain the same, and the script steps should shift slightly within the window. The script step and your selected line should remain in roughly the same place
The window scrolls to a new position. The script step you were working on is now in a significantly different place in your window.