Reproduction Steps
- Put this in a script:
print("Hello world!")
print("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.")
- Disable TextWrapping and set a breakpoint on line 1
- Move the editor’s horizontal scroll to the end to see the end of the print of line 2:
- Run
- The editor’s horizontal scroll will return to the left:
- Move the editor’s horizontal scroll to the end to see the end of the print of line 2:
- Press F10 to debug step
- The editor’s horizontal scroll will return to the left:
Expected Behavior
The horizontal scroll should remain in the same place where it was moved, in order to correctly follow the block.
For example, a loop that is indented too far to the right will disappear with each press of F10.
Actual Behavior
The horizontal scroll always returns to the left when starting to debug (F5) and each time F10 is pressed.
Issue Area: Studio
Issue Type: Display
Impact: Moderate
Frequency: Constantly