Author Topic: Search features tbd  (Read 4448 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Search features tbd
« on: December 17, 2005, 10:32:35 am »
one of the things which i don't find very ergonomically is the "Search in Files" behaviour.
most of the time i need more different searches and want to have them in the search-log.

i have implemented this for demonstration purposes,
subsequent searches are kept in the search-log,
the different searches are separated by the search pattern,
if the search pattern could not be found, a "not found" line is added to the log,
otherwise the first search entry of the last search gets the focus.

what i didn't implement till now is a popupmenu for the search-log,
where a menu entry for "Clear search-log" .

@all
please let me know your comments and proposals,
how you would like the search-functions have to work.

i would like to implement these features then.
i really need a small task to get more familiar with the CB-sdk.

attached you can see a sreenshot and also the patchfile,
if someone wants to test the feeling as it is now.

[attachment deleted by admin]

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Search features tbd
« Reply #1 on: December 17, 2005, 11:06:15 am »
Looks nice but I would prefer the way that Visual Studio solves this problem. There you have two (or possibly even more?) tabs instead of one and then use one for each search you start. This feels more convenient to me since switching between tabs is easier as scrolling in one tab all the time. Would that be possible?
Anyway, is it possible in your solution to delete some search results? Or do I have to delete all searches and the possible re-do the searches that I still need? The reason is: if you use this feature frequently the search log will contain a lot of content which makes it difficult to find the results you need.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Search features tbd
« Reply #2 on: December 17, 2005, 11:16:11 am »
... Would that be possible? ...
thanks for your feedback, almost anything is possible.
Please let us collect our ideas and wishes for now and when we have a reasonable amount of answers,
then i'll sort them out and present a concept, which we can poll about modules , before i go to implement them.

my present patch is only a hack, i used for a while now, which i want to improve to whatever will be claimed here.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2313
Re: Search features tbd
« Reply #3 on: December 17, 2005, 08:14:34 pm »
using wxIFM for the search results would
really be nice. You could have individual result frames
but dock 'em in any personally desired way.

thanks
pecan

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Search features tbd
« Reply #4 on: December 18, 2005, 01:51:04 am »
Latest wxIFM looks really great. Too bad it doesn't have native drawing for each port.

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: Search features tbd
« Reply #5 on: December 18, 2005, 10:12:42 am »
Opening a new tab with the title "Search: <search string>" for a search in files request would own...

Make the first couple lines printed be the directory, whether recursion was used, the filter, the string, and whether regex was used.

Then Right click tab and select to close when you are done with it.
78 280Z, "a few bolt-ons" - [email protected]
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool: