Save previously used user defined wildcard ("Cutom...", Ctrl+12) in the last used wildcards list ([Selection])

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Save previously used user defined wildcard ("Cutom...", Ctrl+12) in the last used wildcards list ([Selection])

Post by *DrShark »

Help, Settings in the file wincmd.ini - Part 2 wrote:[Selection] Stores the last used wildcards for selection (Num +)
This information is not complete, in addition wildcards set by "Expand selection" dialog (Gray+ key, menu Mark->Select Group... or cm_SpreadSelection command), [Selection] stores also the wildcards set by the dialog called with Ctrl+F12 keys, menu Show->Custom... or cm_SrcUserDef command.

The current (latest) wildcard set by Show->Custom... for left and right panels is stored in the userspec paremeter of [left] and [right] sections of wincmd.ini respectively. You can apply it using a menu item with name of userspec paremeter value under Show menu.

Now the problem: user enters different wildcards with Mark->Select Group... more often than with Show->Custom..., the value from userspec, which is also stored [Selection], disappears from last used wildcartds list because newer wildcards were added with "Expand selection" dialog. Now when user enters a new wildcard with Show->Custom..., the new value is remembered both in userspec and under [Selection], but previously used value stored userspec becomes lost.
Suggestion: if user enters a new value with Show->Custom..., check if the value still stored in userspec is duplicated by a parameter under [Selection], and if not, after user enters a new custom wildcard, save in [Selection] both new and previous userspec values.

I suggest also to update help's "Settings in the file wincmd.ini - Part 2" page by adding there that [Selection] stores also the last used wildcards for Show files of type filter (Ctrl+F12).
Last edited by DrShark on 2021-04-18, 07:39 UTC, edited 2 times in total.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Save previously used user defined wildcard ("Cutom...", Ctrl+12) in the last used wildcards list ([Selection])

Post by *petermad »

2DrShark

You write "Configuration->Custom" several places - do you perhaps mean: "Show->Custom"
Last edited by petermad on 2021-04-18, 15:27 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
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Save previously used user defined wildcard ("Cutom...", Ctrl+12) in the last used wildcards list ([Selection])

Post by *DrShark »

2petermad
Thanks, indeed I meant Show->Custom..., I fixed this in start post and also added the names of commands for mentioned functions.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply