Problem is: if there are let's say two dirs called:
Code: Select all
afoobar
foobar
I think it would be nice if there was an option to prefer 1st char matches for Quick search, but still finds other list items if no 1st char match was found.
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
afoobar
foobar
Code: Select all
adirectory
dirtwo
That's not correct - both adirectory and dirtwo will be found - but of course adirectory if found first - and that's what you don't want if I finally understand you correctly?2petermad
I know that it's possible to use a *. But if I used that in my examples, only the first entries would be selected.
It's not a very bad idea. Quick locate is a desire.astralleib wrote:Yeah, sorry, both are found, but adirectory would be found first, not dirtwo, which is what I'd prefer, yes.
Try this line in wincmd.ini :astralleib wrote:When I navigate through directories, I often enter the first chars of the dirname I wanna go to to find it quickly via Quick search.
Problem is: if there are let's say two dirs called:
and I enter "foo", the first one is selected.Code: Select all
afoobar foobar
I think it would be nice if there was an option to prefer 1st char matches for Quick search, but still finds other list items if no 1st char match was found.
Don't forget to restart TC or ...change ini file outside of TC.SanskritFritz wrote:2eugensyl
Hmm, I have tried it, what does this do? I dont see any difference.
Code: Select all
if ( selectSomeFile (quickSearchString + "*") == noneFound ) then
selectSomeFile ("*" + quickSearchString" + "*") ;