mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* syntax/js.syntax: Advanced number highliting.
This commit is contained in:
parent
8aee83616a
commit
a670175b2b
@ -1,4 +1,8 @@
|
|||||||
2002-08-17 Pavel Roskin <proski@gnu.org>
|
2002-09-17 Vlad Romanenko <VladRomanenko@ukr.net>
|
||||||
|
|
||||||
|
* syntax/js.syntax: Advanced number highliting.
|
||||||
|
|
||||||
|
2002-09-17 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* syntax/c.syntax: Highlight "?" by the same color as ":".
|
* syntax/c.syntax: Highlight "?" by the same color as ":".
|
||||||
* syntax/java.syntax: Likewise.
|
* syntax/java.syntax: Likewise.
|
||||||
@ -17,7 +21,7 @@
|
|||||||
be explicitly enabled by `--with-glib2'.
|
be explicitly enabled by `--with-glib2'.
|
||||||
From Ali Akcaagac <ali.akcaagac@stud.fh-wilhelmshaven.de>
|
From Ali Akcaagac <ali.akcaagac@stud.fh-wilhelmshaven.de>
|
||||||
|
|
||||||
2002-08-16 Pavel Roskin <proski@gnu.org>
|
2002-09-16 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* syntax/js.syntax: New file.
|
* syntax/js.syntax: New file.
|
||||||
* syntax/Syntax: Add js.syntax.
|
* syntax/Syntax: Add js.syntax.
|
||||||
|
@ -9,8 +9,12 @@
|
|||||||
# Highlight JS regexpressions /../
|
# Highlight JS regexpressions /../
|
||||||
# More built-in functions
|
# More built-in functions
|
||||||
#
|
#
|
||||||
|
# 2002-09-17 Vlad Romanenko <VladRomanenko@ukr.net>
|
||||||
|
# * More C and Java consistency by Pavel Roskin <proski@gnu.org>.
|
||||||
|
# * Advanced number highliting.
|
||||||
|
#
|
||||||
# 2002-09-16 Vlad Romanenko <VladRomanenko@ukr.net>
|
# 2002-09-16 Vlad Romanenko <VladRomanenko@ukr.net>
|
||||||
# * Initial public release
|
# * Initial public release.
|
||||||
#
|
#
|
||||||
|
|
||||||
context default
|
context default
|
||||||
@ -89,8 +93,16 @@ context default
|
|||||||
|
|
||||||
#=========================
|
#=========================
|
||||||
# Numbers
|
# Numbers
|
||||||
keyword whole -\{012345679\}\[012345679\] brightgreen/16
|
wholechars abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.
|
||||||
keyword whole \{012345679\}\[012345679\] brightgreen/16
|
|
||||||
|
keyword whole 0\{xX\}\{0123456789abcdefABCDEF\}\[0123456789abcdefABCDEF\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \[0123456789\]\.\{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\]\.\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
keyword whole \{0123456789\}\[0123456789\]\.\{0123456789\}\[0123456789\]\{eE\}\{\-\+\}\{0123456789\}\[0123456789\] brightgreen/16
|
||||||
|
|
||||||
#=========================
|
#=========================
|
||||||
# Special symbols
|
# Special symbols
|
||||||
@ -110,16 +122,13 @@ context default
|
|||||||
keyword < yellow/24
|
keyword < yellow/24
|
||||||
|
|
||||||
#=========================
|
#=========================
|
||||||
# Parentheses
|
# Separators
|
||||||
keyword { brightcyan/14
|
keyword { brightcyan/14
|
||||||
keyword } brightcyan/14
|
keyword } brightcyan/14
|
||||||
keyword ( brightcyan/14
|
keyword ( brightcyan/14
|
||||||
keyword ) brightcyan/14
|
keyword ) brightcyan/14
|
||||||
keyword [ brightcyan/14
|
keyword [ brightcyan/14
|
||||||
keyword ] brightcyan/14
|
keyword ] brightcyan/14
|
||||||
|
|
||||||
#=========================
|
|
||||||
# Separators
|
|
||||||
keyword , brightcyan/14
|
keyword , brightcyan/14
|
||||||
keyword ? brightcyan/14
|
keyword ? brightcyan/14
|
||||||
keyword : brightcyan/14
|
keyword : brightcyan/14
|
||||||
@ -131,20 +140,28 @@ context default
|
|||||||
|
|
||||||
context exclusive /\* \*/ brown/22
|
context exclusive /\* \*/ brown/22
|
||||||
spellcheck
|
spellcheck
|
||||||
|
keyword whole BUG brightred/18
|
||||||
|
keyword whole FixMe brightred/18
|
||||||
|
keyword whole FIXME brightred/18
|
||||||
|
keyword whole Note brightred/18
|
||||||
|
keyword whole NOTE brightred/18
|
||||||
|
keyword whole ToDo brightred/18
|
||||||
keyword whole TODO brightred/18
|
keyword whole TODO brightred/18
|
||||||
keyword !!! brightred/18
|
keyword !!\[!\] brightred/18
|
||||||
keyword !! brightred/18
|
keyword ??\[?\] brightred/18
|
||||||
keyword ??? brightred/18
|
|
||||||
keyword ?? brightred/18
|
|
||||||
|
|
||||||
|
|
||||||
context exclusive // \n brown/22
|
context exclusive // \n brown/22
|
||||||
spellcheck
|
spellcheck
|
||||||
|
keyword whole BUG brightred/18
|
||||||
|
keyword whole FixMe brightred/18
|
||||||
|
keyword whole FIXME brightred/18
|
||||||
|
keyword whole Note brightred/18
|
||||||
|
keyword whole NOTE brightred/18
|
||||||
|
keyword whole ToDo brightred/18
|
||||||
keyword whole TODO brightred/18
|
keyword whole TODO brightred/18
|
||||||
keyword !!! brightred/18
|
keyword !!\[!\] brightred/18
|
||||||
keyword !! brightred/18
|
keyword ??\[?\] brightred/18
|
||||||
keyword ??? brightred/18
|
|
||||||
keyword ?? brightred/18
|
|
||||||
|
|
||||||
|
|
||||||
#=============================
|
#=============================
|
||||||
@ -152,20 +169,14 @@ context exclusive // \n brown/22
|
|||||||
|
|
||||||
context " " green/6
|
context " " green/6
|
||||||
spellcheck
|
spellcheck
|
||||||
keyword \\" brightgreen/16
|
keyword \\\{\\'"abtnvfr\} brightgreen/16
|
||||||
keyword \\' brightgreen/16
|
|
||||||
keyword \\\\ brightgreen/16
|
|
||||||
keyword \\\{abtnvfr\} brightgreen/16
|
|
||||||
keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen/16
|
keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen/16
|
||||||
|
|
||||||
keyword ' brightgreen/16
|
keyword ' brightgreen/16
|
||||||
|
|
||||||
context ' ' green/6
|
context ' ' green/6
|
||||||
spellcheck
|
spellcheck
|
||||||
keyword \\" brightgreen/16
|
keyword \\\{\\'"abtnvfr\} brightgreen/16
|
||||||
keyword \\' brightgreen/16
|
|
||||||
keyword \\\\ brightgreen/16
|
|
||||||
keyword \\\{abtnvfr\} brightgreen/16
|
|
||||||
keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen/16
|
keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen/16
|
||||||
|
|
||||||
keyword " brightgreen/16
|
keyword " brightgreen/16
|
||||||
|
Loading…
Reference in New Issue
Block a user