mirror of https://github.com/MidnightCommander/mc
* python.syntax: Added chunk from Savannah bug #7872. This
changes the color for """long strings""" from brown to green and adds embedded highlighting for escape sequences.
This commit is contained in:
parent
f9604266b2
commit
3eeea2b824
|
@ -1,3 +1,9 @@
|
|||
2005-05-24 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* python.syntax: Added chunk from Savannah bug #7872. This
|
||||
changes the color for """long strings""" from brown to green and
|
||||
adds embedded highlighting for escape sequences.
|
||||
|
||||
2005-05-24 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* Syntax: Extended the patterns for #! interpreters to match
|
||||
|
|
|
@ -216,8 +216,23 @@ context default
|
|||
|
||||
keyword whole __+__ brightred
|
||||
|
||||
context """ """ brown
|
||||
spellcheck
|
||||
context """ """ green
|
||||
keyword \\" brightgreen
|
||||
keyword \\\n brightgreen
|
||||
keyword %% brightgreen
|
||||
keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
|
||||
keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diu\} brightgreen
|
||||
keyword %\[hl\]n brightgreen
|
||||
keyword %\[.\]\[0123456789\]s brightgreen
|
||||
keyword %[*] brightgreen
|
||||
keyword %c brightgreen
|
||||
keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
|
||||
keyword \\\\{01234567\}\{01234567\} brightgreen
|
||||
keyword \\\\{01234567\} brightgreen
|
||||
keyword \\\\ brightgreen
|
||||
keyword \\' brightgreen
|
||||
keyword \\\{abtnvfr\} brightgreen
|
||||
|
||||
context # \n brown
|
||||
spellcheck
|
||||
context " " green
|
||||
|
|
Loading…
Reference in New Issue