Author Topic: What does "Search Hidden Text"-Option in Find-Dialog  (Read 5865 times)

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
What does "Search Hidden Text"-Option in Find-Dialog
« on: April 17, 2009, 09:18:29 PM »
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!
« Last Edit: April 20, 2009, 07:43:21 PM by Arthur »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: Search Hidden Text Option in Find - what it does?
« Reply #1 on: April 17, 2009, 10:23:42 PM »
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.


.
« Last Edit: April 17, 2009, 10:32:14 PM by Stefan »

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
Re: Search Hidden Text Option in Find - what it does?
« Reply #2 on: April 17, 2009, 10:27:04 PM »
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

  • Guest
Re: Search Hidden Text Option in Find - what it does?
« Reply #3 on: April 17, 2009, 10:59:47 PM »
As long as you aren't folding anything, you have nothing to worry about :)

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
Re: Search Hidden Text Option in Find - what it does?
« Reply #4 on: April 18, 2009, 01:42:42 AM »
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

  • Guest
Re: Search Hidden Text Option in Find - what it does?
« Reply #5 on: April 18, 2009, 01:49:26 AM »
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.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Search Hidden Text Option in Find - what it does?
« Reply #6 on: April 18, 2009, 04:07:22 AM »
MS Visual Studio 2005 defaults for Search Hidden Text = false.
I home MS did evaluation what is more common and user friendly ;)

allen

  • Guest
Re: Search Hidden Text Option in Find - what it does?
« Reply #7 on: April 18, 2009, 05:05:59 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

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
Re: Search Hidden Text Option in Find - what it does?
« Reply #8 on: April 18, 2009, 05:15:43 AM »
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".

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2224
  • Karma: +37/-3
    • HippoEDIT
Re: Search Hidden Text Option in Find - what it does?
« Reply #9 on: April 18, 2009, 06:00:27 PM »
Ok, I can rename it to "Search in collapsed text"and enable by default, if nobody from other users complain ;)

Offline JJK

  • Registered User
  • Full Member
  • *
  • Posts: 152
  • Karma: +2/-0
Re: Search Hidden Text Option in Find - what it does?
« Reply #10 on: April 18, 2009, 08:29:04 PM »
Quote
Ok, I can rename it to "Search in collapsed text"and enable by default
I agree also.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: Search Hidden Text Option in Find - what it does?
« Reply #11 on: April 18, 2009, 08:47:16 PM »
Ok, I can rename it to "Search in collapsed text"
I think there i no place in find dialog :D;D :D

Quote
and 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 .

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: Search Hidden Text Option in Find - what it does?
« Reply #12 on: April 18, 2009, 08:50:25 PM »
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

Offline Arthur

  • Registered User
  • Hero Member
  • *
  • Posts: 653
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • My Blog
Re: Search Hidden Text Option in Find - what it does?
« Reply #13 on: April 18, 2009, 09:10:43 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.