Enhancement #41807 was implemented for release 7.1. For a number of reasons I believe that request is misguided (based on a design flaw propagated from other applications), and I'm hoping to at a minimum provide an option in the UI to change this feature.
During code editing, the programmer scrolls up and down within the editor much more often than they zoom in/out. In addition, the mouse scroll wheel is frequently used for this behavior. I’ve found that sometimes when I’m scrolling, I’m much farther from my target location than expected so I either have to hit the Page Up/Down key or move the mouse over to the scroll bar. By rebinding Ctrl+MouseWheel to Page Up/Down (one click up scrolls by a page instead of 3 lines and vice versa), it’s extremely easy for me to simply hit the lower left key on the keyboard (no looking) and move quickly to my intended location.
Due to extremely extensive use of this feature (Ctrl+Wheel to scroll) in other applications, the inability to change the zooming behavior will render the NetBeans editor nearly unusable for me.
Mila, can we expect an option to turn on/off zoom-with-mouse-wheel functionality?
when I jump (using hyperlink) through code previously I always hold Ctrl pressed and could scroll up/down editor to make new jump.
Now when I forget to release Ctrl => I change font of my editor - not what I like very much. And so easy to change font back to default value.
Option to turn in on/off should be enough, although I believe that for most developers "off" is preferred default setting.
Btw, is it possible to assign other shortcut to this actions?
Ctrl-PLUS/Ctrl-MINUS is what I would expect as default.
I personally support the idea to have special keycodes for mouse (wheel) actions and assign actions normally through options (rather than e.g. making an extra item in options like "Ctrl+Mouse key action" with options "None" "Modify Font Size" and "Move by pages".
Jano what do you think?
I would absolutely support this (options). It wouldn't work for left/right buttons, but for the middle button and wheel movement it should be possible to incorporate them into the keymap options page. To use, you would simply use the wheel or click the middle button over the Search box or over the Shortcut cell while editing a binding.
You can setup Mouse wheel up and down in special key panel two arrows down when you edit shortcut.
You can setup any action (for example Page Up, Page Down, Beginning of File, File End) or disable shortcut for zoom in/zoom out.
Integrated into 'main-golden'
User: Milutin Kristofic <email@example.com>
Log: #203243 - Improved scrolling support with the mouse wheel
Works fine in MacOs and Win7