I want to prevent the font size from changing with the mouse wheel
-
I am using a fast scrolling mouse.
While using the shortcut key that uses the Ctrl button, scrolling is moving, and it often happens that the character size of Notepad++ changes.Is it possible to fix the font size?
-
-
I had a look at the Zoom Disabler plugin code.
It’s logic seems to be:- get notified that user has changed the zoom level
- correct for that by setting a different zoom level
I tried duplicating that in a PythonScript and, although it works, it is a bit visually glitchy:
# -*- coding: utf-8 -*- from Npp import Editor, SCINTILLANOTIFICATION #------------------------------------------------------------------------------- class ZoomDisabler(object): def __init__(self): editor.callback(self.zoom_callback, [SCINTILLANOTIFICATION.ZOOM]) def zoom_callback(self, args): editor.setZoom(0) #------------------------------------------------------------------------------- if __name__ == '__main__': ZoomDisabler()
I’m not going to try the actual Zoom Disabler plugin, but I’d think it would be visually glitchy as well.
-
@Michael-Vincent
Wow, I didn’t know there was such a plugin.
thank you very much. solved.