This PR adds two options to control scrollwheel behavior.
* `scrollwheel_lines`: How many lines to scroll. * `scrollwheel_zoom_disable`: To disable zooming by control + scrollwheel.
Control of vertical scrolling is taken away from Scintilla to provide consistent behavior when the control key is or is not pressed. Lines option added because I don't see a way to get or set the value used by Scintilla.
Supersedes #2954 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3835
-- Commit Summary --
* Add option to block scroll-wheel zooming * Add option to change number of scroll lines
-- File Changes --
M doc/geany.txt (3) M src/editor.c (18) M src/editor.h (2) M src/keyfile.c (4) M src/sciwrappers.c (6) M src/sciwrappers.h (1)
-- Patch Links --
https://github.com/geany/geany/pull/3835.patch https://github.com/geany/geany/pull/3835.diff