Community
    • Login

    display the entire section in the output window

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 1.7k Views
    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.
    • aajezA Offline
      aajez
      last edited by

      Hi All,

      when searching for text Section (multiple lines), in output window only first line of section is presented,

      how to make Notepad display the entire section found ?

      ^zone.\r\n(^.\r\n)*

      e50cee15-ce9a-4fa3-925c-c5660c0f9758-image.png

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @aajez
        last edited by

        @aajez

        It is only designed to show the first line. If you want to see the entire match, double-click the result and the entire match will be selected in the main editing window.

        1 Reply Last reply Reply Quote 0
        • aajezA Offline
          aajez
          last edited by

          upsss, but then it is useless …
          if I wish to copy all section-matches ?

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA Offline
            Alan Kilborn @aajez
            last edited by

            @aajez

            I can’t tell for certain because your screenshot is small and doesn’t reveal all, but…

            It appears your search expression may match complete lines. If this is true, you can copy the matches with the following technique:

            • Switch to the Mark tab of the Find window.
            • Tick the Bookmark line option.
            • Probably also tick the Wrap around option.
            • Press the Mark All button. All of your matches will be highlighted in red, and a bookmark symbol will appear between the line numbers and the text of the lines that hit.
            • Go to the Search menu, Bookmark submenu, and choose from that Copy Bookmarked Lines

            In the event that your search expression does not match entire lines, there are some more involved techniques for copying the text, but I’ll leave that alone for now, unless we hear back that that’s really what you need to do. Also, it appears there is an open issue for copying red-marked, without using the bookmarking method; see “Marked text needs to be copyable”.

            1 Reply Last reply Reply Quote 3

            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