Page 1 of 1

Find in files function: add a current document checkbox

Posted: Wed Dec 17, 2003 4:47 pm
by mpniel
To simply run the Find in Files function on the current open document, just add a checkbox to be able to flag this option.
This would be very usefull in case of large documents, having to find all the occurences of a word.
I know it can be done now also, but it would save lot of time to have this check box instead of typing the current file name and directory, which are very known to the system.

Posted: Wed Dec 17, 2003 10:42 pm
by Bob Hansen
I must be confused because I don't understand what you are doing here:
typing the current file name and directory,
How are you doing a Find now for the current document that means you have to type in a name and directory?

Have you tried adding the Search Toolbar to your view?
One click opens Find, vs. doing Edit, Find clicks.

Posted: Thu Dec 18, 2003 11:19 am
by mpniel
I am sorry again Bob but i'am afraid you didn't get my point.
I am talking about "Find in Files" function and NOT the Find function.

Posted: Thu Dec 18, 2003 12:03 pm
by MudGuard
At least for the directory, you can press the "Defaults" button to get the directory of the current file.

And yes, a "This file" and "All open files" would be very useful - sometimes you just want to see the search results in one place (in the search result window)

Posted: Thu Dec 18, 2003 1:20 pm
by Thomas Schremser
MudGuard wrote:And yes, a "This file" and "All open files" would be very useful - sometimes you just want to see the search results in one place (in the search result window)
I'd vote for an additional button (ie "Show all") on the "normal" find dialog for that.

Posted: Thu Dec 18, 2003 2:01 pm
by MudGuard
Both ways were best... ;-)

Posted: Thu Dec 18, 2003 2:16 pm
by mpniel
I'd vote for additional checkboxes (ie "Show first n occurrences"), (ie "Show last n occurrences") in the "normal" find.
Alternatively, additional checkboxes (ie "Curend document"), (ie "All documents") in the "Find in Files". :lol:

"Show search results" option in Find dialog

Posted: Tue Jan 27, 2004 9:39 am
by jhmagnus
I vote for a "Show search results" boolean option in the Find dialog, giving a "Search results" window with a list of all occurrences in the open document(s), identical to the "Find In Files" functionality.

This gives a good overview, and it enables browsing through the hits with F4, across documents.

I very often need this, but at the moment I have to make a Find files in a given directory to get this behaviour. I find this to be is an unnecessary detour.

yes yes yes, I vote for this feature

Posted: Tue Jan 27, 2004 8:43 pm
by lichudang
yes yes yes, I went through the whole forum registration just to post a suggestion like this, and here exactly I would like to post. Please, I would love this feature added on.

Posted: Sun Jan 13, 2008 11:15 am
by Cloink
I've created a poll on this topic, see here:-
http://forums.textpad.com/viewtopic.php?t=9093