Searchbar

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Searchbar

Post 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.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Searchbar

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searchbar

Post 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.

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Re: Searchbar

Post 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. :)

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searchbar

Post 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?

JustinF
Posts: 358
Joined: 28 Jun 2005 23:47
Location: Omaha, Nebraska, USA

Re: Searchbar

Post by JustinF »

I use that feature in Firefox quite often. I think a similar feature in XY would be very handy. So:
countMe += 1
Justin
Windows 7 Professional

graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Re: Searchbar

Post by graham »

yes, me too +1

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

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Re: Searchbar

Post 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.

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Re: Searchbar

Post by Linkaday »

Unbelievable! I submitted last post and the beta was already there. and Spot works simply great!
Thanks, Don!

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Re: Searchbar

Post by Linkaday »

Get rid of the highlighting within a session with just > [GO] - if that's not intuitive! Well done!

avsfan
Posts: 554
Joined: 29 Jun 2006 09:00
Location: Fort Collins, Colorado

Re: Searchbar

Post 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

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searchbar

Post 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.

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Searchbar

Post 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.

admin
Site Admin
Posts: 66075
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Searchbar

Post 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| |-|~

PeterH
Posts: 2826
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Searchbar

Post 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

Post Reply