Ura
Ura

Reputation: 2283

Notepad++ How to paste string across multiple lines

Alt+Shift+DownKey to box-select beginning of each string followed by Ctrl+V pastes only on the first line.

Expected behavior: paste my string on all selected lines.

Using Notepad++ v5.9

Upvotes: 18

Views: 66208

Answers (3)

Naha
Naha

Reputation: 526

First you have to copy the text you want to paste to notepad, then select the text you want to paste with Alt+Shift+Down in notepad. Then follow the guideline above and select the area with Alt+Shift+Down and then paste . It is probably not a version issue. @Rombus gave the correct answer in the comment.

Upvotes: 0

Daniel
Daniel

Reputation: 8368

1) Mark

2) Push Alt+c to open Column editor

3) Enter text there

EDIT

As commented by @chapo it now works fine with Alt-Shift-Down and then pasting.

Upvotes: 23

JSR
JSR

Reputation: 6396

Can you select your column with Alt+Shift+Down, type in a single unique character then use Search+Replace to get your text inserted the way you want?

Upvotes: 2

Related Questions