Page 1 of 2

Searchbar

Posted: 19 Dec 2008 12:18
by admin
When you do Ctrl+F in Firefox you get a cute little "Searchbar" (don't know the official name) at the bottom of the window. Offers highlighting and find next up/down of a simple string. Anybody interested in having this in XY (file list)? Count me as 1.

Re: Searchbar

Posted: 19 Dec 2008 15:19
by PeterH
Tested it in FF: basically a bit strange: something like find the first occurence of string, from "current pos", with wrap.
For me better after checking "Hervorheben" (maybe "Mark" in english): all occurences of string are marked (and positioned if all are out of view). (And: selection of "Hervorheben" often isn't kept active.)

Question: how would *you* do it? Kind of find-file? File-Filter? Or just mark/show string in current list or tree or ...?
I'd expect the marking? Think that wouldn't be bad.

Re: Searchbar

Posted: 19 Dec 2008 15:26
by admin
PeterH wrote:Tested it in FF: basically a bit strange: something like find the first occurence of string, from "current pos", with wrap.
For me better after checking "Hervorheben" (maybe "Mark" in english): all occurences of string are marked (and positioned if all are out of view). (And: selection of "Hervorheben" often isn't kept active.)

Question: how would *you* do it? Kind of find-file? File-Filter? Or just mark/show string in current list or tree or ...?
I'd expect the marking? Think that wouldn't be bad.
The marking would be always on. (It's the easier part anyway). Find up/down might be added.

Re: Searchbar

Posted: 19 Dec 2008 16:03
by Linkaday
Count me as 3. I'm not using Firefox - but am used to Find Plugins to Maxthon. Very useful when you're sure you once saved something, but not quite remember how you named that then. :)

Re: Searchbar

Posted: 19 Dec 2008 16:07
by admin
Linkaday wrote:Count me as 3. I'm not using Firefox - but am used to Find Plugins to Maxthon. Very useful when you're sure you once saved something, but not quite remember how you named that then. :)
But the Firefox thing is real simple: no patterns, no wildcards, no boolean, no regexp. You just state one fixed string, e.g. "pop" and all "pop" (also "POP", "PoP" etc.) would be highlighted in the file list, even when part of a word (e.g. popular). Would that help?

Re: Searchbar

Posted: 19 Dec 2008 16:28
by JustinF
I use that feature in Firefox quite often. I think a similar feature in XY would be very handy. So:
countMe += 1

Re: Searchbar

Posted: 19 Dec 2008 17:32
by graham
yes, me too +1

but - keep it very simple search like FF - it is just a convenient quick find

Re: Searchbar

Posted: 19 Dec 2008 18:00
by Linkaday
admin wrote:
Linkaday wrote:Count me as 3. I'm not using Firefox - but am used to Find Plugins to Maxthon. Very useful when you're sure you once saved something, but not quite remember how you named that then. :)
But the Firefox thing is real simple: no patterns, no wildcards, no boolean, no regexp. You just state one fixed string, e.g. "pop" and all "pop" (also "POP", "PoP" etc.) would be highlighted in the file list, even when part of a word (e.g. popular). Would that help?
Just like JustinF and Graham: yes! Useful too in screenshot reports w/o the need to edit the image for all the references to some string.

Re: Searchbar

Posted: 19 Dec 2008 18:31
by Linkaday
Unbelievable! I submitted last post and the beta was already there. and Spot works simply great!
Thanks, Don!

Re: Searchbar

Posted: 19 Dec 2008 18:43
by Linkaday
Get rid of the highlighting within a session with just > [GO] - if that's not intuitive! Well done!

Re: Searchbar

Posted: 19 Dec 2008 19:12
by avsfan
This is really nice -- I used to use visual filters for all that, but this will be much quicker (and doesn't hide everything else!)

I also use the quickfind in Firefox very regularly, and I'm glad to see this great addition to XY (and look forward to the findPrevious/findNext capabilities when/if they are added...)

thanks, Don!

andy

Re: Searchbar

Posted: 19 Dec 2008 20:39
by admin
Great you all like it! :D

You noted that the spot works on all columns, not just Name. I was unsure about this. So it's okay for all of you? (I know there's a drawing glitch with right-aligned columns (e.g. date columns) when they are cropped, but it would be very hard to fix, and it happens that rarely that I decided to live with it.

There's another bug with cropped left-aligned columns that will be fixed in the next version.

Re: Searchbar

Posted: 19 Dec 2008 21:44
by PeterH
Not bad, this part, really! Especially, that all occurrences are marked.
But for me find up/down (or next/prev or such) would add very much to it's value.

Re: Searchbar

Posted: 19 Dec 2008 22:00
by admin
PeterH wrote:Not bad, this part, really! Especially, that all occurrences are marked.
But for me find up/down (or next/prev or such) would add very much to it's value.
This is a bit harder to do. And needs a GUI. For now I will leave it at the marking.

But something nice comes tomorrow to your homes:

Code: Select all

    + Spot now supports an unlimited number of strings, separated by | 
      (pipe). Four predefined colors are cycled.
      For example:
        >7.|xy|2008| |-|~

Re: Searchbar

Posted: 20 Dec 2008 00:57
by PeterH
admin wrote:
PeterH wrote:Not bad, this part, really! Especially, that all occurrences are marked.
But for me find up/down (or next/prev or such) would add very much to it's value.
This is a bit harder to do. And needs a GUI. For now I will leave it at the marking.
Sure, a GUI. Hard to click "Next" without it 8)
I hope you make a note to remember...
admin wrote:But something nice comes tomorrow to your homes:

Code: Select all

    + Spot now supports an unlimited number of strings, separated by | 
      (pipe). Four predefined colors are cycled.
      For example:
        >7.|xy|2008| |-|~
Crazy, that man :D