How can I highlight all functions in Python?
Shu-Ting Pi last edited by
In python, all function must be called in this way: func(a=3, b=2) or test.func(a=3, b=2)
Apparently, any words before a “( )” is a function.
How can I let notepad++ to highlight a function in Python?
Claudia Frank last edited by Claudia Frank
I assume you are referring to the function call, not the function definition, correct?
If so, short answer - you can’t if you use the builtin lexer.
Scott Sumner last edited by
You could use the Mark feature along with a regular expression that would highlight these function calls, but it wouldn’t be automatic…meaning that you would have to “refresh” it occasionally…