See the attached patch. It has two new syntax
highlighting tokens:
* Different styles for regular strings and docstrings.
* Highlighting of function names (e.g.
"foo.someFunction(bar)" - "someFunction" will be in a
different color)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-01-04
Logged In: YES
user_id=1666886
Originator: NO
This is not a common way ! I prefer the way of giving colors to what is keyword. Some function like hasattr, have to be highlight, cause they are reserved names. but i didn t see any interest to higlight a function name. In Python a function is an object that is callable. You want highlight every object ? or just if they have parenthesis ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1666886
Originator: NO
This is not a common way ! I prefer the way of giving colors to what is keyword. Some function like hasattr, have to be highlight, cause they are reserved names. but i didn t see any interest to higlight a function name. In Python a function is an object that is callable. You want highlight every object ? or just if they have parenthesis ?
Logged In: YES
user_id=636384
Originator: NO
I would very much like the ability to set the highlight color for docstrings. I'd probably set them to something close to the comment color...
:bump:
Everyone at my company would really appreciate both of those features!