Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JForum
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
JForum
Code with Colors
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
It would be nice to be able to format our source code with colors.
For example: (i am using the color tag inside the code that below, but it does not work)
public [color="red"]class[/color] Test { }
def hello puts "Hello" end
Probably because JForum is already using a color component to render the code?
[originally posted on jforum.net by saoj]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you want to colorize it to a specific language, just use [code="language"] when writing the message.
Rafael
[originally posted on jforum.net by Rafael Steil]
Oh the stink of it! Smell my tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
weird problem..new html wouldn't show
button in jpanel should change background of jframe?
JColorChooser white doesn't fire event
Selection color and selected text color - Urgent
changing colors
More...