Paste/Join Lines command
-
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?
-
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 -
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.
-
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 -
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.
-
you are right, must have been remembered incorrectly.
Thx for clarification :-)Cheers
Claudia -
And of course, I can never actually remember how this works, so I changed the menu text to help with that. :-)
-
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!
-
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