[Trac] [Q] source browser - tab space size / syntax coloring
afronin
afronin at gmail.com
Tue Jul 18 02:40:54 CDT 2006
Hi,
could anyone help me with the following two questions about the source browser?
I'm using trac 0.9.6.
1) how to change tab space size?
I see by default the tab space size is set to 8 spaces. Is there a way
to set it to be 4 spaces?
2) Syntax coloring class
I installed SilverCity for syntax coloring feature to take effect.
It's working fine, but I want to customize the color assignment. I
looked at code.css, and it seems like all the keywords are classified
into only a few categories (classes). For example, the variable types
(i.e., int, float) and the flow control keywords (i.e., for, if) are
all classified into a class called c_word, and the only one, same
color can be assigned to these words.
Is there a way to change this classification so that different colors
can be assigned to these different types of words?
thanks,
-xafro
More information about the Trac
mailing list