Open
Description
Created by: Tiger-The-Cat
Description
Horizontal scrolling (shift+scroll) in Python Mode causes both the horizontal scrollbar and the vertical scroll bar to scroll.
Expected Behavior
Upon horizontal scrolling (holding down shift and then scrolling) in any mode, the text should scroll horizontally.
Current Behavior
Upon horizontal scrolling (holding down shift and then scrolling) in Python Mode, both the horizontal and vertical scrollbars scroll.
Steps to Reproduce
- Open the editor in Python Mode. (This bug does not occur in Java Mode, which does not let you horizontally scroll at all)
- Paste in a vast amount of text that "spills" off of the screen horizontally and vertically (this should be enough text).
- Hold down the shift key and then scroll normally.
- Observe how both horizontal and vertical scrollbars scroll, when only the horizontal one should.
Your Environment
- Processing version: 4.0b5
- Operating System and OS version: Windows 10
- Other information: Make sure you are using Python Mode and are pasting enough text to make both horizontal and vertically scrollbars appear
Possible Causes / Solutions
Simple IF-Check: check to make sure shift key is not held down before scrolling vertically.