Although, the (XML) output should contain the semantic meaning not how it should be displayed. That is, it should contain something like <no-match>int</no-match> rather than <red>int</red>.
Right.
So I took a stab at playing with this in dmd... and it actually isn't too hard, but it does need some refactoring of string code. I really do think it would be a big improvement.
