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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login