mirror of https://github.com/MidnightCommander/mc
* syntax/c.syntax: Reenable highlighting for "/" and preserve
highlighting for "//" comments by using exclusive context. * syntax/java.syntax: Likewise. * syntax/swig.syntax: Likewise. * syntax/slang.syntax: Reenable highlighting for "/". * syntax/sql.syntax: Enable highlighting for "/" and "-".
This commit is contained in:
parent
e58ffae223
commit
4dbe6133e8
|
@ -1,5 +1,12 @@
|
|||
2002-07-18 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* syntax/c.syntax: Reenable highlighting for "/" and preserve
|
||||
highlighting for "//" comments by using exclusive context.
|
||||
* syntax/java.syntax: Likewise.
|
||||
* syntax/swig.syntax: Likewise.
|
||||
* syntax/slang.syntax: Reenable highlighting for "/".
|
||||
* syntax/sql.syntax: Enable highlighting for "/" and "-".
|
||||
|
||||
* syntax/sql.syntax: New file.
|
||||
* syntax/Syntax: Add sql.syntax.
|
||||
* syntax/Makefile.am: Likewise.
|
||||
|
|
|
@ -65,6 +65,7 @@ context default
|
|||
|
||||
keyword /\* brown/22
|
||||
keyword \*/ brown/22
|
||||
keyword // brown/22
|
||||
|
||||
keyword '\\\{"abtnvfr\}' brightgreen/16
|
||||
keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen/16
|
||||
|
@ -78,7 +79,7 @@ context default
|
|||
keyword \+ yellow/24
|
||||
keyword - yellow/24
|
||||
keyword \* yellow/24
|
||||
# keyword / yellow/24
|
||||
keyword / yellow/24
|
||||
keyword % yellow/24
|
||||
keyword = yellow/24
|
||||
keyword != yellow/24
|
||||
|
@ -94,7 +95,7 @@ context default
|
|||
keyword ; brightmagenta/19
|
||||
context exclusive /\* \*/ brown/22
|
||||
spellcheck
|
||||
context // \n brown/22
|
||||
context exclusive // \n brown/22
|
||||
spellcheck
|
||||
context linestart # \n brightred/18
|
||||
keyword \\\n yellow/24
|
||||
|
|
|
@ -107,6 +107,7 @@ context default
|
|||
|
||||
keyword /\* brown/22
|
||||
keyword \*/ brown/22
|
||||
keyword // brown/22
|
||||
|
||||
keyword '\s' brightgreen/16
|
||||
keyword '+' brightgreen/16
|
||||
|
@ -115,7 +116,7 @@ context default
|
|||
keyword \+ yellow/24
|
||||
keyword - yellow/24
|
||||
keyword \* yellow/24
|
||||
# keyword / yellow/24
|
||||
keyword / yellow/24
|
||||
keyword % yellow/24
|
||||
keyword = yellow/24
|
||||
keyword != yellow/24
|
||||
|
@ -131,7 +132,7 @@ context default
|
|||
keyword ; brightmagenta/19
|
||||
context exclusive /\* \*/ brown/22
|
||||
spellcheck
|
||||
context // \n brown/22
|
||||
context exclusive // \n brown/22
|
||||
spellcheck
|
||||
context linestart # \n brightred/18
|
||||
keyword \\\n yellow/24
|
||||
|
|
|
@ -99,12 +99,13 @@ context default yellow/24
|
|||
keyword whole xor white/25
|
||||
keyword whole .. white/25
|
||||
|
||||
keyword // brightgreen/22
|
||||
|
||||
keyword > cyan/5
|
||||
keyword < cyan/5
|
||||
keyword \+ cyan/5
|
||||
keyword - cyan/5
|
||||
# the following must be commented out for the sake of singleline comments(//)
|
||||
# keyword / cyan/5
|
||||
keyword / cyan/5
|
||||
keyword % lightgray/5
|
||||
keyword = lightgray/5
|
||||
keyword [ lightgray/5
|
||||
|
@ -118,7 +119,7 @@ context default yellow/24
|
|||
# keyword {$*} brightred/19
|
||||
|
||||
context ' ' brightcyan/22
|
||||
context // \n brightgreen/22
|
||||
context exclusive // \n brightgreen/22
|
||||
keyword $+:*$ black/13 green/13
|
||||
context exclusive (\*\* \*) brightgreen/22 black/22
|
||||
keyword $+:*$ black/13 green/13
|
||||
|
|
|
@ -72,7 +72,7 @@ context default
|
|||
keyword \+ white/24
|
||||
keyword - white/24
|
||||
keyword \* white/24
|
||||
# keyword / white/24
|
||||
keyword / white/24
|
||||
keyword = white/24
|
||||
keyword != white/24
|
||||
keyword == white/24
|
||||
|
|
|
@ -460,12 +460,16 @@ context default
|
|||
keyword whole year yellow/24
|
||||
keyword whole zone yellow/24
|
||||
|
||||
keyword /\* brown/22
|
||||
keyword \*/ brown/22
|
||||
keyword -- brown/22
|
||||
|
||||
keyword > brightcyan/14
|
||||
keyword < brightcyan/14
|
||||
keyword \+ brightcyan/14
|
||||
keyword \s-\s brightcyan/14
|
||||
keyword - brightcyan/14
|
||||
keyword \* brightcyan/14
|
||||
keyword \s/\s brightcyan/14
|
||||
keyword / brightcyan/14
|
||||
keyword % brightcyan/14
|
||||
keyword = brightcyan/14
|
||||
keyword ( brightcyan/14
|
||||
|
@ -476,10 +480,10 @@ context default
|
|||
context # \n brown/22
|
||||
spellcheck
|
||||
|
||||
context -- \n brown/22
|
||||
context exclusive -- \n brown/22
|
||||
spellcheck
|
||||
|
||||
context /\* \*/ brown/22
|
||||
context exclusive /\* \*/ brown/22
|
||||
spellcheck
|
||||
|
||||
context ' ' green/6
|
||||
|
|
|
@ -104,6 +104,7 @@ context default
|
|||
|
||||
keyword /\* brown/22
|
||||
keyword \*/ brown/22
|
||||
keyword // brown/22
|
||||
|
||||
keyword '\\\{"abtnvfr\}' brightgreen/16
|
||||
keyword '\\\{0123\}\{01234567\}\{01234567\}' brightgreen/16
|
||||
|
@ -117,7 +118,7 @@ context default
|
|||
keyword \+ yellow/24
|
||||
keyword - yellow/24
|
||||
keyword \* yellow/24
|
||||
# keyword / yellow/24
|
||||
keyword / yellow/24
|
||||
keyword % yellow/24
|
||||
keyword = yellow/24
|
||||
keyword != yellow/24
|
||||
|
@ -133,7 +134,7 @@ context default
|
|||
keyword ; brightmagenta/19
|
||||
context exclusive /\* \*/ brown/22
|
||||
spellcheck
|
||||
context // \n brown/22
|
||||
context exclusive // \n brown/22
|
||||
spellcheck
|
||||
context linestart # \n brightred/18
|
||||
keyword \\\n yellow/24
|
||||
|
|
Loading…
Reference in New Issue