Hide all then show search results
N1ST last edited by
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++?
Alan Kilborn last edited by
hide all lines
No, not in the sense you mean.
easily be copied
Yes, 2 ways at least: Copy from the
Find-resultwindow after doing a
Find All in Current Documentsearch. Or use the
Line Filterplugin 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.