Advertisement
AZJIO

akelmenu.coder

Jul 25th, 2019
615
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.57 KB | None | 0 0
  1. ;----------------------------------------------;
  2. ; Coder plugin syntax file ;
  3. ;----------------------------------------------;
  4.  
  5. ; Author: Infocatcher (2015-05-11) (правка AZJIO регвыры)
  6. ;=================================
  7.  
  8. ;Colors
  9. ; Color need to be in #RRGGBB format.
  10. ; If color equal to zero, then color ignored.
  11. ;
  12. ;Font styles
  13. ; 0 ignored.
  14. ; 1 normal.
  15. ; 2 bold.
  16. ; 3 italic.
  17. ; 4 bold italic.
  18. ;
  19. ;For comfort file viewing/editing set tab size to 8.
  20.  
  21. Files:
  22. ;==========
  23. ;File types
  24. ;==========
  25. *.akelmenu
  26.  
  27.  
  28. ;----------------------------------------------;
  29. ; HighLight ;
  30. ;----------------------------------------------;
  31.  
  32. ;Flags (sum of the members)
  33. ; 1 case sensitive.
  34. ; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
  35. ; 4 quote end required ("Quotes:" section only).
  36. ; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
  37. ; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
  38. ; 32 don't highlight quote start ("Quotes:" section only).
  39. ; 64 don't highlight quote end ("Quotes:" section only).
  40. ; 128 don't catch and don't highlight quote start ("Quotes:" section only).
  41. ; 256 don't catch and don't highlight quote end ("Quotes:" section only).
  42. ; 512 quote start, delimiter or word located at line start.
  43. ; 1024 quote end, delimiter or word located at line end.
  44. ; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
  45. ; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
  46. ; 8192 quote doesn't contain delimiters ("Quotes:" section only).
  47. ; 16384 only quote start string is catched ("Quotes:" section only).
  48. ; 32768 quote doesn't contain any character ("Quotes:" section only).
  49.  
  50.  
  51. Font:
  52. ;=================================================================
  53. ;FontStyle FontSize FaceName
  54. ;=================================================================
  55. ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
  56.  
  57.  
  58. Colors:
  59. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  60. ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
  61. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  62. ${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}
  63.  
  64.  
  65. BkImage:
  66. ;==================================================
  67. ;BkImageFile BkImageAlpha
  68. ;==================================================
  69. ${HighLight_BkImageFile} ${HighLight_BkImageAlpha}
  70.  
  71.  
  72. AutoMark:
  73. ;====================================================================================================================
  74. ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
  75. ;====================================================================================================================
  76. ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
  77.  
  78.  
  79. QuotesRE:
  80. ;===========================================================================================
  81. ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID
  82. ;===========================================================================================
  83. ; 0 `[А-ЯЁа-яё]+` `\0=(0,#DCA3A3,0)`
  84. ; Имя пункта в начале строки
  85. 0 `^\s*-?"[^\n"]+"` `\0=(0,#DCA3A3,0)`
  86. ; -"Label"
  87. ; 0 `(-)(?=")` "\1=(2,${DEL1},0)"
  88. ; Call
  89. 0 `(Call)(\()("\w+::[^"\(\)]+")` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#00C2BB,0)"
  90. ; Exec с тремя видами кавычек
  91. 0 '(Exec)(\()(["`][^\n]+?["`])' "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
  92. 0 `(Exec)(\()('[^\n]+?')` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
  93. ; 0 '(Exec)(\()(["`][^\n]+?["`])(?=\)\s*Icon|\))' "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
  94. ; 0 `(Exec)(\()('[^\n]+?')(?=\)\s*Icon|\))` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#D997DE,0)"
  95. ; Icon иконки пунктов
  96. 0 `(Icon)(\()("[^?<>"]+")` "\1=(2,#AAA6DB,0) \2=(0,${DEL1},0) \3=(0,#C0AD72,0)"
  97. ; Скрипты
  98. 0 `"\w+.js"` "\0=(0,#AFE7B3,0)"
  99. 0 `(,)\s*("%a\\.+?\.dll")` "\1=(0,${DEL1},0) \2=(0,#B7C46A,0)"
  100.  
  101.  
  102. Quotes:
  103. ;===================================================================================
  104. ;Flags Font Color Color Quote Quote Escape Quote Quote Parent Rule
  105. ; style text bkgrnd start end char include exclude ID ID
  106. ;===================================================================================
  107. ;5=1+4
  108. 5 3 ${STR} 0 `"` `"` "" "" ""
  109. 5 3 ${STR} 0 `'` `'` "" "" ""
  110. 5 3 ${STR} 0 "`" "`" "" "" ""
  111. 1 3 ${COMM} 0 "#" "" "" "" ""
  112. 1 3 ${COMM} 0 ";" "" "" "" ""
  113. ; Ignore "-" without followed numbers
  114. ;=1+4+16+256+32768
  115. 33045 0 0 0 "-" "" "" "0123456789" ""
  116. ; Negative numbers
  117. ;=1+4+16+256
  118. 277 0 ${NUM} 0 "-" "" "" "0123456789" ""
  119.  
  120.  
  121. Delimiters:
  122. ;===============================================
  123. ;Flags Font Color Color Char(s) Parent
  124. ; style text bkgrnd ID
  125. ;===============================================
  126. 1 0 0 0 " "
  127. 1 0 0 0 " "
  128. 1 0 ${DEL1} 0 `"`
  129. 1 0 ${DEL1} 0 `'`
  130. 1 0 ${DEL1} 0 "`"
  131. 1 0 ${DEL1} 0 (
  132. 1 0 ${DEL1} 0 )
  133. 1 0 ${DEL2} 0 {
  134. 1 0 ${DEL2} 0 }
  135. 1 0 0 0 ,
  136. 1 0 0 0 -
  137.  
  138.  
  139. Words:
  140. ;===========================================
  141. ;Flags Font Color Color Word Parent
  142. ; style text bkgrnd ID
  143. ;===========================================
  144. ; Special menu items:
  145. 1 0 ${IF} 0 BREAK
  146. 1 0 ${IF} 0 CLEAR
  147. 1 0 ${IF} 0 EXPLORER
  148. 1 0 ${IF} 0 FAVOURITES
  149. 1 0 ${IF} 0 INCLUDE
  150. 1 0 ${IF} 0 LANGUAGES
  151. 1 0 ${IF} 0 MDIDOCUMENTS
  152. 1 0 ${IF} 0 OPENCODEPAGES
  153. 1 0 ${IF} 0 RECENTFILES
  154. 1 0 ${IF} 0 SAVECODEPAGES
  155. 1 0 ${IF} 0 SEPARATOR
  156. 1 0 ${IF} 0 SEPARATOR1
  157. 1 0 ${IF} 0 SET
  158. 1 0 ${IF} 0 UNSET
  159. ; Commands:
  160. 1 0 #AAA6DB 0 +Call
  161. 1 0 #AAA6DB 0 Break
  162. 1 0 #AAA6DB 0 Call
  163. 1 0 #AAA6DB 0 Command
  164. 1 0 #AAA6DB 0 Exec
  165. 1 0 #AAA6DB 0 Favourites
  166. 1 0 #AAA6DB 0 Font
  167. 1 0 #AAA6DB 0 Icon
  168. 1 0 #AAA6DB 0 If
  169. 1 0 #AAA6DB 0 Index
  170. 1 0 #AAA6DB 0 Insert
  171. 1 0 #AAA6DB 0 Link
  172. 1 0 #AAA6DB 0 Menu
  173. 1 0 #AAA6DB 0 OpenFile
  174. 1 0 #AAA6DB 0 Recode
  175. 1 0 #AAA6DB 0 SaveFile
  176. ; Numbers:
  177. 3 0 #FFEBDD 0 "0123456789"
  178.  
  179.  
  180. ;----------------------------------------------;
  181. ; CodeFold ;
  182. ;----------------------------------------------;
  183.  
  184. ;Flags (sum of the members)
  185. ; 1 case sensitive.
  186. ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
  187. ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
  188. ; 8 fold start located at line start ("Folds:" section only).
  189. ; 16 fold start located at line end ("Folds:" section only).
  190. ; 32 fold end located at line start ("Folds:" section only).
  191. ; 64 fold end located at line end ("Folds:" section only).
  192. ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
  193. ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
  194. ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
  195. ; 1024 reserved.
  196. ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
  197. ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
  198. ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
  199. ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
  200. ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
  201. ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
  202. ; 131072 deny delimiters ("Folds:" section only).
  203. ; 262144 don't show fold in list ("Folds:" section only).
  204. ; 1048576 regular expression in fold start ("Folds:" section) or skip start ("Skips:" section).
  205. ; 2097152 regular expression in fold end ("Folds:" section) or skip end ("Skips:" section).
  206.  
  207.  
  208. FoldPanel:
  209. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  210. ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
  211. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  212. ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
  213.  
  214.  
  215. FoldList:
  216. ;================================================
  217. ;ListTextColor ListBkColor
  218. ;================================================
  219. ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
  220.  
  221.  
  222. TagMark:
  223. ;============================================================================================================
  224. ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
  225. ;============================================================================================================
  226. ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
  227.  
  228.  
  229. Skips:
  230. ;=====================================
  231. ;Flags Skip Skip Escape
  232. ; start end char
  233. ;=====================================
  234. 1 `"` `"` ""
  235. 1 `'` `'` ""
  236. 1 "`" "`" ""
  237. 1 "#" "" ""
  238. 1 ";" "" ""
  239.  
  240.  
  241. Folds:
  242. ;===========================================================================
  243. ;Flags Font Color Color Fold Fold Deli Parent Rule Rule
  244. ; style text bkgrnd start end miters ID ID file
  245. ;===========================================================================
  246. 1 0 0 0 "{" "}" ""
  247. 1 0 0 0 "SET(1)" "UNSET(1)" ""
  248. 1 0 0 0 "SET(2)" "UNSET(2)" ""
  249. 1 0 0 0 "SET(4)" "UNSET(4)" ""
  250. 1 0 0 0 "SET(8)" "UNSET(8)" ""
  251. 1 0 0 0 "SET(16)" "UNSET(16)" ""
  252. ; Some flags combinations
  253. 1 0 0 0 "SET(3)" "UNSET(3)" ""
  254. 1 0 0 0 "SET(5)" "UNSET(5)" ""
  255. 1 0 0 0 "SET(8)" "UNSET(8)" ""
  256. ;5=1+4
  257. 5 0 0 0 "SET(32," "UNSET(32)" ""
  258. 5 0 0 0 "SET(64," "UNSET(64)" ""
  259. 5 0 0 0 "SET(128," "UNSET(128)" ""
  260.  
  261.  
  262. ;----------------------------------------------;
  263. ; AutoComplete ;
  264. ;----------------------------------------------;
  265.  
  266. ;Flags (sum of the members)
  267. ; 1 force case sensitive.
  268. ; 2 force case insensitive.
  269. ; 4 regular expression (only for "$="). Scan starts from caret line beginning and metacharacters \a or \z specified caret position.
  270. ; 8 Don't show in listbox.
  271.  
  272.  
  273. CompleteList:
  274. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  275. ;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
  276. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  277. ${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}
  278.  
  279.  
  280. Blocks:
  281. ;=============================================================================
  282. ;Abbreviations and blocks
  283. ;
  284. ; $~abbr normal abbreviation.
  285. ; $(flags)~abbr normal abbreviation with flags.
  286. ; $=abbr exact abbreviation. May contain delimiters.
  287. ; $(flags)=abbr exact abbreviation with flags. May contain delimiters.
  288. ; $[] set caret to this position. Can be multiple (hot spots).
  289. ; $[text] select text. Can be multiple (hot spots).
  290. ; $$ symbol $.
  291. ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
  292. ; ${VAR} variable assigned from Coder::Settings.
  293. ; $; comment line.
  294. ;=============================================================================
  295. $~Menu{}
  296. "$[]" Index($[-1])
  297. {
  298. ${AutoComplete_Indent}$[]
  299. }
  300.  
  301. $~Call()
  302. -"$[]" $[+]Call($[])
  303.  
  304. $~Command()
  305. "$[]" Command($[])
  306.  
  307. $~Exec()
  308. "$[]" Exec($[])
  309.  
  310. $~Font()
  311. "$[]" Font($[])
  312.  
  313. $~Index()
  314. Index($[-1])
  315.  
  316. $~Break()
  317. Break($[-1])
  318.  
  319. $~Insert()
  320. "$[]" Insert($[])
  321.  
  322. $~Link()
  323. "$[]" Link($[1])
  324.  
  325. $~Favourites()
  326. "$[]" Favourites($[1])
  327.  
  328. $~OpenFile()
  329. "$[]" OpenFile("$[]")
  330.  
  331. $~Recode()
  332. "$[]" Recode($[])
  333.  
  334. $~SaveFile()
  335. "$[]" SaveFile($[])
  336.  
  337. $~Icon()
  338. Icon("%a\AkelFiles\Plugs\$[ToolBar.dll]", $[0])
  339.  
  340. $~Menu()
  341. Menu("$[]")
  342.  
  343. $~SET_no_SDI
  344. SET(1)
  345. $[]
  346. UNSET(1)
  347.  
  348. $~SET_no_MDI
  349. SET(2)
  350. $[]
  351. UNSET(2)
  352.  
  353. $~SET_no_PMDI
  354. SET(4)
  355. $[]
  356. UNSET(4)
  357.  
  358. $~SET_file
  359. SET(32, "%a\AkelFiles\Plugs\$[Scripts.dll]")
  360. $[]
  361. UNSET(32)
  362.  
  363. $~SET_hide
  364. SET(64, If($[]))
  365. $[]
  366. UNSET(64)
  367.  
  368. $~SET_status
  369. SET(128, If($[]))
  370. $[]
  371. UNSET(128)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement