issue-#150 improvements in DevSearch

Merged to the master branch

Re: issue-#150 improvements in DevSearch

Postby Robert » Wed Mar 15, 2017 9:19 pm

Is this ready for voting?
Which are the "End-to-end" diffs?
User avatar
Robert
 
Posts: 1023
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: issue-#150 improvements in DevSearch

Postby Zinn » Thu Mar 16, 2017 7:35 am

Yes, it is ready for voting. It works
- Helmut
Zinn
 
Posts: 472
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main


Re: issue-#150 improvements in DevSearch

Postby Robert » Sat May 27, 2017 7:28 am

Josef Templ wrote:I have not looked into the mentioned CpcSearch extension yet but
will look at it when it is republished.

It is now available on http://www.zinnamturm.eu/downloadsAC.htm#CpcSearch.

I wrote this a very long time ago, and would probably do it differently now. I don't suggest that it is a replacement for the current tool,
but I do think it has some interesting ideas; examples of things we might want to copy and things we want to avoid.

My starting point was I wanted a little more capability than the BlackBox tool, but not as much as regular expressions as using
them was too big a learning curve. I thought that implementing the Microsoft wildcards ('?' & '*') would be good.

Inevitably things just grew; it has 12 wildcards, text colour and treatment filters, and other features (more detail below).

While I do use all these features, most are used very rarely, so it is probably not the right balance between capability & simplicity?

Features that do get used frequently are:
"*", "?", search for bold text, lock search to start of line, lock search to end of line, & replace by upper or lower case.

But the one incidental feature that I most value is the way it keeps the last few search & replace strings in drop-down Controls, even between BlackBox sessions.
User avatar
Robert
 
Posts: 1023
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: issue-#150 improvements in DevSearch

Postby DGDanforth » Sat May 27, 2017 8:17 am

Since we are talking about search, I offer GftSearchFile as an alternative.
Its main difference from other search routines is it simultaneously searches
for several strings at the same time, e.g "uppercase" OR "upper case".
It builds a finite state machine of the search patterns and then roars through
a file examining each character only once. Search time is linear in the length of
the file and independent of the number of patterns and their length.

The code is on CPC under GftSearch.

-Doug
User avatar
DGDanforth
 
Posts: 1061
Joined: Tue Sep 17, 2013 1:16 am
Location: Palo Alto, California, USA

Re: issue-#150 improvements in DevSearch

Postby Josef Templ » Mon May 29, 2017 12:45 pm

Robert wrote:It is now available on http://www.zinnamturm.eu/downloadsAC.htm#CpcSearch.


Something is wrong with CPC.

The error message is "Translation server failed".

@Helmut: can you please check this?

- Josef
User avatar
Josef Templ
 
Posts: 2038
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#150 improvements in DevSearch

Postby Zinn » Tue May 30, 2017 6:06 am

I couldn’t find any errors. Have you still this problem?
- Helmut
Zinn
 
Posts: 472
Joined: Tue Mar 25, 2014 5:56 pm
Location: Frankfurt am Main

Re: issue-#150 improvements in DevSearch

Postby Josef Templ » Tue May 30, 2017 9:39 am

CPC is working again now.

@Robert, Helmut: please add to the docu of CpcSearch that it depends on CpcControlTips.
If CpcControlTips is not available most buttons open as alien views.
The alternative would be to remove the dependency on CpcControlTips.

- Josef
User avatar
Josef Templ
 
Posts: 2038
Joined: Tue Sep 17, 2013 6:50 am

Re: issue-#150 improvements in DevSearch

Postby Robert » Tue May 30, 2017 5:14 pm

Josef Templ wrote:@Robert, Helmut: please add to the docu of CpcSearch that it depends on CpcControlTips.

Ok, I'll sort something out.

Incidently I think ControlTips is a useful idea, but my implementation is not appealing.
Maybe someone who knows a little about the Winapi might want to suggest such a feature for the Center distribution?
User avatar
Robert
 
Posts: 1023
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Re: issue-#150 improvements in DevSearch

Postby Robert » Wed Jun 07, 2017 5:59 pm

Josef Templ wrote:Robert, Helmut: please add to the docu of CpcSearch that it depends on CpcControlTips.
If CpcControlTips is not available most buttons open as alien views.
The alternative would be to remove the dependency on CpcControlTips.

There is a new version on CPC where:
1 - This dependency is explicitly mentioned in the Quick-Start
&
2 - The dependency is a compile time option.
User avatar
Robert
 
Posts: 1023
Joined: Sat Sep 28, 2013 11:04 am
Location: Edinburgh, Scotland

Previous

Return to Resolved (Features)

Who is online

Users browsing this forum: No registered users and 1 guest

cron