Way to show all occurences of FIND in current file?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
armstrda
Posts: 1
Joined: Fri May 08, 2009 5:48 pm

Way to show all occurences of FIND in current file?

Post by armstrda »

Is there a way to get the FIND command (F5) to show all occurrences in the search output like the find in files does? I would love to be able to search for a string in the open file and have every line output to the search results window without having to click on search in files, then get the path to the file, and all that.

Thanks in advance!

David
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Click Defaults to set the folder to the folder of the current file.
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

not in search results but with one klick in new file

Post by woho »

hi
if it is not about doublclick and jumping to the searched line but
about having an overview about all the lines this may also fullfill your needs:
http://forums.textpad.com/viewtopic.php?p=33550#33550

regards
wolfgang
paleolith
Posts: 46
Joined: Sun Jun 26, 2005 6:25 pm
Contact:

Post by paleolith »

In the FIND dialog, click Mark All.

Then Edit -> Copy Other -> Bookmarked lines.

File -> New.

Edit -> Paste.

As woho says, it's not linked to the original file, so you can't double-click to go to the line in the original as you can with search results. But if you just want to see all the lines, it's very useful.

Edward
User avatar
Bob Hansen
Posts: 1517
Joined: Sun Mar 02, 2003 8:15 pm
Location: Salem, NH
Contact:

Post by Bob Hansen »

You can also take the steps above from paleolith and make them into a macro, and then assign a hot key to that macro.
Hope this was helpful.............good luck,
Bob
User avatar
woho
Posts: 100
Joined: Tue Sep 02, 2003 9:12 am
Location: Steyr/Austria
Contact:

like proposed

Post by woho »

in the link above :-)
Post Reply