;----------------------------------------------; ; 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. Files: ;========== ;File types ;========== *.txt ;----------------------------------------------; ; 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 ;=================================================================================== QuotesRE: ;================================================================================================================ ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID ;================================================================================================================ 1 `([0-9]+)|([A-Za-z]+)|([А-Яа-яЁё]+)` `\1=(0,${DEL1},0) \2=(0,${IF},0) \3=(0,${OP},0)` Delimiters: ;=============================================== ;Flags Font Color Color Char(s) Parent ; style text bkgrnd ID ;=============================================== 1 0 0 0 " " 1 0 0 0 " " 1 0 0 0 ( 1 0 0 0 ) 1 0 0 0 { 1 0 0 0 } 1 0 0 0 . 1 0 0 0 , 1 0 0 0 : 1 0 0 0 ; 1 0 0 0 ! 1 0 0 0 ~ 1 0 0 0 | 1 0 0 0 = 1 0 0 0 - 1 0 0 0 * 1 0 0 0 + 1 0 0 0 / 1 0 0 0 < 1 0 0 0 > 1 0 0 0 & 1 0 0 0 ^ 1 0 0 0 % 1 0 0 0 ? 1 0 0 0 [ 1 0 0 0 ] ;;--Digits-- ;1 0 ${DEL1} 0 0 ;1 0 ${DEL1} 0 1 ;1 0 ${DEL1} 0 2 ;1 0 ${DEL1} 0 3 ;1 0 ${DEL1} 0 4 ;1 0 ${DEL1} 0 5 ;1 0 ${DEL1} 0 6 ;1 0 ${DEL1} 0 7 ;1 0 ${DEL1} 0 8 ;1 0 ${DEL1} 0 9 ;;--Latin alphabet-- ;0 0 ${IF} 0 A ;0 0 ${IF} 0 B ;0 0 ${IF} 0 C ;0 0 ${IF} 0 D ;0 0 ${IF} 0 E ;0 0 ${IF} 0 F ;0 0 ${IF} 0 G ;0 0 ${IF} 0 H ;0 0 ${IF} 0 I ;0 0 ${IF} 0 J ;0 0 ${IF} 0 K ;0 0 ${IF} 0 L ;0 0 ${IF} 0 M ;0 0 ${IF} 0 N ;0 0 ${IF} 0 O ;0 0 ${IF} 0 P ;0 0 ${IF} 0 Q ;0 0 ${IF} 0 R ;0 0 ${IF} 0 S ;0 0 ${IF} 0 T ;0 0 ${IF} 0 U ;0 0 ${IF} 0 V ;0 0 ${IF} 0 W ;0 0 ${IF} 0 X ;0 0 ${IF} 0 Y ;0 0 ${IF} 0 Z ;;--Cyrillic alphabet-- ;0 0 ${OP} 0 А ;0 0 ${OP} 0 Б ;0 0 ${OP} 0 В ;0 0 ${OP} 0 Г ;0 0 ${OP} 0 Д ;0 0 ${OP} 0 Е ;0 0 ${OP} 0 Ё ;0 0 ${OP} 0 Ж ;0 0 ${OP} 0 З ;0 0 ${OP} 0 И ;0 0 ${OP} 0 Й ;0 0 ${OP} 0 К ;0 0 ${OP} 0 Л ;0 0 ${OP} 0 М ;0 0 ${OP} 0 Н ;0 0 ${OP} 0 О ;0 0 ${OP} 0 П ;0 0 ${OP} 0 Р ;0 0 ${OP} 0 С ;0 0 ${OP} 0 Т ;0 0 ${OP} 0 У ;0 0 ${OP} 0 Ф ;0 0 ${OP} 0 Х ;0 0 ${OP} 0 Ц ;0 0 ${OP} 0 Ч ;0 0 ${OP} 0 Ш ;0 0 ${OP} 0 Щ ;0 0 ${OP} 0 Ъ ;0 0 ${OP} 0 Ы ;0 0 ${OP} 0 Ь ;0 0 ${OP} 0 Э ;0 0 ${OP} 0 Ю ;0 0 ${OP} 0 Я Words: ;=========================================== ;Flags Font Color Color Word Parent ; style text bkgrnd ID ;=========================================== ;----------------------------------------------; ; 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 ;============================= Folds: ;==================================================================================== ;Flags Font Color Color Fold Fold Delimiters Parent Rule Rule ; style text bkgrnd start end ID ID file ;==================================================================================== ;----------------------------------------------; ; 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. ;============================================================================= $=... … $=---- ─ $=--- — $=-- – $=+- ± $=== $=~~ ≈ $=<< « $=>> » $=,, „ $='' ” $=`` “ $=г' ґ $=(c) © $=(e) € $=c| ¢ $=(l) £ $=(y) ¥ $=(r) ® $=(tm) ™ $=(o) ° $=(.) · $=(,) • $=--> → $=<-- ← $=<--> ↔ $=1/2 ½ $=1/4 ¼ $=3/4 ¾ $=1/8 ⅛ $=3/8 ⅜ $=5/8 ⅝ $=7/8 ⅞