Help save net neutrality! Learn more.
Close

Would like to extend the syntax highlighting for Python...

2013-10-22
2013-11-11
  • Uhtred of Bebbanburg

    ...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!

     
  • cchris

    cchris - 2013-11-10

    It does not. Please send your request to the Scintilla project, in case they find it worthwhile.

    CChris

     
  • Loreia2

    Loreia2 - 2013-11-11

    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.

    BR,
    Loreia