Advertisement
Guest User

Untitled

a guest
Dec 5th, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.65 KB | None | 0 0
  1. ;----------------------------------------------;
  2. ; Coder plugin syntax file ;
  3. ;----------------------------------------------;
  4.  
  5. ; * Fr0sT mod *
  6. ; Fixed: begin - case - end - end folding; region folding;
  7. ; keywords lower case; some Words reorganized and added
  8.  
  9. ;Colors
  10. ; Color need to be in #RRGGBB format.
  11. ; If color equal to zero, then color ignored.
  12. ;
  13. ;Font styles
  14. ; 0 ignored.
  15. ; 1 normal.
  16. ; 2 bold.
  17. ; 3 italic.
  18. ; 4 bold italic.
  19. ;
  20. ;For comfort file viewing/editing set tab size to 8 or higher.
  21.  
  22.  
  23. Files:
  24. ;==========
  25. ;File types
  26. ;==========
  27. *.dpr
  28. *.pas
  29.  
  30.  
  31. ;----------------------------------------------;
  32. ; HighLight ;
  33. ;----------------------------------------------;
  34.  
  35. ;Flags (sum of the members)
  36. ; 1 case sensitive.
  37. ; 2 word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
  38. ; 4 quote end required ("Quotes:" section only).
  39. ; 8 quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
  40. ; 16 quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
  41. ; 32 don't highlight quote start ("Quotes:" section only).
  42. ; 64 don't highlight quote end ("Quotes:" section only).
  43. ; 128 don't catch and don't highlight quote start ("Quotes:" section only).
  44. ; 256 don't catch and don't highlight quote end ("Quotes:" section only).
  45. ; 512 quote start, delimiter or word located at line start.
  46. ; 1024 quote end, delimiter or word located at line end.
  47. ; 2048 quote start is surrounded with delimiters ("Quotes:" section only).
  48. ; 4096 quote end is surrounded with delimiters ("Quotes:" section only).
  49. ; 8192 quote doesn't contain delimiters ("Quotes:" section only).
  50. ; 16384 only quote start string is catched ("Quotes:" section only).
  51.  
  52.  
  53. Font:
  54. ;=================================================================
  55. ;FontStyle FontSize FaceName
  56. ;=================================================================
  57. ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
  58.  
  59.  
  60. Colors:
  61. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  62. ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
  63. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  64. ${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}
  65.  
  66.  
  67. AutoMark:
  68. ;====================================================================================================================
  69. ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
  70. ;====================================================================================================================
  71. ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
  72.  
  73.  
  74. Quotes:
  75. ;======================================================================
  76. ;Flags Font Color Color Quote Quote Escape Quote Quote
  77. ; style text bkgrnd start end char include exclude
  78. ;======================================================================
  79. ;5=1+4
  80. 5 3 ${STR} 0 "'" "'" "" "" ""
  81. ;1=1
  82. 1 3 ${COMM} 0 "//" "" ":" "" ""
  83. ;5=1+4
  84. 5 0 ${VAR} 0 "{$" "}" "" "" ""
  85. ;5=1+4
  86. 5 3 ${COMM} 0 "{" "}" "" "" ""
  87. ;5=1+4
  88. 5 3 ${COMM} 0 "(*" "*)" "" "" ""
  89.  
  90.  
  91. Delimiters:
  92. ;======================================
  93. ;Flags Font Color Color Char(s)
  94. ; style text bkgrnd
  95. ;======================================
  96. 1 0 0 0 " "
  97. 1 0 0 0 " "
  98. 1 0 ${DEL1} 0 (
  99. 1 0 ${DEL1} 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.  
  116.  
  117. Words:
  118. ;===================================
  119. ;Flags Font Color Color Word
  120. ; style text bkgrnd
  121. ;===================================
  122. ;--Types--
  123. 0 0 ${TYPE} 0 AnsiChar
  124. 0 0 ${TYPE} 0 AnsiString
  125. 0 0 ${TYPE} 0 Boolean
  126. 0 0 ${TYPE} 0 Byte
  127. 0 0 ${TYPE} 0 ByteBool
  128. 0 0 ${TYPE} 0 Cardinal
  129. 0 0 ${TYPE} 0 Char
  130. 0 0 ${TYPE} 0 Comp
  131. 0 0 ${TYPE} 0 Currency
  132. 0 0 ${TYPE} 0 Double
  133. 0 0 ${TYPE} 0 Extended
  134. 0 0 ${TYPE} 0 Int64
  135. 0 0 ${TYPE} 0 Integer
  136. 0 0 ${TYPE} 0 LongBool
  137. 0 0 ${TYPE} 0 LongInt
  138. 0 0 ${TYPE} 0 LongWord
  139. 0 0 ${TYPE} 0 OleVariant
  140. 0 0 ${TYPE} 0 OpenString
  141. 0 0 ${TYPE} 0 PAnsiChar
  142. 0 0 ${TYPE} 0 PChar
  143. 0 0 ${TYPE} 0 Pointer
  144. 0 0 ${TYPE} 0 PWideChar
  145. 0 0 ${TYPE} 0 Real
  146. 0 0 ${TYPE} 0 Real46
  147. 0 0 ${TYPE} 0 ShortInt
  148. 0 0 ${TYPE} 0 ShortString
  149. 0 0 ${TYPE} 0 Single
  150. 0 0 ${TYPE} 0 SmallInt
  151. 0 0 ${TYPE} 0 String
  152. 0 0 ${TYPE} 0 TDateTime
  153. 0 0 ${TYPE} 0 Text
  154. 0 0 ${TYPE} 0 TextFile
  155. 0 0 ${TYPE} 0 UInt64
  156. 0 0 ${TYPE} 0 UnicodeString
  157. 0 0 ${TYPE} 0 Variant
  158. 0 0 ${TYPE} 0 WideChar
  159. 0 0 ${TYPE} 0 WideString
  160. 0 0 ${TYPE} 0 Word
  161. 0 0 ${TYPE} 0 WordBool
  162. ;--Math--
  163. 0 0 ${OP} 0 and
  164. 0 0 ${OP} 0 as
  165. 0 0 ${OP} 0 div
  166. 0 0 ${OP} 0 in
  167. 0 0 ${OP} 0 is
  168. 0 0 ${OP} 0 mod
  169. 0 0 ${OP} 0 not
  170. 0 0 ${OP} 0 or
  171. 0 0 ${OP} 0 shl
  172. 0 0 ${OP} 0 shr
  173. 0 0 ${OP} 0 xor
  174. ;--Operators--
  175. 0 0 ${OP} 0 array
  176. 0 0 ${OP} 0 absolute
  177. 0 0 ${OP} 0 abstract
  178. 0 0 ${OP} 0 asm
  179. 0 0 ${OP} 0 assembler
  180. 0 0 ${OP} 0 automated
  181. 0 0 ${OP} 0 begin
  182. 0 0 ${OP} 0 cdecl
  183. 0 0 ${OP} 0 class
  184. 0 0 ${OP} 0 const
  185. 0 0 ${OP} 0 constructor
  186. 0 0 ${OP} 0 contains
  187. 0 0 ${OP} 0 destructor
  188. 0 0 ${OP} 0 dispid
  189. 0 0 ${OP} 0 dispinterface
  190. 0 0 ${OP} 0 dynamic
  191. 0 0 ${OP} 0 end
  192. 0 0 ${OP} 0 export
  193. 0 0 ${OP} 0 exports
  194. 0 0 ${OP} 0 external
  195. 0 0 ${OP} 0 far
  196. 0 0 ${OP} 0 file
  197. 0 0 ${OP} 0 finalization
  198. 0 0 ${OP} 0 forward
  199. 0 0 ${OP} 0 function
  200. 0 0 ${OP} 0 implementation
  201. 0 0 ${OP} 0 inherited
  202. 0 0 ${OP} 0 initialization
  203. 0 0 ${OP} 0 inline
  204. 0 0 ${OP} 0 interface
  205. 0 0 ${OP} 0 interrupt
  206. 0 0 ${OP} 0 label
  207. 0 0 ${OP} 0 library
  208. 0 0 ${OP} 0 message
  209. 0 0 ${OP} 0 near
  210. 0 0 ${OP} 0 nil
  211. 0 0 ${OP} 0 object
  212. 0 0 ${OP} 0 out
  213. 0 0 ${OP} 0 overload
  214. 0 0 ${OP} 0 override
  215. 0 0 ${OP} 0 package
  216. 0 0 ${OP} 0 packed
  217. 0 0 ${OP} 0 pascal
  218. 0 0 ${OP} 0 private
  219. 0 0 ${OP} 0 procedure
  220. 0 0 ${OP} 0 program
  221. 0 0 ${OP} 0 property
  222. 0 0 ${OP} 0 protected
  223. 0 0 ${OP} 0 public
  224. 0 0 ${OP} 0 published
  225. 0 0 ${OP} 0 raise
  226. 0 0 ${OP} 0 read
  227. 0 0 ${OP} 0 record
  228. 0 0 ${OP} 0 register
  229. 0 0 ${OP} 0 reintroduce
  230. 0 0 ${OP} 0 requires
  231. 0 0 ${OP} 0 resident
  232. 0 0 ${OP} 0 resourcestring
  233. 0 0 ${OP} 0 result
  234. 0 0 ${OP} 0 safecall
  235. 0 0 ${OP} 0 Self
  236. 0 0 ${OP} 0 set
  237. 0 0 ${OP} 0 SizeOf
  238. 0 0 ${OP} 0 stdcall
  239. 0 0 ${OP} 0 strict
  240. 0 0 ${OP} 0 threadvar
  241. 0 0 ${OP} 0 type
  242. 0 0 ${OP} 0 unit
  243. 0 0 ${OP} 0 uses
  244. 0 0 ${OP} 0 var
  245. 0 0 ${OP} 0 virtual
  246. 0 0 ${OP} 0 write
  247. ;--Conditional--
  248. 0 0 ${IF} 0 break
  249. 0 0 ${IF} 0 case
  250. 0 0 ${IF} 0 do
  251. 0 0 ${IF} 0 downto
  252. 0 0 ${IF} 0 else
  253. 0 0 ${IF} 0 except
  254. 0 0 ${IF} 0 Exit
  255. 0 0 ${IF} 0 finally
  256. 0 0 ${IF} 0 for
  257. 0 0 ${IF} 0 goto
  258. 0 0 ${IF} 0 if
  259. 0 0 ${IF} 0 of
  260. 0 0 ${IF} 0 on
  261. 0 0 ${IF} 0 repeat
  262. 0 0 ${IF} 0 then
  263. 0 0 ${IF} 0 to
  264. 0 0 ${IF} 0 try
  265. 0 0 ${IF} 0 until
  266. 0 0 ${IF} 0 while
  267. 0 0 ${IF} 0 with
  268.  
  269.  
  270. ;----------------------------------------------;
  271. ; CodeFold ;
  272. ;----------------------------------------------;
  273.  
  274. ;Flags (sum of the members)
  275. ; 1 case sensitive.
  276. ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
  277. ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
  278. ; 8 fold start located at line start ("Folds:" section only).
  279. ; 16 fold start located at line end ("Folds:" section only).
  280. ; 32 fold end located at line start ("Folds:" section only).
  281. ; 64 fold end located at line end ("Folds:" section only).
  282. ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
  283. ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
  284. ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
  285. ; 1024 reserved.
  286. ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
  287. ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
  288. ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
  289. ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
  290. ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
  291. ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
  292. ; 131072 deny delimiters ("Folds:" section only).
  293.  
  294.  
  295. FoldPanel:
  296. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  297. ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
  298. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  299. ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
  300.  
  301.  
  302. FoldList:
  303. ;================================================
  304. ;ListTextColor ListBkColor
  305. ;================================================
  306. ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
  307.  
  308.  
  309. TagMark:
  310. ;============================================================================================================
  311. ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
  312. ;============================================================================================================
  313. ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
  314.  
  315.  
  316. Skips:
  317. ;=============================
  318. ;Flags Skip Skip Escape
  319. ; start end char
  320. ;=============================
  321. 1 "'" "'" "\"
  322. 1 "//" "" ":"
  323.  
  324.  
  325. Folds:
  326. ;=====================================================================
  327. ;Flags Font Color Color Fold Fold Delimiters
  328. ; style text bkgrnd start end
  329. ;=====================================================================
  330. ;513=1+512
  331. 513 3 ${COMM} 0 "{ " "}" ""
  332. ;513=1+512
  333. 513 3 ${COMM} 0 "(*" "*)" ""
  334. ;130=2+128
  335. 2 0 0 0 "case" "end" " ;.}"
  336. 2 0 0 0 "begin" "end" " ;.}"
  337. 2 0 0 0 "implementation" "end" " ;.}"
  338. 2 0 0 0 "repeat" "until" " ;.}"
  339. ;--try--
  340. 2 0 0 0 "try" "end" " ;.}"
  341. ;130=2+128
  342. 130 0 0 0 "try" "except" " ;.}"
  343. ;130=2+128
  344. 130 0 0 0 "try" "finally" " ;.}"
  345. 2 0 0 0 "except" "end" " ;.}"
  346. 2 0 0 0 "finally" "end" " ;.}"
  347. ;--Definitions--
  348. 2 0 0 0 "record" "end" " ;.}"
  349. 2048 0 0 0 "class;" "" ""
  350. 2 0 0 0 "class" "end" " ;.}("
  351. ;131145= 131072+64+8+1
  352. 131145 0 0 0 "{$REGION" "{$ENDREGION}" ""
  353.  
  354. ;----------------------------------------------;
  355. ; AutoComplete ;
  356. ;----------------------------------------------;
  357.  
  358. Blocks:
  359. ;======================================================================
  360. ;Abbreviations and blocks
  361. ;
  362. ; $~abbr abbreviation.
  363. ; $[] set caret to this position. Can be multiple (hot spots).
  364. ; $[text] select text. Can be multiple (hot spots).
  365. ; $$ symbol $.
  366. ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
  367. ; ${VAR} variable assigned from Coder::Settings.
  368. ; $; comment line.
  369. ;======================================================================
  370. $~if
  371. if $[] then
  372. begin
  373. ${AutoComplete_Indent}$[]
  374. end;
  375.  
  376. $~while
  377. while $[] do
  378. begin
  379. ${AutoComplete_Indent}$[]
  380. end;
  381.  
  382. $~for
  383. for $[] to $[] do
  384. begin
  385. ${AutoComplete_Indent}$[]
  386. end;
  387.  
  388. $~with
  389. with $[] do
  390. begin
  391. ${AutoComplete_Indent}$[]
  392. end;
  393.  
  394. $~repeat
  395. repeat
  396. ${AutoComplete_Indent}$[]
  397. until $[];
  398.  
  399. $~case
  400. case $[] of
  401. ${AutoComplete_Indent}$[]
  402. end;
  403.  
  404. $~procedure
  405. procedure $[];
  406. begin
  407. ${AutoComplete_Indent}$[]
  408. end;
  409.  
  410. $~function
  411. function $[];
  412. begin
  413. ${AutoComplete_Indent}$[]
  414. end;
  415.  
  416.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement