In the days long ago when I used a MAC, I had an editor that had a few unique attributes I found extremely useful but not available elsewhere. These attributes were:
1) Delete lines containing. The search option had a check box that allowed the search element to delete the entire record (line) containing the search text. This is wonderful for cleaning up messy log files.
2) Copy lines containing. Similar to above but copies entire line of text that contains the search string to the clip board so you can paste the results into a separate file. (I would have preferred it to copy the lines directly into a separate file.)
3) Delete duplicate lines. Yes, Textpad has this feature and that why I use it soooo much. Thank you!
Your consideration for 1 and 2 will be appreciated.
Greg
Suggestion for search option
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- Bob Hansen
- Posts: 1516
- Joined: Sun Mar 02, 2003 8:15 pm
- Location: Salem, NH
- Contact:
Try this:1) Delete lines containing. The search option had a check box that allowed the search element to delete the entire record (line) containing the search text.
Search, Find, Mark All.
Edit, Cut Other, Bookmarked Lines.
(Make into a macro)
Try this:2) Copy lines containing. Similar to above but copies entire line of text that contains the search string to the clip board so you can paste the results into a separate file.
Search, Find, Mark All.
Edit, Copy Other, Bookmarked Lines.
File, New, Paste.
(Make into a macro)
Hope this was helpful.............good luck,
Bob
Bob
-
- Posts: 13
- Joined: Tue Sep 02, 2003 2:43 pm
- Location: Brighton, East Sussex
- Contact:
Negative Search
I'd like to be able to flip the logic on searches, ie say "find lines that don't contain the following text".
In particular, doing negative regular expressions without having "!~" is a real pain! It only needs a little checkbox and the "if" turned into a "if not", a fairly easy one to add I would have thought compared with some suggestions.
I posted this suggestion long ago but it wasn't incorporated in the latest version, despite being told at the time by the development team that they thought it was a good idea. Maybe it got forgotten about.
In particular, doing negative regular expressions without having "!~" is a real pain! It only needs a little checkbox and the "if" turned into a "if not", a fairly easy one to add I would have thought compared with some suggestions.
I posted this suggestion long ago but it wasn't incorporated in the latest version, despite being told at the time by the development team that they thought it was a good idea. Maybe it got forgotten about.