Can I do this with multi-edit?
-
Let’s say I have these two documents:
Can I use multi-edit to somehow paste them together to get this result?
-
@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.
-
@mkupper Sorry. First time posting here. Let me try again…
Let’s say I have these two documents:
Can I use multi-edit to somehow paste them together to get this result?
-
@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.
-
@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.