Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;----------------------------------------------;
- ; Coder plugin syntax file ;
- ;----------------------------------------------;
- ; Author: Infocatcher (2015-05-11) (правка AZJIO регвыры)
- ;=================================
- ;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
- ;==========
- *.akelmenu
- ;----------------------------------------------;
- ; 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}
- QuotesRE:
- ;===========================================================================================
- ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID
- ;===========================================================================================
- ; 0 `[А-ЯЁа-яё]+` `\0=(0,#DCA3A3,0)`
- ; Имя пункта в начале строки
- 0 `^\s*-?"[^\n"]+"` `\0=(0,#DCA3A3,0)`
- ; -"Label"
- ; 0 `(-)(?=")` "\1=(2,${DEL1},0)"
- ; Call
- 0 `(Call)(\()("\w+::[^"\(\)]+")` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#00C2BB,0)"
- ; Exec с тремя видами кавычек
- 0 '(Exec)(\()(["`][^\n]+?["`])' "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
- 0 `(Exec)(\()('[^\n]+?')` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
- ; 0 '(Exec)(\()(["`][^\n]+?["`])(?=\)\s*Icon|\))' "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
- ; 0 `(Exec)(\()('[^\n]+?')(?=\)\s*Icon|\))` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
- ; Icon иконки пунктов
- 0 `(Icon)(\()("[^?<>"]+")` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#C0AD72,0)"
- ; Скрипты
- 0 `"\w+.js"` "\0=(0,#AFE7B3,0)"
- 0 `(,)\s*("%a\\.+?\.dll")` "\1=(0,${DEL1},0) \2=(0,#B7C46A,0)"
- 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 3 ${STR} 0 `'` `'` "" "" ""
- 5 3 ${STR} 0 "`" "`" "" "" ""
- 1 3 ${COMM} 0 "#" "" "" "" ""
- 1 3 ${COMM} 0 ";" "" "" "" ""
- ; Ignore "-" without followed numbers
- ;=1+4+16+256+32768
- 33045 0 0 0 "-" "" "" "0123456789" ""
- ; Negative numbers
- ;=1+4+16+256
- 277 0 ${NUM} 0 "-" "" "" "0123456789" ""
- Delimiters:
- ;===============================================
- ;Flags Font Color Color Char(s) Parent
- ; style text bkgrnd ID
- ;===============================================
- 1 0 0 0 " "
- 1 0 0 0 " "
- 1 0 ${DEL1} 0 `"`
- 1 0 ${DEL1} 0 `'`
- 1 0 ${DEL1} 0 "`"
- 1 0 ${DEL1} 0 (
- 1 0 ${DEL1} 0 )
- 1 0 ${DEL2} 0 {
- 1 0 ${DEL2} 0 }
- 1 0 0 0 ,
- 1 0 0 0 -
- Words:
- ;===========================================
- ;Flags Font Color Color Word Parent
- ; style text bkgrnd ID
- ;===========================================
- ; Special menu items:
- 1 0 ${IF} 0 BREAK
- 1 0 ${IF} 0 CLEAR
- 1 0 ${IF} 0 EXPLORER
- 1 0 ${IF} 0 FAVOURITES
- 1 0 ${IF} 0 INCLUDE
- 1 0 ${IF} 0 LANGUAGES
- 1 0 ${IF} 0 MDIDOCUMENTS
- 1 0 ${IF} 0 OPENCODEPAGES
- 1 0 ${IF} 0 RECENTFILES
- 1 0 ${IF} 0 SAVECODEPAGES
- 1 0 ${IF} 0 SEPARATOR
- 1 0 ${IF} 0 SEPARATOR1
- 1 0 ${IF} 0 SET
- 1 0 ${IF} 0 UNSET
- ; Commands:
- 1 0 #AAA6DB 0 +Call
- 1 0 #AAA6DB 0 Break
- 1 0 #AAA6DB 0 Call
- 1 0 #AAA6DB 0 Command
- 1 0 #AAA6DB 0 Exec
- 1 0 #AAA6DB 0 Favourites
- 1 0 #AAA6DB 0 Font
- 1 0 #AAA6DB 0 Icon
- 1 0 #AAA6DB 0 If
- 1 0 #AAA6DB 0 Index
- 1 0 #AAA6DB 0 Insert
- 1 0 #AAA6DB 0 Link
- 1 0 #AAA6DB 0 Menu
- 1 0 #AAA6DB 0 OpenFile
- 1 0 #AAA6DB 0 Recode
- 1 0 #AAA6DB 0 SaveFile
- ; Numbers:
- 3 0 #FFEBDD 0 "0123456789"
- ;----------------------------------------------;
- ; 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 "`" "`" ""
- 1 "#" "" ""
- 1 ";" "" ""
- Folds:
- ;===========================================================================
- ;Flags Font Color Color Fold Fold Deli Parent Rule Rule
- ; style text bkgrnd start end miters ID ID file
- ;===========================================================================
- 1 0 0 0 "{" "}" ""
- 1 0 0 0 "SET(1)" "UNSET(1)" ""
- 1 0 0 0 "SET(2)" "UNSET(2)" ""
- 1 0 0 0 "SET(4)" "UNSET(4)" ""
- 1 0 0 0 "SET(8)" "UNSET(8)" ""
- 1 0 0 0 "SET(16)" "UNSET(16)" ""
- ; Some flags combinations
- 1 0 0 0 "SET(3)" "UNSET(3)" ""
- 1 0 0 0 "SET(5)" "UNSET(5)" ""
- 1 0 0 0 "SET(8)" "UNSET(8)" ""
- ;5=1+4
- 5 0 0 0 "SET(32," "UNSET(32)" ""
- 5 0 0 0 "SET(64," "UNSET(64)" ""
- 5 0 0 0 "SET(128," "UNSET(128)" ""
- ;----------------------------------------------;
- ; 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.
- ;=============================================================================
- $~Menu{}
- "$[]" Index($[-1])
- {
- ${AutoComplete_Indent}$[]
- }
- $~Call()
- -"$[]" $[+]Call($[])
- $~Command()
- "$[]" Command($[])
- $~Exec()
- "$[]" Exec($[])
- $~Font()
- "$[]" Font($[])
- $~Index()
- Index($[-1])
- $~Break()
- Break($[-1])
- $~Insert()
- "$[]" Insert($[])
- $~Link()
- "$[]" Link($[1])
- $~Favourites()
- "$[]" Favourites($[1])
- $~OpenFile()
- "$[]" OpenFile("$[]")
- $~Recode()
- "$[]" Recode($[])
- $~SaveFile()
- "$[]" SaveFile($[])
- $~Icon()
- Icon("%a\AkelFiles\Plugs\$[ToolBar.dll]", $[0])
- $~Menu()
- Menu("$[]")
- $~SET_no_SDI
- SET(1)
- $[]
- UNSET(1)
- $~SET_no_MDI
- SET(2)
- $[]
- UNSET(2)
- $~SET_no_PMDI
- SET(4)
- $[]
- UNSET(4)
- $~SET_file
- SET(32, "%a\AkelFiles\Plugs\$[Scripts.dll]")
- $[]
- UNSET(32)
- $~SET_hide
- SET(64, If($[]))
- $[]
- UNSET(64)
- $~SET_status
- SET(128, If($[]))
- $[]
- UNSET(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement