• Login
Community
  • Login

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

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 3 Posters 643 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
    L Winters
    last edited by Aug 18, 2024, 5:33 PM

    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.

    C 1 Reply Last reply Aug 18, 2024, 5:45 PM Reply Quote 0
    • C
      Coises @L Winters
      last edited by Aug 18, 2024, 5:45 PM

      @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 1 Reply Last reply Aug 18, 2024, 6:14 PM Reply Quote 2
      • L
        L Winters @Coises
        last edited by Aug 18, 2024, 6:14 PM

        @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

        C 1 Reply Last reply Aug 18, 2024, 6:28 PM Reply Quote 0
        • R
          rdipardo
          last edited by Aug 18, 2024, 6:25 PM

          @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
          
          C 1 Reply Last reply Aug 18, 2024, 6:49 PM Reply Quote 3
          • C
            Coises @L Winters
            last edited by Aug 18, 2024, 6:28 PM

            @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 1 Reply Last reply Aug 18, 2024, 6:36 PM Reply Quote 1
            • L
              L Winters @Coises
              last edited by Aug 18, 2024, 6:36 PM

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

              1 Reply Last reply Reply Quote 0
              • C
                Coises @rdipardo
                last edited by Coises Aug 18, 2024, 6:50 PM Aug 18, 2024, 6:49 PM

                @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 1 Reply Last reply Aug 18, 2024, 11:53 PM Reply Quote 2
                • L
                  L Winters @Coises
                  last edited by Aug 18, 2024, 11:53 PM

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

                  C 1 Reply Last reply Aug 19, 2024, 12:27 AM Reply Quote 0
                  • C
                    Coises @L Winters
                    last edited by Aug 19, 2024, 12:27 AM

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