Closed
Bug 1110593
Opened 10 years ago
Closed 9 years ago
DXR should syntax highlight XUL as XML
Categories
(Webtools Graveyard :: DXR, defect)
Webtools Graveyard
DXR
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Mook, Assigned: new_one)
References
()
Details
XUL files are currently completely without syntax highlighting; as a (hopefully relatively easy) improvement, can they at least by highlighted as XML?
Looking at DXR source, I guess that's a hard-coded thing in the pygmentize htmlifier.
Assignee | ||
Comment 1•10 years ago
|
||
I believe this could be fixed in the same way as https://bugzilla.mozilla.org/show_bug.cgi?id=1168878, by setting the ending to .xml when picking the lexer.
Comment 2•10 years ago
|
||
Absolutely, if XUL has its own extension.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → peter.elmers
Assignee | ||
Comment 3•9 years ago
|
||
Fixed in https://github.com/mozilla/dxr/commit/580f2653461e2524f19e2902606b75dd5b0de7c6, not sure why the commit message wasn't picked up by the bot.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•