#4999 closed defect (duplicate)
PygmentsRenderer is not active in the ChangeSet-View (diff-view)
Reported by: | Owned by: | Christian Boos | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | version control/changeset view | Version: | devel |
Severity: | minor | Keywords: | pygments syntax highlighting |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Within the repository source code browser, Pygments is active. When using the ChangeSet view (inline or side-by-side) the code is diff-colored (great!), but not rendered with syntax highlighting. Could be related to #4574?
citing from TracSyntaxColoring: Trac supports language-specific syntax highlighting of source code in wiki formatted text and the repository browser (and please in the ChangeSet view)
trac 0.11dev_r4939 on Python 2.4 with Genshi 0.3.6 and Pygments 0.7.1
(effect with Opera9, IE6, !FireFox2)
Attachments (0)
Change History (3)
comment:1 by , 18 years ago
Keywords: | pygments added; Pygments ChangeSet diff removed |
---|
comment:2 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
As manu said, but see #3694, which discusses an alternative.
comment:3 by , 18 years ago
Milestone: | 0.11 |
---|
I guess that if it is to be implemented, there should be a user setting to disable such syntax highlighting to speed up page generation on the server side, transmission time as well as rendering on the web browser.
Syntax highlighting is already kinda slow on some conditions, and changeset generation is slow as well. Combining both could slow down the page rendering even more.