Page 1 of 1

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

Posted: 2021-04-17, 07:28 UTC
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).

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

Posted: 2021-04-17, 10:50 UTC
by petermad
2DrShark

You write "Configuration->Custom" several places - do you perhaps mean: "Show->Custom"

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

Posted: 2021-04-18, 07:43 UTC
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.