Author Topic: Enhancement: Easy way to to change the font size for a zoomed in file  (Read 2513 times)

rozum

  • Senior Community Member
  • Posts: 147
  • Hero Points: 5
I have found that when I wish to show some code to a colleague, I zoom in on a file.   This works great in V18.  Unfortunately, the font is too small for them to read and I must manually increase it for their readability.  After showing them the code, I then decrease the font size to my liking.

Is there a way / enhancement in the zoom mode, to change the font size quickly and have it be temporary for just that "zoomed in" instance?

Note: I am envisioning something similar to what "ctrl-scroll wheel" does for web browsers.

Thanks.

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2920
  • Hero Points: 438
Re: Enhancement: Easy way to to change the font size for a zoomed in file
« Reply #1 on: April 30, 2013, 01:01:53 pm »
wfont-zoom n        -- zoom to a specific font size
wfont-zoom-in n    -- zoom in a number of font sizes
wfont-zoom-out n  -- zoom out a number of font sizes

You can bind zoom-in and zoom-out to the ctrl+scroll wheel using the key bindings dialog.

If you want an all-in-one solution, you could write a macro to combine the zoom-toggle with a wfont-zoom to a specific font size (and another to jump back to your normal font size).

rozum

  • Senior Community Member
  • Posts: 147
  • Hero Points: 5
Thank you for re-introducing to the macros.  I should have know better.  And yes, it works great.