Community
    • Login

    Can I do this with multi-edit?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 380 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.
    • C
      curya
      last edited by

      Let’s say I have these two documents:
      alt text
      alt text

      Can I use multi-edit to somehow paste them together to get this result?
      alt text

      mkupperM 1 Reply Last reply Reply Quote 1
      • mkupperM
        mkupper @curya
        last edited by

        @curya I’m getting “404 not found” errors with those links. Try small (ten line) samples of text pasted directly into the forums. Put lines with
        ```
        your text goes here
        ```
        before and after the text when posting to the forum.

        The ` are backticks and usually in the upper-left of a keyboard. On my keyboard it’s on the same key as the ~ character.

        C 1 Reply Last reply Reply Quote 1
        • C
          curya @mkupper
          last edited by

          @mkupper Sorry. First time posting here. Let me try again…

          Let’s say I have these two documents:
          alt text
          alt text

          Can I use multi-edit to somehow paste them together to get this result?
          alt text

          CoisesC mkupperM 2 Replies Last reply Reply Quote 0
          • CoisesC
            Coises @curya
            last edited by

            @curya said in Can I do this with multi-edit?:

            Can I use multi-edit to somehow paste them together to get this result?

            You can do that with rectangular selections.

            Click at the beginning of the first line of the first document (before the first character but still to the right of the margin). Scroll (if necessary) to the end of the document. Now, hold down the Shift and Alt keys and click in the empty space to the right of the text. This will form a “rectangular selection.” Be sure all the text on all lines is included. (It doesn’t matter how far to the right the rectangle extends so long as it includes all the text.) Press Ctrl+c to copy this to the clipboard.

            Now, switch to the second document, click before the first character of the first line, and press Ctrl+v.

            1 Reply Last reply Reply Quote 3
            • mkupperM
              mkupper @curya
              last edited by mkupper

              @curya One other hint to add to what @Coises posted is to use Notepad++'s hide-lines feature.

              Let’s say your files have 1000 lines each.

              Line 1
              Line 2
              Line 3
              ...
              Line 998
              Line 999
              Line 1000
              

              Create a normal selection that spans lines 2 to 999, right click the selection, and select Hide Lines which is the last option. You will now see:

              Line 1 (with a green ⮞ arrow in front of it)
              Line 1000 (with a green ⮜ arrow in front of it)
              

              You can now create the column selection using lines 1 and 1000 as the guide for where to place it. The column oriented copy/paste will include the hidden lines as part of the selection.

              Click either of the green arrows to unhide the lines.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors