Forums Register Login

Copy / Paste code from posts

+Pie Number of slices to send: Send
When I copy code from a post whether it is in a code block or not, then paste it in my editor it is all in one long line.
Has anyone else experienced this?
Is this normal?
Or is there a fix?

Using Scintila Text Editor Version 1.51-wbd-1 on a Windows XP machine.
Thanks
+Pie Number of slices to send: Send
It's an HTML thing.
What I normally do is select "Reply with quote" on the post, then cut the code from the editor window.
+Pie Number of slices to send: Send
What I normally do is select "Reply with quote" on the post, then cut the code from the editor window.
Me too. Well, I really use the "edit post" key rather than "reply with quote", but same idea. Either way we don't actually submit the reply/changes, we just use the window to get a different view of the code, and grab a copy of that. One complication though is that when we do this, although line breaks and indentation have been preserved, all < and > have been replaced with &lt; and &gt;. It's necessary to go back and fix these. Fortunately your compiler will tell you about any you miss.
+Pie Number of slices to send: Send
I think that only sheriffs (and sometimes bartenders) can do the "edit" thing nowadays.
+Pie Number of slices to send: Send
Guess you're right. Pity. Well, the warning about &lt; &gt; is still valid at least.
There’s no place like 127.0.0.1. But I'll always remember this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 971 times.
Similar Threads
Carriage Return?????????
Component ID frm1_window viewid has already been found in the view
Useful tool for Tomcat
how to copy code
How does copy from code samples work?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 03:12:29.