What does "Search Hidden Text"-Option in Find-Dialog

Started by Arthur, April 17, 2009, 09:18:29 PM

Previous topic - Next topic

Arthur

The "Search Hidden Text" option in Find dialog - when it is useful?

PS: Now as of 1.43.653 it has been renamed to "Search collapsed text" and is also on by default, thanks!

Stefan

#1
Hi Arthur,

"Hidden Text" is text in collapsed folding areas. This non visible area  is left out of search range.
With "Search Hidden Text" ticked on.  this area is searched too an un-fold if pattern is found.


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

Arthur

Oh, I am scary now :o.
I think this is not a good idea to have it disabled by default or have it at all. I am afraid I then did not see something I needed to.
And how about renaming if not just throwing it away?

allen

As long as you aren't folding anything, you have nothing to worry about :)

Arthur

I do, indeed, well. Otherwise, why would one need the folding at all?
To me it is a dangerous valid combination that potentially can fail me and you.
Like you needed to refactor something and omitted a piece because it was in the folded section and you did not have the setting checked off, think about that... not a good think for a responsible developer.

allen

I guess I don't see it as a problem [for me], if I fold something it's because I don't need to work with it at that juncture. Ignoring hidden text is a feature that makes sense to me -- when working with large files and complex regexes, I'd likely use it for speed.

I do agree, however, that the default behavior should probably be with the "search hidden text" checked.

On the bright side, Hippo remembers your preference -- so check the box, do a search, and there you go.

alex

MS Visual Studio 2005 defaults for Search Hidden Text = false.
I home MS did evaluation what is more common and user friendly ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

allen

Quote from: alex on April 18, 2009, 04:07:22 AM
I home MS did evaluation what is more common and user friendly ;)

Presuming you meant hope... they have the budget, but I think history might argue they don't do that :P

Arthur

When I refactor in MS VS it does replace text in the folded areas, HE does not have the refactoring.
Therefore, I suggest to be more prudent and turn it on by default and perhaps change the wording to say "Search in folded/collapsed text".

alex

Ok, I can rename it to "Search in collapsed text"and enable by default, if nobody from other users complain ;)
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]

JJK

QuoteOk, I can rename it to "Search in collapsed text"and enable by default
I agree also.

Stefan

Quote from: alex on April 18, 2009, 06:00:27 PM
Ok, I can rename it to "Search in collapsed text"
I think there i no place in find dialog :D;D :D

Quoteand enable by default,
Form logic point of view the current disable default is more plausible,
because if i collapse/hide some text i am not interested in it at current time
and so i don't want match some inside folded areas.

But i don't care, since HE remembers the last setting it's  88  what is the default .
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Stefan

Quote from: Arthur on April 18, 2009, 01:42:42 AM
why would one need the folding at all?

hehehe , come with me to an other forum where every second week someone ask for implementing code folding :D
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Arthur

Quote from: Stefan on April 18, 2009, 08:50:25 PM
hehehe , come with me to an other forum where every second week someone ask for implementing code folding :D

I did meant indeed that I do need the folding, but if HE will not replace text in the folded area [because it does not search there by default, and I admit, already did some editing in this mode] I am risking to deliver a bug  :o.