It would be great if you were able to zoom the text in and out in the lister. For instance in Notepad++ has this feature (... and in my opinion very good keyboard shortcuts and mouse functionality for it).
The problem is that the default fonts used (system fixed font) are bitmap fonts, and there aren't any good looking truetype or opentype fixed fonts I could set as a default instead.
ghisler(Author) wrote: 2020-01-09, 11:18 UTCThe problem is that the default fonts used (system fixed font) are bitmap fonts, and there aren't any good looking truetype or opentype fixed fonts I could set as a default instead.
Since RichEdit control used by Lister e.g. for RTF files supports text zooming, maybe it's worth letting user to use it also for other files, for example by introducing RichEditAdditionalTypes= similar to existing IviewAdditionalTypes=, or by adding RichEdit as additional view mode similar to new ExplorerPreview.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
13.08.24 Added: wincmd.ini [Lister] ZoomFont=1 controls font zoom with mouse wheel: 0=off, 1=Ctrl+Wheel, -1=Ctrl+Alt+Wheel. The unused one is used for fast scrolling (32/64)
12.08.24 Added: Lister: Ctrl+Mouse wheel now also zooms in all text modes. Fast scrolling has been changed to Ctrl+Alt+Mouse wheel (32/64)
12.08.24 Added: Lister: Ctrl+'+'/'-' now also zooms in all text modes (32/64)
It's a welcome addition but when lister is closed and reopened, the "zoom" is remembered. OK with that, but there is no way to "reset" the font to its original size, you have to close and reopen the whole TC instance.
- Perhaps a new keystroke could be used for "reset to default zoom" ( CTRL + numpad '/' maybe? ).
- Another way could be to add a new "Reset zoom" menu item in the lister window (like the one at the right that shows in what percentage of the file the scrollbar is). It could be added at the left of the percentage and appear only when the zoom is something different than the default.
- Perhaps both of the above could be implemented?
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
ghisler(Author) wrote: 2024-10-09, 14:39 UTC
Please note that this only works when using a Truetype or Opentype font, not when using a bitmap font like FIXEDSYS which is the default.
The above mentioned akelpad editor can zoom even with Fixedsys font, though not very smoothly (it uses rich edit control).
ZoomFont=1 Controls font zoom with mouse wheel: 0=off, 1=Ctrl+Wheel, -1=Ctrl+Alt+Wheel. The other combination is used for fast scrolling
But WHAT exactly "other combination" means? Another digits? 2/3/7? -5/-8?
And about "fast scrolling" - Didn't it work before? Or has it started working differently now?
Why is this mode highlighted as a separate state?
The two combinations are Ctrl+Wheel and Ctrl+Alt+Wheel.
In older Total Commander versions, Ctrl+Wheel was scrolling page by page. This is now changed to Ctrl+Alt+Wheel.
With ZoomFont=-1, the two are reversed: Ctrl+Wheel again scrolls page by page, and Ctrl+Alt+Wheel zooms the font.
I changed the default for consistency reasons, because Ctrl+Wheel already zooms images.
petermad wrote: 2024-10-10, 14:32 UTC
I would like if Lister would show the zoom fator - either in the title bar or in a tooltip like in the thumbnail view.
wanderer wrote: 2024-10-09, 18:20 UTC- Another way could be to add a new "Reset zoom" menu item in the lister window (like the one at the right that shows in what percentage of the file the scrollbar is). It could be added at the left of the percentage and appear only when the zoom is something different than the default.
That's one of the reasons i proposed this. Some programs (i.e. browsers) show the zoom factor and when you click on it, you are returned to 100%. If implemented like this in TC too (as a menu item), it would certainly feel familiar.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
ghisler(Author) wrote: 2024-10-10, 07:48 UTC
That's a good idea, I will check whether I can add Ctrl+0.
This used to work for numeric pad 0 too, but TC beta 2 ignores the key.
Additionally, it might be nice to see the image size in the caption (similar to IrfanView, though it shows zoomed size in the caption and original in status bar).