aspose file tools*
The moose likes Beginning Java and the fly likes An issue with specified 'code' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "An issue with specified Watch "An issue with specified New topic
Author

An issue with specified 'code'

Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
When i try to copy and paste code from this cool place called Javaranch forums, to test things for myself, i encounter a strange phenomena with text that has been marked "code" ... it does not copy the returns in, so when i paste it into TextPad, it just appears as one long line... is there a way around this?


giddee up
Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
actually i just thought of a way around it.. click on the 'quote' button, then copy the code itself within that box that comes up...pastes fine after that.
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9053
    
  12
Exactly what I was going to suggest.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Sridhar Srikanthan
Ranch Hand

Joined: Jan 08, 2003
Posts: 366
I usually copy it into Word and copy it back into my editor from there
Your suggestion is also good.
Thanks
Sri
Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
nice idea Sri, i had assumed that TextPad would have the same capability as Word, but obviously not, so i must try this technique.
btw - TextPad is really cool, it puts automatic formating as you type java code(if the file is saved first as something.java).
Jasper Vader
Ranch Hand

Joined: Jan 10, 2003
Posts: 284
Originally posted by Marilyn de Queiroz:
Exactly what I was going to suggest.


noway - i must have somehow plugged directly into the JavaRanch Collective Code Conciousness Library while posting the topic!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: An issue with specified 'code'