Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Paste/Join Lines command

    Help wanted · · · – – – · · ·
    3
    9
    2387
    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.
    • Austin Dean Combs
      Austin Dean Combs last edited by

      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?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Austin Dean Combs last edited by

        @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
        • Austin Dean Combs
          Austin Dean Combs last edited by

          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.

          Claudia Frank 1 Reply Last reply Reply Quote 0
          • Claudia Frank
            Claudia Frank @Austin Dean Combs last edited by Claudia Frank

            @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

            Scott Sumner 1 Reply Last reply Reply Quote 1
            • Scott Sumner
              Scott Sumner @Claudia Frank last edited by

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

              Claudia Frank 1 Reply Last reply Reply Quote 2
              • Claudia Frank
                Claudia Frank @Scott Sumner last edited by

                @Scott-Sumner

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

                Cheers
                Claudia

                Scott Sumner 1 Reply Last reply Reply Quote 0
                • Scott Sumner
                  Scott Sumner @Claudia Frank last edited by

                  @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
                  • Austin Dean Combs
                    Austin Dean Combs last edited by

                    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!

                    Claudia Frank 1 Reply Last reply Reply Quote 0
                    • Claudia Frank
                      Claudia Frank @Austin Dean Combs last edited by

                      @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
                      • First post
                        Last post
                      Copyright © 2014 NodeBB Forums | Contributors