Python: Highlight "private" members (e.g. _var) in brown

This commit is contained in:
Christian Nicolai 2011-09-03 16:18:07 +02:00
parent 499511cac7
commit c0d169a2ce
1 changed files with 12 additions and 2 deletions

View File

@ -16,13 +16,15 @@
=Bad bold red =Bad bold red
=Brace magenta =Brace magenta
=PrivateMember fg_310 # brown
:idle Idle :idle Idle
* idle * idle
"#" comment recolor=-1 "#" comment recolor=-1
"0-9" first_digit recolor=-1 "0-9" first_digit recolor=-1
"'" string_sq_1 recolor=-1 "'" string_sq_1 recolor=-1
"\"" string_dq_1 recolor=-1 "\"" string_dq_1 recolor=-1
"a-zA-Z_" ident buffer "a-zA-Z_" ident noeat
"{}" brace recolor=-1 "{}" brace recolor=-1
:brace Brace :brace Brace
@ -139,6 +141,10 @@
"0-9" enum "0-9" enum
:ident Idle :ident Idle
* ident1 noeat buffer
"_" priv_member recolor=-1
:ident1 Idle
* idle noeat strings * idle noeat strings
"and" kw "and" kw
"assert" kw "assert" kw
@ -170,11 +176,15 @@
"while" kw "while" kw
"yield" kw "yield" kw
done done
"a-zA-Z0-9_" ident "a-zA-Z0-9_" ident1
:kw Keyword :kw Keyword
* idle noeat * idle noeat
:priv_member PrivateMember
* idle noeat
"a-zA-Z0-9_" priv_member
.subr comment_todo .subr comment_todo
# initial state # initial state
:comment_todo_init Comment :comment_todo_init Comment