Is it possible to disable or lock the zoom feature in Notepad++?
I'm doing a lot of copying and pasting, and the zoom level keeps changing on me. It's driving me nuts!
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityPreviously, I "Seriously ... cannot imagine a scenario where you're accidentally zooming." The hot keys involve Control-Mousewheel, or Control-Keypad-plus-or-minus. (If you'll excuse the description). These aren't near or similar to Control-C and Control-V. So you must be holding the control key while meaning to scroll in the document.
It was just pointed out to me that the trackpad might also be an issue (Jim himself said it was his mouse and he changed his mouse for resolving this). If it's the trackpad then you'd have to try to find a palm rejection sensitivity setting to tweak, which might not be available, or try remapping the zoom shortcuts, or try the plugin from Stan which disables zooming (I like that option a lot).
Anyway, it's been a while since I used it, but I'm told you can edit the shortcuts in the settings > shortcut mapper
.
Settings > Shortcut mapper
.
Aug 20, 2009 at 2:38
To disable mouse zooming, I wrote a small plugin for Notepad++ which does it.
Also, there is a 64-bit version of the plugin.
SCN_ZOOM
and send the message SCI_SETZOOM
with a fixed value which represents the zoom value in the scintilla window. That's basically all the plugin does.
I don't have that issue. The only way it zooms is if you use CTRL-MouseWheel, or by CTRL-KP+ or CTRL-KP-. Most likely, you are trying to scroll the document when you still have CTRL held down (or active via StickyKeys.)
Best recommendation is to use CTRL-KP/ to reset the zoom.
I have a logitech mouse and love it. It has a mousewheel that doesn't 'click' as you scroll, but operates more like a flywheel... So, when I scroll somewhere and then start using the keyboard (for example, Ctrl + C), suddenly I've zoomed. Most annoying ;)
Changing shortcuts isn't the issue here. It's the way we use an editor and it's not really the mouse's problem.
PS: I can do a 'hard' center click on my mouse and it changes it from 'flywheel mode' to 'click mode' and back. It is the only workaround I have...and Notepad++ is the only program I need to do this with.
the problem is not necessary that you zoom accidentally, the problem is that some plugins revert to default zoom level. I would like to have a way to change default zoom level, or lock it.
Maybe this will be useful reference on the topic?
https://community.notepad-plus-plus.org/topic/14280/disable-ctrl-mousewheel-zooming
The zooming is happening (I think) because I have a cheap Microsoft mouse, and the scroll wheel sometimes doesn't roll all the way to the next tick when I stop scrolling. Then, later, when I'm using Ctrl + C/Ctrl + V to copy and paste the wheel snaps into place, thus causing what appears to be a spontaneous zoom.
Unfortunately, because this problem is occurring on my PC at work, I don't have the option of replacing the mouse, which would be my normal solution. So, what I would like to do, if possible, is disable or lock the zoom feature on Notepad++.