On 25/04/07, Alex Ross alex.j.ross@gmail.com wrote:
god almighty; latex is such a gigantic hack, isn't it?
On that view, I think that syntax highlighting for code such as LaTeX will never be perfect. You can assign arbitrary meanings to commands, and the semantics of those commands will never be picked up by a syntax highlighter.
There's one issue with Robin's solution though: doesn't this break the 'Select Enclosing Brackets' function?
(Cannot test this at the moment; not on a Mac right now.)
cheers Hendrik