How to I paste external text into Wordpad++ Vertically ?
-
Whenever I paste a group of external words that was copied outside of Wordpad++, the words are on one horizontal line. I want the words to be on multiple vertical lines. Thanks.
-
I’m assuming you mean Notepad++, which is the subject of this forum. If you really mean Wordpad++, you are in the wrong place, and none of us will be able to help you.
With one limited exception (specific source code editors, such as the editor in Visual Studio, which support multiple selections and/or column selections and use the same non-standardized signal as Notepad++ that they have done that), you can’t get that in Notepad++. You can only paste what you copied, which will be understood as plain text without formatting.
What you can do is use the search and replace features of Notepad++ to convert spaces between words into line breaks. Without an example, I can’t suggest specifics, because you might mean something different than what I am imagining you mean.
There is a section in the online manual about searching and replacing that will help you understand what is possible.
-
@Coises Yes sorry, I did mean Notepad++. When I copy words from any outside source, and try and paste into Notepad++, all the words remain on a single horizontal line.
Example:
bandy Bandy Baney bangy banky banty Banwy Danby dancy Dancy dandy DandyI want each word to be on separate lines vertically.
Thanks -
FYI, Scintilla recently introduced an API for pasting multiple selections with delimiters between the segments: https://sourceforge.net/p/scintilla/feature-requests/1530
So, for example, a future version of N++ could have a control that sends an string to
SCI_SETCOPYSEPARATOR
. If the input is\r\n
, then, when the user copies:one two three
the clipboard content will be:
one\r\ntwo\r\nthree
which, when pasted, looks like
one two three
-
@L-Winters said in How to I paste external text into Wordpad++ Vertically ?:
Example:
bandy Bandy Baney bangy banky banty Banwy Danby dancy Dancy dandy DandyI want each word to be on separate lines vertically.
You can’t change how it pastes. You can use search and replace features to change the spaces between words into line breaks.
Try:
Paste your text into an empty tab.
Select Search | Replace… from the main menu and fill in:
Find what:\h+
Replace with:\r\n
Wrap around: checked
Search mode: Regular expressionThen click Replace All and see if that does what you want.
-
-
@rdipardo said in How to I paste external text into Wordpad++ Vertically ?:
FYI, Scintilla recently introduced an API for pasting multiple selections with delimiters between the segments: https://sourceforge.net/p/scintilla/feature-requests/1530
That should make it possible to get rid of this Notepad++ modification to Scintilla.
I don’t see it making any difference in text copied from other applications, though.
-
-
@L-Winters said in How to I paste external text into Wordpad++ Vertically ?:
@Coises I’m not very computer savvy unfortunately so are you and @rdipardo suggesting that there is a way that I can add the command to my Notepad++?
No. That little side discussion had to do with the programming behind Notepad++. It’s irrelevant to end users.