Fixed the event list in the syntax highlighter generators