------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4835/
------------------------------------------------------------------------------
New update by splatter2
For Beanbag, Inc. > Review Board > Ticket #4835
Reply:
We use [Pygments](http://pygments.org/) for all syntax highlighting, which
does support the highlighting, but we currently choose a lexer based on
filename and not the content. The reason is that for a long time, some file
types (large XML-based documents in particular) were so slow to guess that
Pygments would sometimes stall Apache threads. I don't believe this is a
problem anymore, so we probably will want to move to content-based lexer
selection, but probably not until Review Board 4.0, due to the significant
behavior change (which I'm sure will cause other regressions).
What file extension are you using for these files? Just `.html`?
Status:
- New
+ NeedInfo
Milestones:
+ Release-3.0.x
+ Release-4.0
Tags:
+ Component:DiffViewer
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
To view this discussion on the web visit
https://groups.google.com/d/msgid/reviewboard-issues/20190713042022.32372.50492%40ip-10-1-54-209.ec2.internal.
For more options, visit https://groups.google.com/d/optout.