• Login
Community
  • Login

Paste/Join Lines command

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
9 Posts 3 Posters 3.1k 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.
  • A
    Austin Dean Combs
    last edited by Mar 11, 2018, 10:28 PM

    I attend a tech school and when I copy texts that have multiple lines, and paste them in notepad++ it pastes it all as one line. Which I love. However, on my personal computer, it doesn’t do this. I have searched for the reason but I can’t seem to find out why it does this. Any suggestions?

    C 1 Reply Last reply Mar 13, 2018, 2:30 PM Reply Quote 0
    • C
      Claudia Frank @Austin Dean Combs
      last edited by Mar 13, 2018, 2:30 PM

      @Austin-Dean-Combs

      copying multiple lines and pasting it into npp results in multiple lines per default.

      The only reason I can think of is that the multiple lines don’t have
      end of line characters set, in this case npp would put it into a single line
      but if it can detect eols then, of course, it will create multiple lines in the doc.

      So the question is, what did you copy, how and from where to get only
      pasting a result of one line?

      Cheers
      Claudia

      1 Reply Last reply Reply Quote 0
      • A
        Austin Dean Combs
        last edited by Mar 14, 2018, 5:57 PM

        It just seems like anything I copy gets pasted in multiple lines. For example; i can copy response and paste it into npp and it shows up in multiple lines. However, if I were to do the same thing on the other computer, it would show up as one line. Which is what I want.

        C 1 Reply Last reply Mar 15, 2018, 12:01 PM Reply Quote 0
        • C
          Claudia Frank @Austin Dean Combs
          last edited by Claudia Frank Mar 15, 2018, 12:02 PM Mar 15, 2018, 12:01 PM

          @Austin-Dean-Combs

          as said, this is the way it works normally. So it looks like there is either a plugin used
          which provides this functionality or, as mentioned before, the clipboard data didn’t
          contain any end of line chars.

          One way to join those lines would be using

          Edit->Line Operations->Join Lines

          after you selected the lines which should be joined,
          otherwise the whole document gets linearized.

          Cheers
          Claudia

          S 1 Reply Last reply Mar 15, 2018, 1:02 PM Reply Quote 1
          • S
            Scott Sumner @Claudia Frank
            last edited by Mar 15, 2018, 1:02 PM

            @Claudia-Frank

            My experience is that if there is nothing selected when invoking Join Lines, then nothing happens. If something is selected in a normal stream block, then the lines touched by the selection (partially or wholly) get joined. Only when the entire document is selected do all lines get combined into one space-separated line.

            C 1 Reply Last reply Mar 15, 2018, 1:10 PM Reply Quote 2
            • C
              Claudia Frank @Scott Sumner
              last edited by Mar 15, 2018, 1:10 PM

              @Scott-Sumner

              you are right, must have been remembered incorrectly.
              Thx for clarification :-)

              Cheers
              Claudia

              S 1 Reply Last reply Mar 15, 2018, 1:17 PM Reply Quote 0
              • S
                Scott Sumner @Claudia Frank
                last edited by Mar 15, 2018, 1:17 PM

                @Claudia-Frank

                And of course, I can never actually remember how this works, so I changed the menu text to help with that. :-)

                Imgur

                1 Reply Last reply Reply Quote 3
                • A
                  Austin Dean Combs
                  last edited by Mar 16, 2018, 1:57 AM

                  I figured it was a plugin or something of the sort. I was hoping someone would be able to tell me what it was. Thanks!

                  C 1 Reply Last reply Mar 16, 2018, 2:27 PM Reply Quote 0
                  • C
                    Claudia Frank @Austin Dean Combs
                    last edited by Mar 16, 2018, 2:27 PM

                    @Austin-Dean-Combs

                    if you still have access to the other computer, check which plugins are in use
                    (debug-info under ?) and then see which one is missing on your computer.

                    Cheers
                    Claudia

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