格式
Plain text
提交日期
2015-10-01 21:17
Publication Period
Unlimited
  1. ;----------------------------------------------;
  2. ; Coder plugin syntax file ;
  3. ;----------------------------------------------;
  4. ;Colors
  5. ; Color need to be in #RRGGBB format.
  6. ; If color equal to zero, then color ignored.
  7. ;
  8. ;Font styles
  9. ; 0 ignored.
  10. ; 1 normal.
  11. ; 2 bold.
  12. ; 3 italic.
  13. ; 4 bold italic.
  14. ;
  15. ;For comfort file viewing/editing set tab size to 8 or higher.
  16. Files:
  17. ;==========
  18. ;File types
  19. ;==========
  20. *.as
  21. ;----------------------------------------------;
  22. ; HighLight ;
  23. ;----------------------------------------------;
  24. ;Flags (sum of the members)
  25. ; 1 case sensitive.
  26. ; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
  27. ; 4 quote end required ("Quotes:" section only).
  28. ; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
  29. ; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
  30. ; 32 don't highlight quote start ("Quotes:" section only).
  31. ; 64 don't highlight quote end ("Quotes:" section only).
  32. ; 128 don't catch and don't highlight quote start ("Quotes:" section only).
  33. ; 256 don't catch and don't highlight quote end ("Quotes:" section only).
  34. ; 512 quote start, delimiter or word located at line start.
  35. ; 1024 quote end, delimiter or word located at line end.
  36. ; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
  37. ; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
  38. ; 8192 quote doesn't contain delimiters ("Quotes:" section only).
  39. ; 16384 only quote start string is catched ("Quotes:" section only).
  40. ; 32768 quote doesn't contain any character ("Quotes:" section only).
  41. Font:
  42. ;=================================================================
  43. ;FontStyle FontSize FaceName
  44. ;=================================================================
  45. ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
  46. Colors:
  47. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  48. ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
  49. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  50. ${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}
  51. BkImage:
  52. ;==================================================
  53. ;BkImageFile BkImageAlpha
  54. ;==================================================
  55. ${HighLight_BkImageFile} ${HighLight_BkImageAlpha}
  56. AutoMark:
  57. ;====================================================================================================================
  58. ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
  59. ;====================================================================================================================
  60. ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
  61. Quotes:
  62. ;======================================================================
  63. ;Flags Font Color Color Quote Quote Escape Quote Quote
  64. ; style text bkgrnd start end char include exclude
  65. ;======================================================================
  66. ;1=1
  67. 1 3 ${STR} 0 `"` `"` "\" "" ""
  68. ;1=1
  69. 1 3 ${STR} 0 "'" "'" "\" "" ""
  70. ;1=1
  71. 1 3 ${STR} 0 '"""' '"""' "" "" ""
  72. ;1=1
  73. 1 3 ${STR} 0 "'''" "'''" "" "" ""
  74. ;1=1
  75. 1 3 ${COMM} 0 "//" "*/" "" "" ""
  76. ;1=1
  77. 1 3 ${COMM} 0 "//" "" ":" "" ""
  78. ;1=1
  79. 1 3 ${COMM} 0 "/*" "*/" "" "" ""
  80. QuotesRE:
  81. ;=========================================================================================
  82. ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...
  83. ;=========================================================================================
  84. ;0 `(")([^"\\]*(\\.[^"\\]*)*)(")` `\1=(0,${DEL1},0) \2=(3,${STR},0) \4=(0,${DEL1},0)`
  85. ;1 '\b(?:u8?|U)?R"(.*?)\[.*\]\1"' '\0=(0,${STR},0)'
  86. 0 "\b\d\w*\b" "\0=(0,${NUM},0)"
  87. Delimiters:
  88. ;======================================
  89. ;Flags Font Color Color Char(s)
  90. ; style text bkgrnd
  91. ;======================================
  92. 1 0 0 0 " "
  93. 1 0 0 0 " "
  94. 1 0 ${DEL1} 0 (
  95. 1 0 ${DEL1} 0 )
  96. 1 0 ${DEL2} 0 '"'
  97. 1 0 ${DEL2} 0 "'"
  98. 1 0 ${DEL2} 0 {
  99. 1 0 ${DEL2} 0 }
  100. 1 0 ${DEL2} 0 .
  101. 1 0 ${DEL2} 0 ,
  102. 1 0 ${DEL2} 0 :
  103. 1 0 ${DEL2} 0 ;
  104. 1 0 ${DEL2} 0 !
  105. 1 0 ${DEL2} 0 ~
  106. 1 0 ${DEL2} 0 |
  107. 1 0 ${DEL2} 0 =
  108. 1 0 ${DEL2} 0 -
  109. 1 0 ${DEL2} 0 *
  110. 1 0 ${DEL2} 0 +
  111. 1 0 ${DEL2} 0 /
  112. 1 0 ${DEL2} 0 <
  113. 1 0 ${DEL2} 0 >
  114. 1 0 ${DEL2} 0 &
  115. 1 0 ${DEL2} 0 ^
  116. 1 0 ${DEL2} 0 %
  117. 1 0 ${DEL2} 0 ?
  118. 1 0 ${DEL2} 0 [
  119. 1 0 ${DEL2} 0 ]
  120. 1 0 ${DEL2} 0 @
  121. Words:
  122. ;===================================
  123. ;Flags Font Color Color Word
  124. ; style text bkgrnd
  125. ;===================================
  126. 1 0 ${OP} 0 abstract
  127. 1 0 ${OP} 0 and
  128. 1 0 ${TYPE} 0 auto
  129. 1 0 ${TYPE} 0 bool
  130. 1 0 ${IF} 0 break
  131. 1 0 ${IF} 0 case
  132. 1 0 ${OP} 0 cast
  133. 1 0 ${OP} 0 class
  134. 1 0 ${OP} 0 const
  135. 1 0 ${IF} 0 continue
  136. 1 0 ${IF} 0 default
  137. 1 0 ${IF} 0 do
  138. 1 0 ${TYPE} 0 double
  139. 1 0 ${IF} 0 else
  140. 1 0 ${OP} 0 enum
  141. 1 0 ${TYPE} 0 false
  142. 1 0 ${OP} 0 final
  143. 1 0 ${TYPE} 0 float
  144. 1 0 ${IF} 0 for
  145. 1 0 ${OP} 0 from
  146. 1 0 ${OP} 0 funcdef
  147. 1 0 ${OP} 0 function
  148. 1 0 ${OP} 0 get
  149. 1 0 ${IF} 0 if
  150. 1 0 ${OP} 0 import
  151. 1 0 ${OP} 0 in
  152. 1 0 ${OP} 0 inout
  153. 1 0 ${TYPE} 0 int
  154. 1 0 ${OP} 0 interface
  155. 1 0 ${TYPE} 0 int8
  156. 1 0 ${TYPE} 0 int16
  157. 1 0 ${TYPE} 0 int32
  158. 1 0 ${TYPE} 0 int64
  159. 1 0 ${OP} 0 is
  160. 1 0 ${OP} 0 mixin
  161. 1 0 ${OP} 0 namespace
  162. 1 0 ${OP} 0 not
  163. 1 0 ${TYPE} 0 null
  164. 1 0 ${OP} 0 or
  165. 1 0 ${OP} 0 out
  166. 1 0 ${OP} 0 override
  167. 1 0 ${OP} 0 private
  168. 1 0 ${OP} 0 protected
  169. 1 0 ${IF} 0 return
  170. 1 0 ${OP} 0 set
  171. 1 0 ${OP} 0 shared
  172. 1 0 ${OP} 0 super
  173. 1 0 ${IF} 0 switch
  174. 1 0 ${OP} 0 this
  175. 1 0 ${TYPE} 0 true
  176. 1 0 ${OP} 0 typedef
  177. 1 0 ${TYPE} 0 uint
  178. 1 0 ${TYPE} 0 uint8
  179. 1 0 ${TYPE} 0 uint16
  180. 1 0 ${TYPE} 0 uint32
  181. 1 0 ${TYPE} 0 uint64
  182. 1 0 ${TYPE} 0 void
  183. 1 0 ${IF} 0 while
  184. 1 0 ${OP} 0 xor
  185. ;----------------------------------------------;
  186. ; CodeFold ;
  187. ;----------------------------------------------;
  188. ;Flags (sum of the members)
  189. ; 1 case sensitive.
  190. ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
  191. ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
  192. ; 8 fold start located at line start ("Folds:" section only).
  193. ; 16 fold start located at line end ("Folds:" section only).
  194. ; 32 fold end located at line start ("Folds:" section only).
  195. ; 64 fold end located at line end ("Folds:" section only).
  196. ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
  197. ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
  198. ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
  199. ; 1024 reserved.
  200. ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
  201. ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
  202. ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
  203. ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
  204. ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
  205. ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
  206. ; 131072 deny delimiters ("Folds:" section only).
  207. ; 262144 don't show fold in list ("Folds:" section only).
  208. ; 1048576 regular expression in fold start ("Folds:" section) or skip start ("Skips:" section).
  209. ; 2097152 regular expression in fold end ("Folds:" section) or skip end ("Skips:" section).
  210. FoldPanel:
  211. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  212. ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
  213. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  214. ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
  215. FoldList:
  216. ;================================================
  217. ;ListTextColor ListBkColor
  218. ;================================================
  219. ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
  220. TagMark:
  221. ;============================================================================================================
  222. ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
  223. ;============================================================================================================
  224. ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
  225. Skips:
  226. ;=============================
  227. ;Flags Skip Skip Escape
  228. ; start end char
  229. ;=============================
  230. 1 `"` `"` "\"
  231. 1 `'` `'` "\"
  232. 1 "//" "" ":"
  233. Folds:
  234. ;==============================================================
  235. ;Flags Font Color Color Fold Fold Delimiters
  236. ; style text bkgrnd start end
  237. ;==============================================================
  238. 1 0 0 0 "{" "}" ""
  239. ;262657=1+512+262144
  240. 262657 3 ${COMM} 0 "/*" "*/" ""
  241. ;262145=1+262144
  242. 262145 0 0 0 "(" ")" ""
  243. ;262657=1+512+262144
  244. 262657 3 ${STR} 0 '"""' '"""' ""
  245. ;262657=1+512+262144
  246. 262657 3 ${STR} 0 "'''" "'''" ""
  247. ;--switch...case...default--
  248. ;169=1+8+32+128
  249. 169 0 0 0 "case" "case" " "
  250. ;169=1+8+32+128
  251. 169 0 0 0 "case" "default" " :"
  252. ;169=1+8+32+128
  253. 169 0 0 0 "default" "case" " :"
  254. ;98441=1+8+128+32768+65536
  255. 98441 0 0 0 "case" "}" " :"
  256. ;98441=1+8+128+32768+65536
  257. 98441 0 0 0 "default" "}" " :"
  258. ;----------------------------------------------;
  259. ; AutoComplete ;
  260. ;----------------------------------------------;
  261. CompleteList:
  262. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  263. ;ListFontStyle ListFontSize ListFaceName ListLineGap ListBlockIcon ListBlockIconMargins "left;right" ListHlBaseIcon ListHlBaseIconMargins "left;right" ListDocWordIcon ListDocWordIconMargins "left;right" ListBasicTextColor ListBasicBkColor ListSelTextColor ListSelBkColor
  264. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  265. ${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}
  266. Blocks:
  267. ;======================================================================
  268. ;Abbreviations and blocks
  269. ;
  270. ; $~abbr normal abbreviation.
  271. ; $=abbr exact abbreviation. May contain delimiters.
  272. ; $[] set caret to this position. Can be multiple (hot spots).
  273. ; $[text] select text. Can be multiple (hot spots).
  274. ; $$ symbol $.
  275. ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
  276. ; ${VAR} variable assigned from Coder::Settings.
  277. ; $; comment line.
  278. ;======================================================================
  279. $~case
  280. case $[]:
  281. ${AutoComplete_Indent}$[]
  282. ${AutoComplete_Indent}break;
  283. $~class
  284. class $[]
  285. {
  286. ${AutoComplete_Indent}$[]
  287. }
  288. $~do
  289. do
  290. {
  291. ${AutoComplete_Indent}$[]
  292. }
  293. while ($[]);
  294. $~elif $~elseif
  295. else if ($[])
  296. {
  297. ${AutoComplete_Indent}$[]
  298. }
  299. $~else
  300. else
  301. {
  302. ${AutoComplete_Indent}$[]
  303. }
  304. $~enum
  305. enum $[]
  306. {
  307. ${AutoComplete_Indent}$[]
  308. }
  309. $~for
  310. for ($[]; $[]; $[])
  311. {
  312. ${AutoComplete_Indent}$[]
  313. }
  314. $~if
  315. if ($[])
  316. {
  317. ${AutoComplete_Indent}$[]
  318. }
  319. $~interface
  320. interface $[]
  321. {
  322. ${AutoComplete_Indent}$[]
  323. }
  324. $~mixin
  325. mixin class $[]
  326. {
  327. ${AutoComplete_Indent}$[]
  328. }
  329. $~namespace
  330. namespace $[]
  331. {
  332. ${AutoComplete_Indent}$[]
  333. }
  334. $~switch
  335. switch ($[])
  336. {
  337. case $[]:
  338. ${AutoComplete_Indent}$[]
  339. ${AutoComplete_Indent}break;
  340. case $[]:
  341. ${AutoComplete_Indent}$[]
  342. ${AutoComplete_Indent}break;
  343. default:
  344. ${AutoComplete_Indent}$[]
  345. ${AutoComplete_Indent}break;
  346. }
  347. $~while
  348. while ($[])
  349. {
  350. ${AutoComplete_Indent}$[]
  351. }
  352. $={
  353. {
  354. ${AutoComplete_Indent}$[]
  355. $; } is already here because of the XBrackets plugin
下载 可打印视图

网址

Embed with JavaScript

Embed with iframe

原始文本