As of MATLAB r2008a, there is a new class definition scheme in MATLAB that is not properly highlighted by the lexer. The keywords
methods, 'events', and
enumerated (as of 2010b) should be highlighted the same as the
function keyword. Documentation on MATLAB class definitions can be found [http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_oop/brqy3km-24.html here].
A demo is posted [http://pygments.org/demo/5994/ demo:5994].
I'm using release 1.3.1 of Pygments on Trac 0.11.7.
Reported by guest