- ;----------------------------------------------;
- ; Coder plugin syntax file ;
- ;----------------------------------------------;
- ;Colors
- ; Color need to be in #RRGGBB format.
- ; If color equal to zero, then color ignored.
- ;
- ;Font styles
- ; 0 ignored.
- ; 1 normal.
- ; 2 bold.
- ; 3 italic.
- ; 4 bold italic.
- ;
- ;For comfort file viewing/editing set tab size to 8 or higher.
- Files:
- ;==========
- ;File types
- ;==========
- *.as
- ;----------------------------------------------;
- ; HighLight ;
- ;----------------------------------------------;
- ;Flags (sum of the members)
- ; 1 case sensitive.
- ; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
- ; 4 quote end required ("Quotes:" section only).
- ; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
- ; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
- ; 32 don't highlight quote start ("Quotes:" section only).
- ; 64 don't highlight quote end ("Quotes:" section only).
- ; 128 don't catch and don't highlight quote start ("Quotes:" section only).
- ; 256 don't catch and don't highlight quote end ("Quotes:" section only).
- ; 512 quote start, delimiter or word located at line start.
- ; 1024 quote end, delimiter or word located at line end.
- ; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
- ; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
- ; 8192 quote doesn't contain delimiters ("Quotes:" section only).
- ; 16384 only quote start string is catched ("Quotes:" section only).
- ; 32768 quote doesn't contain any character ("Quotes:" section only).
- Font:
- ;=================================================================
- ;FontStyle FontSize FaceName
- ;=================================================================
- ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
- Colors:
- ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
- ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
- ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
- ${HighLight_BasicTextColor} ${HighLight_BasicBkColor} ${HighLight_SelTextColor} ${HighLight_SelBkColor} ${HighLight_LineTextColor} ${HighLight_LineBkColor} ${HighLight_LineBorderColor} ${HighLight_AltTextColor} ${HighLight_AltBkColor} ${HighLight_AltBorderColor} ${HighLight_ColumnColor} ${HighLight_MarkerColor} ${HighLight_CaretColor} ${HighLight_UrlColor} ${HighLight_ActiveUrlColor} ${HighLight_VisitUrlColor}
- BkImage:
- ;==================================================
- ;BkImageFile BkImageAlpha
- ;==================================================
- ${HighLight_BkImageFile} ${HighLight_BkImageAlpha}
- AutoMark:
- ;====================================================================================================================
- ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
- ;====================================================================================================================
- ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
- Quotes:
- ;======================================================================
- ;Flags Font Color Color Quote Quote Escape Quote Quote
- ; style text bkgrnd start end char include exclude
- ;======================================================================
- ;1=1
- 1 3 ${STR} 0 `"` `"` "\" "" ""
- ;1=1
- 1 3 ${STR} 0 "'" "'" "\" "" ""
- ;1=1
- 1 3 ${STR} 0 '"""' '"""' "" "" ""
- ;1=1
- 1 3 ${STR} 0 "'''" "'''" "" "" ""
- ;1=1
- 1 3 ${COMM} 0 "//" "*/" "" "" ""
- ;1=1
- 1 3 ${COMM} 0 "//" "" ":" "" ""
- ;1=1
- 1 3 ${COMM} 0 "/*" "*/" "" "" ""
- QuotesRE:
- ;=========================================================================================
- ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
- ;=========================================================================================
- ;0 `(")([^"\\]*(\\.[^"\\]*)*)(")` `\1=(0,${DEL1},0) \2=(3,${STR},0) \4=(0,${DEL1},0)`
- ;1 '\b(?:u8?|U)?R"(.*?)\[.*\]\1"' '\0=(0,${STR},0)'
- 0 "\b\d\w*\b" "\0=(0,${NUM},0)"
- Delimiters:
- ;======================================
- ;Flags Font Color Color Char(s)
- ; style text bkgrnd
- ;======================================
- 1 0 0 0 " "
- 1 0 0 0 " "
- 1 0 ${DEL1} 0 (
- 1 0 ${DEL1} 0 )
- 1 0 ${DEL2} 0 '"'
- 1 0 ${DEL2} 0 "'"
- 1 0 ${DEL2} 0 {
- 1 0 ${DEL2} 0 }
- 1 0 ${DEL2} 0 .
- 1 0 ${DEL2} 0 ,
- 1 0 ${DEL2} 0 :
- 1 0 ${DEL2} 0 ;
- 1 0 ${DEL2} 0 !
- 1 0 ${DEL2} 0 ~
- 1 0 ${DEL2} 0 |
- 1 0 ${DEL2} 0 =
- 1 0 ${DEL2} 0 -
- 1 0 ${DEL2} 0 *
- 1 0 ${DEL2} 0 +
- 1 0 ${DEL2} 0 /
- 1 0 ${DEL2} 0 <
- 1 0 ${DEL2} 0 >
- 1 0 ${DEL2} 0 &
- 1 0 ${DEL2} 0 ^
- 1 0 ${DEL2} 0 %
- 1 0 ${DEL2} 0 ?
- 1 0 ${DEL2} 0 [
- 1 0 ${DEL2} 0 ]
- 1 0 ${DEL2} 0 @
- Words:
- ;===================================
- ;Flags Font Color Color Word
- ; style text bkgrnd
- ;===================================
- 1 0 ${OP} 0 abstract
- 1 0 ${OP} 0 and
- 1 0 ${TYPE} 0 auto
- 1 0 ${TYPE} 0 bool
- 1 0 ${IF} 0 break
- 1 0 ${IF} 0 case
- 1 0 ${OP} 0 cast
- 1 0 ${OP} 0 class
- 1 0 ${OP} 0 const
- 1 0 ${IF} 0 continue
- 1 0 ${IF} 0 default
- 1 0 ${IF} 0 do
- 1 0 ${TYPE} 0 double
- 1 0 ${IF} 0 else
- 1 0 ${OP} 0 enum
- 1 0 ${TYPE} 0 false
- 1 0 ${OP} 0 final
- 1 0 ${TYPE} 0 float
- 1 0 ${IF} 0 for
- 1 0 ${OP} 0 from
- 1 0 ${OP} 0 funcdef
- 1 0 ${OP} 0 function
- 1 0 ${OP} 0 get
- 1 0 ${IF} 0 if
- 1 0 ${OP} 0 import
- 1 0 ${OP} 0 in
- 1 0 ${OP} 0 inout
- 1 0 ${TYPE} 0 int
- 1 0 ${OP} 0 interface
- 1 0 ${TYPE} 0 int8
- 1 0 ${TYPE} 0 int16
- 1 0 ${TYPE} 0 int32
- 1 0 ${TYPE} 0 int64
- 1 0 ${OP} 0 is
- 1 0 ${OP} 0 mixin
- 1 0 ${OP} 0 namespace
- 1 0 ${OP} 0 not
- 1 0 ${TYPE} 0 null
- 1 0 ${OP} 0 or
- 1 0 ${OP} 0 out
- 1 0 ${OP} 0 override
- 1 0 ${OP} 0 private
- 1 0 ${OP} 0 protected
- 1 0 ${IF} 0 return
- 1 0 ${OP} 0 set
- 1 0 ${OP} 0 shared
- 1 0 ${OP} 0 super
- 1 0 ${IF} 0 switch
- 1 0 ${OP} 0 this
- 1 0 ${TYPE} 0 true
- 1 0 ${OP} 0 typedef
- 1 0 ${TYPE} 0 uint
- 1 0 ${TYPE} 0 uint8
- 1 0 ${TYPE} 0 uint16
- 1 0 ${TYPE} 0 uint32
- 1 0 ${TYPE} 0 uint64
- 1 0 ${TYPE} 0 void
- 1 0 ${IF} 0 while
- 1 0 ${OP} 0 xor
- ;----------------------------------------------;
- ; CodeFold ;
- ;----------------------------------------------;
- ;Flags (sum of the members)
- ; 1 case sensitive.
- ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
- ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
- ; 8 fold start located at line start ("Folds:" section only).
- ; 16 fold start located at line end ("Folds:" section only).
- ; 32 fold end located at line start ("Folds:" section only).
- ; 64 fold end located at line end ("Folds:" section only).
- ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
- ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
- ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
- ; 1024 reserved.
- ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
- ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
- ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
- ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
- ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
- ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
- ; 131072 deny delimiters ("Folds:" section only).
- ; 262144 don't show fold in list ("Folds:" section only).
- ; 1048576 regular expression in fold start ("Folds:" section) or skip start ("Skips:" section).
- ; 2097152 regular expression in fold end ("Folds:" section) or skip end ("Skips:" section).
- FoldPanel:
- ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
- ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
- FoldList:
- ;================================================
- ;ListTextColor ListBkColor
- ;================================================
- ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
- TagMark:
- ;============================================================================================================
- ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
- ;============================================================================================================
- ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
- Skips:
- ;=============================
- ;Flags Skip Skip Escape
- ; start end char
- ;=============================
- 1 `"` `"` "\"
- 1 `'` `'` "\"
- 1 "//" "" ":"
- Folds:
- ;==============================================================
- ;Flags Font Color Color Fold Fold Delimiters
- ; style text bkgrnd start end
- ;==============================================================
- 1 0 0 0 "{" "}" ""
- ;262657=1+512+262144
- 262657 3 ${COMM} 0 "/*" "*/" ""
- ;262145=1+262144
- 262145 0 0 0 "(" ")" ""
- ;262657=1+512+262144
- 262657 3 ${STR} 0 '"""' '"""' ""
- ;262657=1+512+262144
- 262657 3 ${STR} 0 "'''" "'''" ""
- ;--switch...case...default--
- ;169=1+8+32+128
- 169 0 0 0 "case" "case" " "
- ;169=1+8+32+128
- 169 0 0 0 "case" "default" " :"
- ;169=1+8+32+128
- 169 0 0 0 "default" "case" " :"
- ;98441=1+8+128+32768+65536
- 98441 0 0 0 "case" "}" " :"
- ;98441=1+8+128+32768+65536
- 98441 0 0 0 "default" "}" " :"
- ;----------------------------------------------;
- ; AutoComplete ;
- ;----------------------------------------------;
- CompleteList:
- ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ;ListFontStyle ListFontSize ListFaceName ListLineGap ListBlockIcon ListBlockIconMargins "left;right" ListHlBaseIcon ListHlBaseIconMargins "left;right" ListDocWordIcon ListDocWordIconMargins "left;right" ListBasicTextColor ListBasicBkColor ListSelTextColor ListSelBkColor
- ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
- ${AutoComplete_ListFontStyle} ${AutoComplete_ListFontSize} ${AutoComplete_ListFaceName} ${AutoComplete_ListLineGap} ${AutoComplete_ListBlockIcon} ${AutoComplete_ListBlockIconMargins} ${AutoComplete_ListHlBaseIcon} ${AutoComplete_ListHlBaseIconMargins} ${AutoComplete_ListDocWordIcon} ${AutoComplete_ListDocWordIconMargins} ${AutoComplete_ListBasicTextColor} ${AutoComplete_ListBasicBkColor} ${AutoComplete_ListSelTextColor} ${AutoComplete_ListSelBkColor}
- Blocks:
- ;======================================================================
- ;Abbreviations and blocks
- ;
- ; $~abbr normal abbreviation.
- ; $=abbr exact abbreviation. May contain delimiters.
- ; $[] set caret to this position. Can be multiple (hot spots).
- ; $[text] select text. Can be multiple (hot spots).
- ; $$ symbol $.
- ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
- ; ${VAR} variable assigned from Coder::Settings.
- ; $; comment line.
- ;======================================================================
- $~case
- case $[]:
- ${AutoComplete_Indent}$[]
- ${AutoComplete_Indent}break;
- $~class
- class $[]
- {
- ${AutoComplete_Indent}$[]
- }
- $~do
- do
- {
- ${AutoComplete_Indent}$[]
- }
- while ($[]);
- $~elif $~elseif
- else if ($[])
- {
- ${AutoComplete_Indent}$[]
- }
- $~else
- else
- {
- ${AutoComplete_Indent}$[]
- }
- $~enum
- enum $[]
- {
- ${AutoComplete_Indent}$[]
- }
- $~for
- for ($[]; $[]; $[])
- {
- ${AutoComplete_Indent}$[]
- }
- $~if
- if ($[])
- {
- ${AutoComplete_Indent}$[]
- }
- $~interface
- interface $[]
- {
- ${AutoComplete_Indent}$[]
- }
- $~mixin
- mixin class $[]
- {
- ${AutoComplete_Indent}$[]
- }
- $~namespace
- namespace $[]
- {
- ${AutoComplete_Indent}$[]
- }
- $~switch
- switch ($[])
- {
- case $[]:
- ${AutoComplete_Indent}$[]
- ${AutoComplete_Indent}break;
- case $[]:
- ${AutoComplete_Indent}$[]
- ${AutoComplete_Indent}break;
- default:
- ${AutoComplete_Indent}$[]
- ${AutoComplete_Indent}break;
- }
- $~while
- while ($[])
- {
- ${AutoComplete_Indent}$[]
- }
- $={
- {
- ${AutoComplete_Indent}$[]
- $; } is already here because of the XBrackets plugin