in our wiki, C++ code is nicely formatted when using the "<code>[cpp]"
tag. However, the color scheme isn't really perfect: Identifiers are
show in some very bright cyan, on some light gray background - nearly
unreadable, and definitely eye-hurting, in my opinion.

For an example, look at
http://wiki.services.openoffice.org/wiki/Development/Cpp/Helper/OPropertyContainerHelper#Example.

Does anybody here have the power to correct this, by setting up another
style for identifiers (bold black, for instance)?

The Syntax Highlighting on the OpenOffice.org Wiki is using GeSHi version 1.0.7.4 (the current version is 1.0.7.20). http://qbnz.com/highlighter/

The styles given are set in CSS format wrapped in a php file... one php file for each language supported. There are a couple of methods to define custom styles, but... it's not a quick simple change.
http://qbnz.com/highlighter/geshi-doc.html#changing-styles
A tool is provided in the GeSHi source to generate custom CSS, but I don't think anyone has actually tried it here.


C.
--
Clayton Cornell             Tel: x66717
Sun Microsystems, Inc.      Tel: +49 40 2364 6717
Nagelsweg 55                mailto:[EMAIL PROTECTED]
D-20097 Hamburg, Germany    http://www.sun.com/staroffice

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to