179: Files with .sc extension should be highlighted as Python

owen.y*******@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
Oct. 1, 2007
What's the URL of the page containing the problem?
Any instance of the diff-viewer containing a diff of a file ending in .sc, which denotes a script for 
the build system SCons.

What steps will reproduce the problem?
1. Create a diff that includes a change to a SConscript, and view it with the Review Board diff 
viewer.

What is the expected output? What do you see instead?
The expected behavior is for file's contents to be syntax-highlighted as if it were Python code 
(since that is what SConscripts are written in). Instead, no syntax highlighting is applied at all.

What operating system are you using? What browser?
The problem is present in all OSs and browsers.
david
#1 david
  • +Component-DiffViewer
chipx86
#2 chipx86
  • -Type-Defect
    +Type-Enhancement
chipx86
#3 chipx86
Our syntax highlighting comes from Pygments, so this isn't really our issue. I've
filed a feature request against Pygments asking for this.

http://dev.pocoo.org/projects/pygments/ticket/298
  • +ThirdParty
  • +chipx86