Scroll in NetBeans Editor to Increase/Decrease Font Size!
By Geertjan on Oct 16, 2011
Reading through the NetBeans API Changes List today, I came across this, which applies to 7.1 releases of NetBeans IDE:
(Jul 16 '11) org-netbeans-modules-editor-lib2: Zoom text actions added
That sounds cool and so I tried it immediately. Wooow. Works exactly as one would expect! Font size increases/decreases as I scroll (with mousewheel). Will be very handy in future NetBeans presentations. :-) On my non-mouse system, I hold down the Ctrl key and move my finger up/down in the right of the pad-thing, then everything works as expected.
You can also map the zoom in/out text actions to shortcuts of your choice. They're not mapped to anything by default; here is what I've set them to:
No need to go into/out of the Options window anymore to guess what font size works best in a particular conference room and then find out afterwards that the font still isn't large enough and then having to go back and then later finding that I hadn't set it back to the original size so that too much space is taken up during normal programming, etc.
The new zoom setting applies to the current document only and only as long as it is opened. When you close the document and reopen it, the size will be back where it was originally. It's really nice for temporary situations, i.e., quickly change the font size for immediate purposes only.