• Login
Community
  • Login

Can I do this with multi-edit?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 401 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 Dec 27, 2023, 6:36 PM

    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

    M 1 Reply Last reply Dec 27, 2023, 8:31 PM Reply Quote 1
    • M
      mkupper @curya
      last edited by Dec 27, 2023, 8:31 PM

      @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 Dec 28, 2023, 1:55 AM Reply Quote 1
      • C
        curya @mkupper
        last edited by Dec 28, 2023, 1:55 AM

        @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

        C M 2 Replies Last reply Dec 28, 2023, 2:38 AM Reply Quote 0
        • C
          Coises @curya
          last edited by Dec 28, 2023, 2:38 AM

          @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
          • M
            mkupper @curya
            last edited by mkupper Dec 28, 2023, 5:12 PM Dec 28, 2023, 5:11 PM

            @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
            5 out of 5
            • First post
              5/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors