* 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:
Roland Illig 2005-05-24 09:50:47 +00:00
parent f9604266b2
commit 3eeea2b824
2 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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