Zoom feedback
-
Hi, love Notepad++,
This is a suggestion. Wouldn’t dare to make a request for such a great product that I get to use for free :)
The suggestion is to show some feedback at the bottom (similar to the feedback about which line and col you are at) to show the zoom you are using. Ideally would use a % as Word does. But I think showing the font size would work better for Notepad++.
This is helpful for example when you work with two documents side-by-side and want to make them the same zoom.
Thank you thank you!
Pablo -
A pythonscript solution could look like this
from Npp import notepad, editor, editor1, editor2, NOTIFICATION, SCINTILLANOTIFICATION, STATUSBARSECTION def check_zoom_level(): if notepad.isSingleView(): zoom_level = 'zoom level: {}'.format(editor.getZoom()) else: zoom_level = 'zoom level view0:{} view1:{}'.format(editor1.getZoom(), editor2.getZoom()) notepad.setStatusBar(STATUSBARSECTION.DOCTYPE, zoom_level) def on_zoom(args): check_zoom_level() def on_buffer_activated(args): check_zoom_level() def main(): notepad.callback(on_buffer_activated, [NOTIFICATION.BUFFERACTIVATED]) editor.callbackSync(on_zoom, [SCINTILLANOTIFICATION.ZOOM]) on_buffer_activated(None) main()
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