Filter

General questions about using TextPad

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

Post Reply
Oehme, Jörg

Filter

Post by Oehme, Jörg »

I search an add-on/possibility to show only lines with a search-criterion!? (like the function "all / ..." in the OS/2 editor EPM)
Who can help me?

Thx

Jörg Oehme
Randall McDougall

Re: Filter

Post by Randall McDougall »

Set your search criteria in "Find" and select "Mark All", then go to the "Search" pulldown and click "InvertAll Bookmarks", lastly in either the "Edit" pulldownor right-click context menu select "Delete"/"Bookmarked Lines" ... leaving only those that matched. You probably *don't* want to save at that point so be careful -- or copy the file somewhere else andwork with that ...

If you use it a lot, a macro would save a lot of time (and could do the copy to a new doc automatically too). It's even possible to add linenumbers to the new/temp doc and load the final version in the command results window so that you can hypertext-jump back to the correct line of the original document ... but that gets a bit complicated to explain here.
Post Reply