Page 1 of 1

Req tcmatch.dll: select file when filtering

Posted: 2010-02-01, 17:17 UTC
by Samuel
The (external) QuickFilter could be improved if files would be categorized into 3 groups instead of 2. The third group would be a "premium" match.

Code: Select all

int __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename)
I would suggest to interpret the return value (int) like this:

Code: Select all

0 - dont show this item
1 - show this item
2 - show this "premium" item and select it (if nothing previously was selected)
So you could jump to files starting with "t" also if you didn't select match beginning.

Filelist:
attribute.doc
bell.wav
dog.txt
final.tex
hit.wav
kilt.jpg
melody.mp3
total commander.exe
touchpad.jpg
water.jpg
zell.xls
Filter for "t" without premium matches:
attribute.doc (selected)
dog.txt
final.tex
hit.wav
kilt.jpg
total commander.exe
touchpad.jpg
water.jpg
Filter for "t" with premium matches:
attribute.doc
dog.txt
final.tex
hit.wav
kilt.jpg
total commander.exe (selected)
touchpad.jpg
water.jpg

Posted: 2010-02-06, 08:41 UTC
by Samuel
2Christian:
I think this is a useful small addition, that would need fewer keys than before.
Wouldnt it be easy to implement?