AutoComplete in Find

Started by Anonymous, March 16, 2011, 01:24:20 PM

Previous topic - Next topic

Anonymous

Is it possible to implement "complete-as-you-type function" in "Find What" field of Find dialog?

Stefan

Hi welcome!

Interesting wish.

Perhaps meanwhile an Incremental Search may help you?
Just press Ctrl+i and start typing your search pattern.
See menu "Navigation > Find and Replace > Find Incremental   \ Ctrl+I"

Did you notice "View > Panes > Quick Search Bar \ Ctrl + Q" and check "[X] Incremental " too?


.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Thanks Stefan!

And for Anonymous: please explain your request in more details. Do you mean Incremental Search feature, Stefan mentioned, or something different?
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Stefan

I understood it this way:

- open Find
- start typing H i p p
and you get an list of possible strings, (just like the usual auto-complete feature will writing code,)
from where you can select one by an Tab-key press.

Then you can complete this search word by adding an own string...

Nice idea, interesting.

We can do this already
by pressing Ctrl+I,
start typing the word,
pressing Alt+Arrow down (or double click) to select the whole word,
open Find with Strg+F and the selected word is already inserted into the 'Find What' field.

The advantage of the request is that you will get an compressive list of pattern from interest just by hand.

.
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

alex

Yes, I also thought about this, and even wrote but later deleted :)
Theoretically, it can be done, for document search, because HE has complete list of used words collected for auto completion.
The list of already typed words is already available (drop down), but not used for automatic word selection.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Anonymous

The feature I've requested looks more like those presented in Embarcadero RAD Sudio's Find Bar or File And Archive Manager's (v.2.0) command line (and some other string input controls in different dialog windows).

No, this is not Incremental Search but close enough to Stefan's second guess: as the user types, Hippo adds the ending of the closest word or phrase from those which where already searched for (in order of appearance), selecting the addition so the user can override it as he types further.

For example, if we've already looked for "high", "human", "hundred", HippoEdit should suggest sequentially "igh", "man", "dred" as we type "h", "u", "n".

h[igh]
hu[man]
hun[dred]


Pressing Del deletes selected addition. Pressing Arrow Rigth cancels the selection and moves cursor at the end of the word. Pressing Enter accepts whole string and start search.

This function speeds search greatly, especially when looking often for the same words. This is the only feature I was in lack for when moved from Multi-Edit to HippoEdit.

And, by the way, thank you for a good job, Alex!

alex

OK, thanks for the detailed description. Now clear.

I think this functionality was already some when in HE (this is a part of the history combo boxes used everywhere in HE) but it was disabled for some reason by me :) or because of wrong results or bad behavior. Do not remember.
I will check for the reason it was disabled (maybe it already gone) and if there will be no real problems found, will re-enable it for new 1.49 beta. If the logic of working will be different, I will adjust for one you described. The changes should not be too big, so I think it is safe to enable it for correction beta.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

Anonymous


Anonymous

On 1.49.804 works perfect. Much relief on my wounds  :) Thanks again!