Hi Marcin,

There's no setting for this yet, but I know someone was working on one. It's
too late to get it into 1.0, but it's possible we can encourage him to get
it ready for 1.1 :)

This is really an issue in Pygments, the third-party library we use for
syntax highlighting. They hard-code the extensions for certain file types.
While we can override in the future, it really would be ideal if they had a
way of customizing this better. Right now it requires modifying some files
in the Pygments tree directly and running a script (I don't remember the
details on how that works off-hand).


Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com

On Mon, Jun 15, 2009 at 2:51 PM, MStruzak <mar...@pbanker.com> wrote:

> Hi --
> I apologize if this has been answered elsewhere.  I see strange
> artifacts when displaying diffs of PHP code.  Essentially all my $ @ !
> and ' get a red box around them.  I use .inc extensions on my files.
> Is there a setting (more specific than on/off on the admin page) where
> I could indicate what extension uses what language?  (I am pretty sure
> that ReviewBoard treats my files as something else, maybe Pascal?).
> Thanks!
> --Marcin
> >

You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to