...hopefully without recreating the Python lexer as a user-defined language. Basically, I'd like to be able to give certain keywords a different color, and to give 'self' its own color as well. I don't know if the Notepad++ Python lexer supports multiple classes of keywords.
Any help would be greatly appreciated!
It does not. Please send your request to the Scintilla project, in case they find it worthwhile.
Just to add,
UDL is not well suited for Python-like syntax, because it does not support Python-like folding. Keywords will be highlighted fine.