This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes Inserting Code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Inserting Code?" Watch "Inserting Code?" New topic
Author

Inserting Code?

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
How can I copy and paste a snippet of code (in order to ask a question), without the code losing its formatting (e.g. indentation, tab spacing, etc.)?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Use the UBB "CODE" tags. On the editing screen, look below the big textarea and you'll see a bunch of buttons; one button says "CODE". Push it to create a set of CODE tags. Put your code in between those tags, and any formatting will be preserved.


[Jess in Action][AskingGoodQuestions]
Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inserting Code?
 
Similar Threads
build.xml question
onload
input type=file
Netscape7.1 and window.createPopup()
Why we live?