Page 1 of 1

Maybe a bit power tricky?

Posted: 30 Jul 2007 23:51
by RalphM
Hi Don

Welcome back after your vacation, hope you had a relaxing time.

Code: Select all

v6.10.0069 - 29.07.07 18:01 
    + Find Files: now, you can click the label "Mode:" to cycle the name 
      pattern prefixes: [none], :, >. Just a little, more or less hidden, 
      power user trick for mousies.
Nice power trick, but it gets a bit tricky if you don't cycle through all the modes, 'cos the dropdown disappears for all but standard modes.
Intentional?

Re: Maybe a bit power tricky?

Posted: 31 Jul 2007 08:41
by admin
RalphM wrote:Intentional?
Yes! The dropdown disappears because with the prefix set, the dropdown is powerless, since the prefix by definition overwrites the dropdown.

Posted: 31 Jul 2007 13:53
by jacky
No but there's a problem here, maybe two.

- You assume that the dropdown is on Standard. Have it on say RegExp and then click to cycle: you'll get boolean (prefix), regexp (prefix) and regexp again (dropdown)

- Also, when I do that with "RegExp" on dropdown, whenever I click to cycle from regexp (dropdown) to boolean, the name field is being changed to the first item on MRU, according that there's one that matches

eg. I have "*.php" on Name, chose RegExp on dropdown. Then I click to go on Boolean, and the Name field is set to my first corresponding MRU item, which is ":*.php or *.htm"

Posted: 31 Jul 2007 14:01
by admin
jacky wrote:No but there's a problem here, maybe two.

- You assume that the dropdown is on Standard. Have it on say RegExp and then click to cycle: you'll get boolean (prefix), regexp (prefix) and regexp again (dropdown)

- Also, when I do that with "RegExp" on dropdown, whenever I click to cycle from regexp (dropdown) to boolean, the name field is being changed to the first item on MRU, according that there's one that matches

eg. I have "*.php" on Name, chose RegExp on dropdown. Then I click to go on Boolean, and the Name field is set to my first corresponding MRU item, which is ":*.php or *.htm"
The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.

Posted: 31 Jul 2007 15:01
by jacky
admin wrote:The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.
hmm ok, but it's still described as "cycle through modes" so I would assume it would put the dropdown back on Standard...

And the second thing is a bug IMO: I type "*.php" as pattern as then, after, use the click to activate boolean --> It becomes ":*.php or *.htm" !! Why did my pattern got changed?? I did not want that. So what that my dropdown wasn't on "Standard"?

Posted: 31 Jul 2007 21:15
by admin
jacky wrote:
admin wrote:The click trick is meant to quickly change the prefix *after* you have typed/selected the pattern.
hmm ok, but it's still described as "cycle through modes" so I would assume it would put the dropdown back on Standard...
No, it is described as "cycle the name pattern prefixes" :P
jacky wrote:And the second thing is a bug IMO: I type "*.php" as pattern as then, after, use the click to activate boolean --> It becomes ":*.php or *.htm" !! Why did my pattern got changed?? I did not want that. So what that my dropdown wasn't on "Standard"?
:evil: Indeed. Hey, it's not my fault ( :roll: ) -- it's the stupid behavior of VB's dropdown control (aka ComboBox). One day a write my own... The grotesque truth is: when the ComboBox font is changed (which happens when switching to/from RegExp mode) then it automatically sets the text to a matching item from the MRU list, HUH?!? Yes it does... Anyway, I found a way to work around this by setting the item twice! MS sometimes forces you to do strange things...