Just to be clear: Scintilla does not use rules files. It uses lexers written in C. This gives it the flexibility to color context-dependent grammars like Perl and C++. -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook