Community
    • Login

    View only searched lines

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 3 Posters 321 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Giuseppe Aiosa 0G Offline
      Giuseppe Aiosa 0
      last edited by

      is there any function or existing plugin to view/extract only those line which match the tezt search?

      Terry RT CoisesC 2 Replies Last reply Reply Quote 0
      • Terry RT Offline
        Terry R @Giuseppe Aiosa 0
        last edited by

        @Giuseppe-Aiosa-0

        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 0G 1 Reply Last reply Reply Quote 0
        • Giuseppe Aiosa 0G Offline
          Giuseppe Aiosa 0 @Terry R
          last edited by

          @Terry-R

          Great, found it, exactly what I needed.

          Many thanks!

          1 Reply Last reply Reply Quote 0
          • CoisesC Offline
            Coises @Giuseppe Aiosa 0
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors