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

Offline Arthur

  • Hero Member
  • *****
  • Posts: 624
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
What does "Search Hidden Text"-Option in Find-Dialog
« on: April 17, 2009, 08: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, 06:43:21 pm by Arthur »

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #1 on: April 17, 2009, 09: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, 09:32:14 pm by Stefan »

Offline Arthur

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

Offline allen

  • Newbie
  • *
  • Posts: 46
  • Karma: +2/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #3 on: April 17, 2009, 09:59:47 pm »
As long as you aren't folding anything, you have nothing to worry about :)

Offline Arthur

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

Offline allen

  • Newbie
  • *
  • Posts: 46
  • Karma: +2/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #5 on: April 18, 2009, 12: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: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Search Hidden Text Option in Find - what it does?
« Reply #6 on: April 18, 2009, 03: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 ;)

Offline allen

  • Newbie
  • *
  • Posts: 46
  • Karma: +2/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #7 on: April 18, 2009, 04: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

  • Hero Member
  • *****
  • Posts: 624
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
Re: Search Hidden Text Option in Find - what it does?
« Reply #8 on: April 18, 2009, 04: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: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Search Hidden Text Option in Find - what it does?
« Reply #9 on: April 18, 2009, 05: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

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #10 on: April 18, 2009, 07: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: 774
  • Karma: +6/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #11 on: April 18, 2009, 07: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: 774
  • Karma: +6/-0
    • View Profile
Re: Search Hidden Text Option in Find - what it does?
« Reply #12 on: April 18, 2009, 07: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

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

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
650 Views
Last post January 22, 2009, 03:40:27 pm
by Stefan
2 Replies
489 Views
Last post February 23, 2009, 12:26:19 pm
by alex
6 Replies
1024 Views
Last post November 02, 2009, 11:12:18 pm
by alex
5 Replies
277 Views
Last post July 17, 2011, 12:43:28 am
by alex
6 Replies
350 Views
Last post August 24, 2011, 05:08:07 pm
by false007