On Tue, 2006-07-18 at 00:40 -0700, afronin wrote:
> 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?

http://trac.edgewall.org/wiki/TracIni#mimeviewer

> 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?

No, I think SilverCity only provides one class for the language's
"keywords".  It may be possible to edit the SilverCity lexers to
customize this, but you'll need to check with them for help on doing
that:
http://silvercity.sourceforge.net/

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to