Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4999 closed defect (duplicate)

PygmentsRenderer is not active in the ChangeSet-View (diff-view)

Reported by: eb@… 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 Emmanuel Blot, 17 years ago

Keywords: pygments added; Pygments ChangeSet diff removed

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.

comment:2 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

As manu said, but see #3694, which discusses an alternative.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.11

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.