* syntax/syntax.syntax: Add "linestart" for "context",

"context default" and "context exclusive" keywords.
* syntax/c.syntax: Fix "%s" highlighting for "%-19s"
and "%5.5s" formats.
This commit is contained in:
Andrew V. Samoilov 2002-09-19 11:09:57 +00:00
parent b29fee5f6d
commit c4b3002022
3 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2002-09-19 Andrew V. Samoilov <sav@bcs.zp.ua>
* syntax/syntax.syntax: Add "linestart" for "context",
"context default" and "context exclusive" keywords.
* syntax/c.syntax: Fix "%s" highlighting for "%-19s"
and "%5.5s" formats.
2002-09-18 Pavel Roskin <proski@gnu.org>
* syntax/Syntax: Remove gobledy_gook at the beginning. Move

View File

@ -106,12 +106,11 @@ context linestart # \n brightred/18
context " " green/6
spellcheck
keyword \\" brightgreen/16
keyword \\\n brightgreen/16
keyword %% brightgreen/16
keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen/16
keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diu\} brightgreen/16
keyword %\[hl\]n brightgreen/16
keyword %\[.\]\[0123456789\*\]s brightgreen/16
keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen/16
keyword %[*] brightgreen/16
keyword %c brightgreen/16
keyword %p brightgreen/16

View File

@ -14,9 +14,9 @@ context default
keyword whole wh\oleleft brightcyan/17
keyword whole wh\oleright brightcyan/17
keyword whole lin\[e\]start brightcyan/17
keyword whole c\ontext\[\t\s\]exclusive brightred/18
keyword whole c\ontext\[\t\s\]default brightred/18
keyword whole c\ontext brightred/18
keyword whole linestart c\ontext\[\t\s\]exclusive brightred/18
keyword whole linestart c\ontext\[\t\s\]default brightred/18
keyword whole linestart c\ontext brightred/18
keyword whole wh\olechars\[\t\s\]left brightcyan/17
keyword whole wh\olechars\[\t\s\]right brightcyan/17
keyword whole wh\olechars brightcyan/17