Highlight all occurrences of a string throughout a document?

General questions about using TextPad

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

Post Reply
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

Highlight all occurrences of a string throughout a document?

Post by leegold »

Hi,

Is there a feature to highlight "abc" for example and have Textpad highlight all occurrences of "abc" throughout a document? Would be most useful in my case but don't see the option.

Thanks
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

After you've selected "abc", click Search > Find and then click Mark All. This places a bookmark on each line that contains the selected string. You can then use the commands in the Search menu to work with them. That's the closest that TextPad has to what you've described.
leegold
Posts: 65
Joined: Sat May 03, 2003 1:16 am
Location: USA

Post by leegold »

That's good but my situation is I have very long text string. Say you're extracting data from a web page - the result can be a very long string. Many editors "break" with such a big string, but no problem with Textpad and it will wrap it to the window fast. But the bookmarking you mentioned only works with separate lines in a file.

I need just, highlight all occurrences.

I'm locked into to using Textpad because it will not complain about the file but wish it had this useful feature.

Thanks
Nial
Posts: 29
Joined: Fri May 09, 2003 12:04 pm

Post by Nial »

YES!

Details in a very old thread here.....

http://forums.textpad.com/viewtopic.php?t=3848

I've had to re-install textpad in a PC after a rebuild and am only realising how much I rely on this when I haven't re-installed it yet.

The textpad developers mustn't have tried this yet or it would have been included as new functionaltiy in an update!


Nial
Post Reply