All Things WinBatch > Customer Service

Code highlighting and copy paste

(1/2) > >>

....IFICantBYTE:
Deana or Tony,
this new board is great, but I noticed that when I try to copy example code (like your RSS feed example Deana) and paste it into WinBatch Studio, it all comes in as one line.. ie. there are no CRLFs at the end of each line, even though it looks fine in the web page.
I noticed you are using Geshi to colour the code... I tried some Winbatch code on the Geshi web site: http://qbnz.com/highlighter/demo.php
and it seemed to output coloured code I could copy/paste ok into Studio, so perhaps you can change the new WB forum to do whatever they are doing? Or perhaps add a "Copy Code" button next to any posted code that could then format it nicely for a clipboard copy/paste?

Regards,
....IFICantBYTE
 
 

kdmoyers:

--- Quote from: ....IFICantBYTE on June 13, 2013, 08:42:17 pm ---I noticed that when I try to copy example code (like your RSS feed example Deana) and paste it into WinBatch Studio, it all comes in as one line.. ie. there are no CRLFs at the end of each line, even though it looks fine in the web page.

--- End quote ---
Funny, I just did exactly that, and the code came in fine -- all on separate lines, ready to run.
Wonder what was different?  Maybe browser? I'm on Chrome.
-Kirby

JTaylor:
I get line breaks copying/pasting from Firefox.

Jim

stanl:
Works fine in IE 10

td:
We tested syntax highlighting with the latest versions of Safari and Opera along with IE, FireFox, and Chrome before we announced the new board. All passed line breaks to WinBatch Studio.   

Navigation

[0] Message Index

[#] Next page

Go to full version