Basic Items
Space is not allowed before and after '='.
Items can be omitted if it is not needed. |
CaseSensitive=1 |
If a language is case sensitive, set to 1. And if it's not, set to 0. |
HTML_LANG=1 |
If a language is a script language like PHP or ASP, set to 1. If it's not, set to 0. |
Delimiters= ~!@%^&*()-+=|\/{}[]:;"'<> , .? |
Characters identified as a delimiter. |
BlockComment1S=/* |
Beginning mark of Block comment |
BlockComment1E=*/ |
Ending mark of Block comment |
BlockComment2S={ |
Beginning of Block comment |
BlockComment2E=} |
Ending mark of Block comment |
LineComment1=// |
Line comment mark |
LineComment2=# |
Line comment mark |
StringChar1=" |
Mark of string |
StringChar2=' |
Mark of string |
EscapeChar1=\ |
Escape character of string with StringChar1(ex: "text \"") |
EscapeChar2=\ |
Escape character of string with StringChar2 |
LangBraceS=<? |
Beginning mark of a language like PHP |
LangBraceE=?> |
Ending mark of a language like PHP |
User Defined Item
#Item0,"Variable"
You can create up to ten items. #Item0 ~ #Item9
Item number of first item should be 0.
After item mark, type the name of an item. The name of an item should be parenthesized with quatation mark.
Words for an item can be listed with space or new line separators.
There are three options you can use for an item; StartWith, PriorStr1, PriorStr2
You can type options after the name of an item.
StartWith - Words which start with the words in this item will be colored.
PriorStr1 - Words in this item will be colored even if it's in a string with StringChar1
PriorStr2 - Words in this item will be colored even if it's in a string with StringChar2
ex)
#Item0,"Variable",StartWith
#Item1,"Operator",PriorStr1,StartWith
Variables of PHP: variables in string with StringChar1 will be colored.
#Item0,"Variable",StartWith,PriorStr1
$
Normal=#FFFFFF,#FF33CC |
Normal text color |
Number=#666666 |
Number color |
Comment=#333333 |
Comment color |
String1=#FF0000 |
String 1 color |
String2=#FF0066 |
String 2 color |
LineNum=#333333 |
Line number color |
HTMLValue= |
HTML attributes color when HTML_LANG is set to 1 in .syn file |
Item0=#FF3366 |
User defined item 0 color |
Item1= |
User defined item 1 color |
Item2= |
User defined item 2 color |
Item3= |
User defined item 3 color |
Item4= |
User defined item 4 color |
Item5= |
User defined item 5 color |
Item6= |
User defined item 6 color |
Item7= |
User defined item 7 color |
Item8= |
User defined item 8 color |
Item9= |
User defined item 9 color |
Value format is "Text Color,Background Color".
Background color of 'Normal' will be the background of all text.
If background color of an item other than 'Normal' is not specified , background color of 'Normal' will be used.
Color value always should be #RRGGBB format. Color name like 'red' or 'black' cannot be used.