Community
    • Login

    How to I paste external text into Wordpad++ Vertically ?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    9 Posts 3 Posters 620 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.
    • L WintersL
      L Winters
      last edited by

      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.

      CoisesC 1 Reply Last reply Reply Quote 0
      • CoisesC
        Coises @L Winters
        last edited by

        @L-Winters

        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.

        L WintersL 1 Reply Last reply Reply Quote 2
        • L WintersL
          L Winters @Coises
          last edited by

          @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 Dandy

          I want each word to be on separate lines vertically.
          Thanks

          CoisesC 1 Reply Last reply Reply Quote 0
          • rdipardoR
            rdipardo
            last edited by

            @Coises

            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
            
            CoisesC 1 Reply Last reply Reply Quote 3
            • CoisesC
              Coises @L Winters
              last edited by

              @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 Dandy

              I 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 expression

              Then click Replace All and see if that does what you want.

              L WintersL 1 Reply Last reply Reply Quote 1
              • L WintersL
                L Winters @Coises
                last edited by

                @Coises Absolutely awesome. Worked perfectly. Thanks so much. And thank you @rdipardo for your suggestion.

                1 Reply Last reply Reply Quote 0
                • CoisesC
                  Coises @rdipardo
                  last edited by Coises

                  @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 WintersL 1 Reply Last reply Reply Quote 2
                  • L WintersL
                    L Winters @Coises
                    last edited by

                    @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++? If so, can you please give me the steps to do so? Thanks.

                    CoisesC 1 Reply Last reply Reply Quote 0
                    • CoisesC
                      Coises @L Winters
                      last edited by

                      @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.

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