well it sort of depends on how your editor does syntax highlighting
Hanns Holger Rutz
Currently, it just runs the lexer on the whole buffer when you edit, since that is so far a pretty fast operation. Then I get like a token iterator, and that's mapped to font attributes. I already do one extra mapping from scalariform tokens to my own, so that wouldn't be the problem.
But ideally I could distinguish whether a symbol is a class, an object, refers to a local variable or a class variable, etc. I thought that was called semantic highlight.