View only searched lines
-
is there any function or existing plugin to view/extract only those line which match the tezt search?
-
Yes a built-in function called “Mark”. Combined with the “bookmark” option it will “tag” any line that has the search string. Then you can cut or copy the bookmarked lines to another tab/file. You can also remove non-bookmarked lines, if seeking a different way of getting a result.
Either search this forum for “mark” for examples or read the online manual to get more information.
Terry
PS I’m writing this on a smartphone so can’t easily provide all the links to details.
-
-
@Giuseppe-Aiosa-0 said in View only searched lines:
is there any function or existing plugin to view/extract only those line which match the tezt search?
If you like to experiment, I am working on a plugin for search which includes a Show command that hides all lines and then shows just the ones with matches.
It’s still a work in progress, but everyone is welcome to try it and offer bug reports, suggestions and complaints. See this thread for ongoing discussion; go here to find the latest version.