Closed Bug 1110593 Opened 10 years ago Closed 9 years ago

DXR should syntax highlight XUL as XML

Categories

(Webtools Graveyard :: DXR, defect)

defect
Not set
normal

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.
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.
Absolutely, if XUL has its own extension.
Assignee: nobody → peter.elmers
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
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.