;----------------------------------------------; ; Coder plugin syntax file ; ;----------------------------------------------; ;Author: tvolf ;=============== ;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. Files: ;========== ;File types ;========== *.prg ;----------------------------------------------; ; 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 Parent Rule ; style text bkgrnd start end char include exclude ID ID ;=================================================================================== ;5=1+4 5 3 ${STR} 0 "'" "'" "" "" "" ;5=1+4 5 3 ${STR} 0 `"` `"` "" "" "" ;512+1 513 3 ${COMM} 0 "*" "" "" "" "" ;1=1 1 3 ${COMM} 0 "&&" "" "" "" "" QuotesRE: ;=========================================================================================== ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID ;=========================================================================================== Delimiters: ;=============================================== ;Flags Font Color Color Char(s) Parent ; style text bkgrnd ID ;=============================================== 1 0 0 0 " " 1 0 0 0 " " 0 0 ${VAR} 0 m. 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 => Words: ;=========================================== ;Flags Font Color Color Word Parent ; style text bkgrnd ID ;=========================================== 3 0 ${NUM} 0 0123456789 ;--Types-- ;0 0 ${TYPE} 0 string ;--Conditional-- 0 2 ${IF} 0 and 0 2 ${IF} 0 brea 0 2 ${IF} 0 break 0 2 ${IF} 0 case 0 2 ${IF} 0 cont 0 2 ${IF} 0 continue 0 2 ${IF} 0 do 0 2 ${IF} 0 endc 0 2 ${IF} 0 endcase 0 2 ${IF} 0 endd 0 2 ${IF} 0 enddo 0 2 ${IF} 0 endf 0 2 ${IF} 0 endfor 0 2 ${IF} 0 else 0 2 ${IF} 0 endi 0 2 ${IF} 0 endif 0 2 ${IF} 0 exit 0 2 ${IF} 0 for 0 2 ${IF} 0 if 0 2 ${IF} 0 loop 0 2 ${IF} 0 off 0 2 ${IF} 0 on 0 2 ${IF} 0 or 0 2 ${IF} 0 othe 0 2 ${IF} 0 otherwise 0 2 ${IF} 0 while ;-- bold selected keywords 0 2 ${OP} 0 proc 0 2 ${OP} 0 procedure 0 2 ${OP} 0 func 0 2 ${OP} 0 function 0 2 ${OP} 0 quit 0 2 ${OP} 0 retu 0 2 ${OP} 0 return ;-- other keywords -- 0 2 ${OP} 0 .F. 0 2 ${OP} 0 .T. 0 0 ${OP} 0 abs 0 0 ${OP} 0 acti 0 0 ${OP} 0 adir 0 0 ${OP} 0 again 0 0 ${OP} 0 alia 0 0 ${OP} 0 alias 0 0 ${OP} 0 all 0 0 ${OP} 0 allt 0 0 ${OP} 0 alltrim 0 0 ${OP} 0 appe 0 0 ${OP} 0 append 0 0 ${OP} 0 at 0 0 ${OP} 0 bar 0 0 ${OP} 0 bell 0 0 ${OP} 0 blin 0 0 ${OP} 0 blink 0 0 ${OP} 0 blan 0 0 ${OP} 0 blank 0 0 ${OP} 0 bott 0 0 ${OP} 0 bottom 0 0 ${OP} 0 box 0 0 ${OP} 0 brow 0 0 ${OP} 0 browse 0 0 ${OP} 0 by 0 0 ${OP} 0 cent 0 0 ${OP} 0 chr 0 0 ${OP} 0 clea 0 0 ${OP} 0 clear 0 0 ${OP} 0 clos 0 0 ${OP} 0 close 0 0 ${OP} 0 conf 0 0 ${OP} 0 cons 0 0 ${OP} 0 colo 0 0 ${OP} 0 color 0 0 ${OP} 0 copy 0 0 ${OP} 0 crea 0 0 ${OP} 0 create 0 0 ${OP} 0 ctod 0 0 ${OP} 0 curs 0 0 ${OP} 0 cursor 0 0 ${OP} 0 date 0 0 ${OP} 0 day 0 0 ${OP} 0 deac 0 0 ${OP} 0 deci 0 0 ${OP} 0 defi 0 0 ${OP} 0 define 0 0 ${OP} 0 dele 0 0 ${OP} 0 delete 0 0 ${OP} 0 deleted 0 0 ${OP} 0 dime 0 0 ${OP} 0 dimension 0 0 ${OP} 0 dist 0 0 ${OP} 0 dtoc 0 0 ${OP} 0 ends 0 0 ${OP} 0 endscan 0 0 ${OP} 0 empty 0 0 ${OP} 0 eof 0 0 ${OP} 0 esca 0 0 ${OP} 0 exac 0 0 ${OP} 0 exact 0 0 ${OP} 0 excl 0 0 ${OP} 0 exte 0 0 ${OP} 0 extern 0 0 ${OP} 0 fiel 0 0 ${OP} 0 fields 0 0 ${OP} 0 file 0 0 ${OP} 0 foot 0 0 ${OP} 0 found 0 0 ${OP} 0 from 0 0 ${OP} 0 gath 0 0 ${OP} 0 get 0 0 ${OP} 0 gets 0 0 ${OP} 0 glob 0 0 ${OP} 0 global 0 0 ${OP} 0 go 0 0 ${OP} 0 grou 0 0 ${OP} 0 group 0 0 ${OP} 0 iif 0 0 ${OP} 0 in 0 0 ${OP} 0 inlist 0 0 ${OP} 0 inde 0 0 ${OP} 0 index 0 0 ${OP} 0 inse 0 0 ${OP} 0 insert 0 0 ${OP} 0 into 0 0 ${OP} 0 join 0 0 ${OP} 0 key 0 0 ${OP} 0 label 0 0 ${OP} 0 last 0 0 ${OP} 0 lastkey 0 0 ${OP} 0 left 0 0 ${OP} 0 len 0 0 ${OP} 0 loca 0 0 ${OP} 0 local 0 0 ${OP} 0 locate 0 0 ${OP} 0 macr 0 0 ${OP} 0 macros 0 0 ${OP} 0 menu 0 0 ${OP} 0 mess 0 0 ${OP} 0 mod 0 0 ${OP} 0 month 0 0 ${OP} 0 noap 0 0 ${OP} 0 noappend 0 0 ${OP} 0 node 0 0 ${OP} 0 nodelete 0 0 ${OP} 0 nomo 0 0 ${OP} 0 nomodify 0 0 ${OP} 0 nowa 0 0 ${OP} 0 nowait 0 0 ${OP} 0 of 0 0 ${OP} 0 orde 0 0 ${OP} 0 order 0 0 ${OP} 0 pack 0 0 ${OP} 0 pad 0 0 ${OP} 0 padl 0 0 ${OP} 0 padr 0 0 ${OP} 0 para 0 0 ${OP} 0 parameters 0 0 ${OP} 0 pict 0 0 ${OP} 0 picture 0 0 ${OP} 0 pop 0 0 ${OP} 0 popup 0 0 ${OP} 0 prin 0 0 ${OP} 0 print 0 0 ${OP} 0 priv 0 0 ${OP} 0 private 0 0 ${OP} 0 prompt 0 0 ${OP} 0 public 0 0 ${OP} 0 push 0 0 ${OP} 0 rang 0 0 ${OP} 0 range 0 0 ${OP} 0 read 0 0 ${OP} 0 reca 0 0 ${OP} 0 recall 0 0 ${OP} 0 recc 0 0 ${OP} 0 reccount 0 0 ${OP} 0 recno 0 0 ${OP} 0 rela 0 0 ${OP} 0 relation 0 0 ${OP} 0 rele 0 0 ${OP} 0 repl 0 0 ${OP} 0 replace 0 0 ${OP} 0 rest 0 0 ${OP} 0 restore 0 0 ${OP} 0 right 0 0 ${OP} 0 round 0 0 ${OP} 0 safe 0 0 ${OP} 0 safety 0 0 ${OP} 0 say 0 0 ${OP} 0 save 0 0 ${OP} 0 scan 0 0 ${OP} 0 scat 0 0 ${OP} 0 sche 0 0 ${OP} 0 scheme 0 0 ${OP} 0 scre 0 0 ${OP} 0 screen 0 0 ${OP} 0 seek 0 0 ${OP} 0 sele 0 0 ${OP} 0 select 0 0 ${OP} 0 set 0 0 ${OP} 0 shad 0 0 ${OP} 0 shadow 0 0 ${OP} 0 show 0 0 ${OP} 0 skip 0 0 ${OP} 0 space 0 0 ${OP} 0 store 0 0 ${OP} 0 str 0 0 ${OP} 0 stuff 0 0 ${OP} 0 substr 0 0 ${OP} 0 sysm 0 0 ${OP} 0 sysmenu 0 0 ${OP} 0 sys 0 0 ${OP} 0 tabl 0 0 ${OP} 0 table 0 0 ${OP} 0 tag 0 0 ${OP} 0 talk 0 0 ${OP} 0 this 0 0 ${OP} 0 title 0 0 ${OP} 0 to 0 0 ${OP} 0 top 0 0 ${OP} 0 total 0 0 ${OP} 0 use 0 0 ${OP} 0 used 0 0 ${OP} 0 val 0 0 ${OP} 0 vali 0 0 ${OP} 0 valid 0 0 ${OP} 0 values 0 0 ${OP} 0 wait 0 0 ${OP} 0 when 0 0 ${OP} 0 where 0 0 ${OP} 0 wind 0 0 ${OP} 0 window 0 0 ${OP} 0 with 0 0 ${OP} 0 year 0 0 ${OP} 0 zap ;----------------------------------------------; ; 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 ("Folds:" section) or skip start ("Skips:" section) located at line start. ; 16 fold start ("Folds:" section) or skip start ("Skips:" section) located at line end. ; 32 fold end ("Folds:" section) or skip end ("Skips:" section) located at line start. ; 64 fold end ("Folds:" section) or skip end ("Skips:" section) located at line end. ; 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 - "", "", "" ("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 `"` `"` "" 513 "*" "" "" Folds: ;========================================================================================= ;Flags Font Color Color Fold Fold Delimiters Parent Rule Rule ; style text bkgrnd start end ID ID file ;========================================================================================= ;513=1+512 513 3 ${COMM} 0 "/*" "*/" "" 1 0 0 0 "{" "}" "" 1 0 0 0 "#region" "#endregion" "" ;----------------------------------------------; ; AutoComplete ; ;----------------------------------------------; ;Flags (sum of the members) ; 1 force case sensitive. ; 2 force case insensitive. ; 4 regular expression (only for "$="). Scan starts from caret line beginning and metacharacters \a or \z specified caret position. ; 8 Don't show in listbox. CompleteList: ;===================================================================================================================================================================================================================================================================================================================================================================================================================================================================== ;ListFontStyle ListFontSize ListFaceName ListLineGap ListBlockIcon `"C:\1.dll", 0` ListBlockIconMargins "left;right" ListHlBaseIcon `"C:\1.dll", 0` ListHlBaseIconMargins "left;right" ListDocWordIcon `"C:\1.dll", 0` 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. ; $(flags)~abbr normal abbreviation with flags. ; $=abbr exact abbreviation. May contain delimiters. ; $(flags)=abbr exact abbreviation with flags. 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. ;============================================================================= $~for for $[] = $[] to $[] ${AutoComplete_Indent}$[] endf $~if if $[] ${AutoComplete_Indent}$[] endif $~case do case ${AutoComplete_Indent}case $[] ${AutoComplete_Indent}${AutoComplete_Indent}$[] ${AutoComplete_Indent}case $[] ${AutoComplete_Indent}${AutoComplete_Indent}$[] ${AutoComplete_Indent}othe ${AutoComplete_Indent}${AutoComplete_Indent}$[] endc $~while do while $[] ${AutoComplete_Indent}$[] endd