Is there a way to change the default number of scroll lines in the editor? I'd like to customize the number of lines scrolled for the scroll wheel, clicking a scroll bar arrow, and clicking within the scroll bar track. I'm using Aqua Data Studio 17.0.11.
I see from this post
that Aqua Data Studio uses the defaults provided by the Java implementation. It looks like the scroll unit and block increments can be customized from code if I can get a reference to the Swing scrollbar object. Is there a mechanism for a custom library to reference the editor UI components? I see that datastudio.ini allows me to add my own JAR to the classpath and specify custom JVM arguments; I would just need to ensure that my code would be executed, and that it can reference the right UI objects.
Aqua Data Studio does not expose UI components to custom code. Thus the scenario in question is not supported. However the scroll wheel behavior in v18 has been updated to respect the settings in "Windows > Mouse Properties > Wheel > Vertical Scrolling #". Thus the mouse wheel scroll amount can be configured in Windows Mouse Properties. The behavior is different if the number of visible lines in the editor is less than the configured scroll amount.
For scenario 1: The number of visible lines in the editor is greater than the Windows > Mouse Properties > Wheel > Vertical Scrolling #. For this example, 23 lines are visible in the editor & the windows setting is 20.
V17 : Ignores Windows settings. Always moves cursor to the next visible line of editor.
V18 : Moves cursor as per limit , i.e scroll moves to line 21.
For Scenario 2: The number of visible lines in the editor is smaller than the Windows > Mouse Properties > Wheel > Vertical Scrolling #. For this example, 10 lines are visible in the editor & the windows setting is 20.
V17 : Ignores Windows settings. Always moves cursor to the next visible line of editor i.e 11
V18 : Ignores Windows settings. ,scroll moves to next visible line i.e scroll moves to line 11.