The problem is about when I try to copy along code from some web site with many code lines and paste it on notepad++

The problem is that the code paste with one very lone line Seems like no (no return after each line from the original code)

Please advice if some one have idea how to paste the code without to get one line ?

Example

I copy this:

  Echo " option wait"
  Sleep 10
  Echo "end"

I get on paste that:

 Echo " option wait"  Sleep 10  Echo "end"
link|improve this question
Although this is off topic for SF, you will also want to watch for CMS-powered sites which "prettify" the code. You'll get silly things like double-quotes as smart-quotes and the like. – jscott Dec 29 '11 at 13:32
What is the application you are copying from? And does the code also paste incorrectly in a standard text editor like notepad? – Tim Dec 29 '11 at 13:45
feedback

closed as off topic by SvenW, jscott, Greg Askew, Sam Dec 29 '11 at 14:36

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

This is off-topic.

Saying that, I tried what you have mentioned, copied and pasted to notepad++ but could not replicate the issue. You need to ideally copy and paste into Notepad, this remove ALL formatting and then copy this into notepad++.

It does depend on what you copy, if it does not have a CR (carriage return), then it will paste in one line. CR are not visible as such, just how the page is rendered.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.