Hide all then show search results
-
Hello,
Long ago I used the ISPF editor, and it had the ability to hide all lines, do a search, and it would only show lines where the result was found. Then these lines could be easily deleted, copied, etc. Is there a way to do something similar in NP++?
Thanks.
-
hide all lines
No, not in the sense you mean.
easily be copied
Yes, 2 ways at least: Copy from the
Find-result
window after doing aFind All in Current Document
search. Or use theLine Filter
plugin which will provide matched lines in a different tab. Either way it is fairly easy to copy the hit lines.easily be deleted
The best way is to do this via Regular Expression replacement. Search for what you what to delete and replace it with nothing.
If you can tell us your typical use-case, we can probably refine this advice to something more specific.