[Implemented] Line breaks in FontSampleText parameter

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[Implemented] Line breaks in FontSampleText parameter

Post by *petermad »

history.txt wrote:25.04.22 Added: wincmd.ini [Configuration] FontSampleText= set sample text for Configuration - Options - Font. Empty text= use default (32/64)
Would it be possible to change this, so \n in the string would be interpreted as line breaks?
Last edited by petermad on 2022-06-10, 23:18 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Line breaks in FontSampleText parameter

Post by *funkymonk »

Support ++

(I have already put an \n there -- which is not yet interpret as a line break)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Line breaks in FontSampleText parameter

Post by *ghisler(Author) »

Sure, no problem, that's easy to add.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Line breaks in FontSampleText parameter

Post by *petermad »

history.txt wrote:06.05.22 Added: wincmd.ini [Configuration] FontSampleText= now supports \n (line break) and \t (tabstop) characters (32/64)
2ghisler(Author)
Thanks for implementing this feature :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply