Advertisement
Alexey_B

js-es6.coder

Feb 16th, 2022
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.95 KB | None | 0 0
  1. ;----------------------------------------------;
  2. ; Coder plugin syntax file ;
  3. ;----------------------------------------------;
  4.  
  5. ;Author: wisgest
  6. ;===============
  7.  
  8. ;Colors
  9. ; Color need to be in #RRGGBB or #RGB 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.  
  22. Files:
  23. ;==========
  24. ;File types
  25. ;==========
  26. ;*.js
  27. *.js_es6
  28. *.js_for_coder
  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. ; 32768 quote doesn't contain any character ("Quotes:" section only).
  52.  
  53.  
  54. Font:
  55. ;=================================================================
  56. ;FontStyle FontSize FaceName
  57. ;=================================================================
  58. ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
  59.  
  60.  
  61. Colors:
  62. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  63. ;BasicTextColor BasicBkColor SelTextColor SelBkColor LineTextColor LineBkColor LineBorderColor AltTextColor AltBkColor AltBorderColor ColumnColor MarkerColor CaretColor UrlColor ActiveUrlColor VisitUrlColor
  64. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  65. ${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}
  66.  
  67.  
  68. BkImage:
  69. ;==================================================
  70. ;BkImageFile BkImageAlpha
  71. ;==================================================
  72. ${HighLight_BkImageFile} ${HighLight_BkImageAlpha}
  73.  
  74.  
  75. AutoMark:
  76. ;====================================================================================================================
  77. ;AutoMarkFlags AutoMarkFontStyle AutoMarkTextColor AutoMarkBkColor
  78. ;====================================================================================================================
  79. ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
  80.  
  81.  
  82. Quotes:
  83. ;===================================================================================
  84. ;Flags Font Color Color Quote Quote Escape Quote Quote Parent Rule
  85. ; style text bkgrnd start end char include exclude ID ID
  86. ;===================================================================================
  87. ;5=1+4
  88. 5 3 ${STR} 0 `"` `"` "\" "" "" 0 0
  89. ;5=1+4
  90. 5 3 ${STR} 0 "'" "'" "\" "" "" 0 0
  91. ;1=1
  92. 1 3 ${COMM} 0 "//" "" ":" "" "" 0 0
  93. ;5=1+4
  94. 5 3 ${COMM} 0 "/*" "*/" "" "" "" 0 0
  95. ;--RegExp--
  96. ;16517=1+4+128+16384
  97. 16517 0 0 0 "/" "//" "\" "" "/" 0 0
  98. ;16517=1+4+128+16384
  99. 16517 0 0 0 "/" "/*" "\" "" "/" 0 0
  100. ;16517=1+4+128+16384
  101. 16517 0 0 0 "/" "{" "\" "" "/" 0 0
  102. ;5=1+4
  103. 5 0 ${AREA} 0 "/" "/" "\" "" "" 0 0
  104. ; ES6
  105. ;5=1+4
  106. 5 3 ${STR} 0 "`" "`" "\" "" "" 0 0
  107.  
  108. QuotesRE:
  109. ;===========================================================================================
  110. ;Flags Pattern \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=... ParentID RuleID
  111. ;===========================================================================================
  112. ; Prevents to highlight objects properties as keywords
  113. 0 `\.\K[A-Z_a-z]\w*\b` `\0=(0,#000,0)` 0 0
  114.  
  115. Delimiters:
  116. ;===============================================
  117. ;Flags Font Color Color Char(s) Parent
  118. ; style text bkgrnd ID
  119. ;===============================================
  120. 1 0 0 0 " "
  121. 1 0 0 0 " "
  122. 1 0 ${DEL1} 0 (
  123. 1 0 ${DEL1} 0 )
  124. 1 0 ${DEL2} 0 {
  125. 1 0 ${DEL2} 0 }
  126. 1 0 ${DEL2} 0 .
  127. 1 0 ${DEL2} 0 ,
  128. 1 0 ${DEL2} 0 :
  129. 1 0 ${DEL2} 0 ;
  130. 1 0 ${DEL2} 0 !
  131. 1 0 ${DEL2} 0 ~
  132. 1 0 ${DEL2} 0 |
  133. 1 0 ${DEL2} 0 =
  134. 1 0 ${DEL2} 0 -
  135. 1 0 ${DEL2} 0 *
  136. 1 0 ${DEL2} 0 +
  137. 1 0 ${DEL2} 0 /
  138. 1 0 ${DEL2} 0 <
  139. 1 0 ${DEL2} 0 >
  140. 1 0 ${DEL2} 0 &
  141. 1 0 ${DEL2} 0 ^
  142. 1 0 ${DEL2} 0 %
  143. 1 0 ${DEL2} 0 ?
  144. 1 0 ${DEL2} 0 [
  145. 1 0 ${DEL2} 0 ]
  146.  
  147.  
  148. Words:
  149. ;===========================================
  150. ;Flags Font Color Color Word Parent
  151. ; style text bkgrnd ID
  152. ;===========================================
  153. ;3=1+2
  154. ;3 0 ${NUM} 0 "0123456789"
  155. ;--Keyword--
  156. 1 0 ${OP} 0 var
  157. 1 0 ${OP} 0 function
  158. 1 0 ${OP} 0 void
  159. 1 0 ${OP} 0 new
  160. 1 0 ${OP} 0 delete
  161. 1 0 ${OP} 0 typeof
  162. 1 0 ${OP} 0 instanceof
  163. 1 0 ${OP} 0 in
  164. 1 0 ${OP} 0 this
  165. 1 0 ${OP} 0 debugger
  166. ; ES5
  167. 1 0 ${OP} 0 get
  168. 1 0 ${OP} 0 set
  169. ; ES6
  170. 1 0 ${OP} 0 let
  171. 1 0 ${OP} 0 const
  172. 1 0 ${OP} 0 of
  173. 1 0 ${OP} 0 class
  174. 1 0 ${OP} 0 extends
  175. 1 0 ${OP} 0 super
  176. 1 0 ${OP} 0 static
  177. ;--Objects--
  178. 1 0 ${OP} 0 ActiveXObject
  179. 1 0 ${OP} 0 Array
  180. 1 0 ${OP} 0 Boolean
  181. 1 0 ${OP} 0 Date
  182. 1 0 ${OP} 0 Enumerator
  183. 1 0 ${OP} 0 Error
  184. 1 0 ${OP} 0 Math
  185. 1 0 ${OP} 0 Number
  186. 1 0 ${OP} 0 Object
  187. 1 0 ${OP} 0 RegExp
  188. 1 0 ${OP} 0 String
  189. 1 0 ${OP} 0 VBArray
  190. ; ES6
  191. 1 0 ${OP} 0 Map
  192. 1 0 ${OP} 0 Set
  193. 1 0 ${OP} 0 Symbol
  194. ;--Global Object--
  195. 1 0 ${OP} 0 decodeURI
  196. 1 0 ${OP} 0 decodeURIComponent
  197. 1 0 ${OP} 0 encodeURI
  198. 1 0 ${OP} 0 encodeURIComponent
  199. 1 0 ${OP} 0 escape
  200. 1 0 ${OP} 0 eval
  201. 1 0 ${OP} 0 isFinite
  202. 1 0 ${OP} 0 isNaN
  203. 1 0 ${OP} 0 parseFloat
  204. 1 0 ${OP} 0 parseInt
  205. 1 0 ${OP} 0 unescape
  206. 1 0 ${OP} 0 ScriptEngine
  207. 1 0 ${OP} 0 ScriptEngineMajorVersion
  208. 1 0 ${OP} 0 ScriptEngineMinorVersion
  209. 1 0 ${OP} 0 ScriptEngineBuildVersion
  210. ;--Common properties--
  211. 1 0 0 0 length
  212. ; ES6
  213. 1 0 0 0 size
  214. ;--Common methods--
  215. 1 0 0 0 concat
  216. 1 0 0 0 slice
  217. ; ES5
  218. 1 0 0 0 forEach
  219. ; ES6
  220. 1 0 0 0 entries
  221. 1 0 0 0 keys
  222. 1 0 0 0 values
  223. 1 0 0 0 has
  224. 1 0 0 0 clear
  225. ;--Object Object--
  226. 1 0 0 0 prototype
  227. 1 0 0 0 constructor
  228. 1 0 0 0 toString
  229. 1 0 0 0 toLocaleString
  230. 1 0 0 0 valueOf
  231. 1 0 0 0 hasOwnProperty
  232. 1 0 0 0 propertyIsEnumerable
  233. 1 0 0 0 isPrototypeOf
  234. ; ES5
  235. 1 0 0 0 create
  236. 1 0 0 0 keys
  237. 1 0 0 0 getOwnPropertyNames
  238. 1 0 0 0 getOwnPropertyDescriptor
  239. 1 0 0 0 getOwnPropertyDescriptors
  240. 1 0 0 0 defineProperty
  241. 1 0 0 0 defineProperties
  242. 1 0 0 0 preventExtensions
  243. 1 0 0 0 seal
  244. 1 0 0 0 freeze
  245. 1 0 0 0 isExtensible
  246. 1 0 0 0 isSealed
  247. 1 0 0 0 isFrozen
  248. ; ES6
  249. 1 0 0 0 assign
  250. 1 0 0 0 getOwnPropertySymbols
  251. ;--Date Object--
  252. 1 0 0 0 parse
  253. 1 0 0 0 UTC
  254. 1 0 0 0 toUTCString
  255. 1 0 0 0 toDateString
  256. 1 0 0 0 toTimeString
  257. 1 0 0 0 toLocaleDateString
  258. 1 0 0 0 toLocaleTimeString
  259. 1 0 0 0 getTime
  260. 1 0 0 0 getFullYear
  261. 1 0 0 0 getUTCFullYear
  262. 1 0 0 0 getMonth
  263. 1 0 0 0 getUTCMonth
  264. 1 0 0 0 getDate
  265. 1 0 0 0 getUTCDate
  266. 1 0 0 0 getDay
  267. 1 0 0 0 getUTCDay
  268. 1 0 0 0 getHours
  269. 1 0 0 0 getUTCHours
  270. 1 0 0 0 getMinutes
  271. 1 0 0 0 getUTCMinutes
  272. 1 0 0 0 getSeconds
  273. 1 0 0 0 getUTCSeconds
  274. 1 0 0 0 getMilliseconds
  275. 1 0 0 0 getUTCMilliseconds
  276. 1 0 0 0 getTimezoneOffset
  277. 1 0 0 0 setTime
  278. 1 0 0 0 setMilliseconds
  279. 1 0 0 0 setUTCMilliseconds
  280. 1 0 0 0 setSeconds
  281. 1 0 0 0 setUTCSeconds
  282. 1 0 0 0 setMinutes
  283. 1 0 0 0 setUTCMinutes
  284. 1 0 0 0 setHours
  285. 1 0 0 0 setUTCHours
  286. 1 0 0 0 setDate
  287. 1 0 0 0 setUTCDate
  288. 1 0 0 0 setMonth
  289. 1 0 0 0 setUTCMonth
  290. 1 0 0 0 setFullYear
  291. 1 0 0 0 setUTCFullYear
  292. ;--Math Object--
  293. 1 0 0 0 E
  294. 1 0 0 0 LOG2E
  295. 1 0 0 0 LOG10E
  296. 1 0 0 0 LN2
  297. 1 0 0 0 LN10
  298. 1 0 0 0 PI
  299. 1 0 0 0 SQRT2
  300. 1 0 0 0 SQRT1_2
  301. 1 0 0 0 abs
  302. 1 0 0 0 acos
  303. 1 0 0 0 asin
  304. 1 0 0 0 atan
  305. 1 0 0 0 atan2
  306. 1 0 0 0 ceil
  307. 1 0 0 0 cos
  308. 1 0 0 0 exp
  309. 1 0 0 0 floor
  310. 1 0 0 0 log
  311. 1 0 0 0 max
  312. 1 0 0 0 min
  313. 1 0 0 0 pow
  314. 1 0 0 0 random
  315. 1 0 0 0 round
  316. 1 0 0 0 sin
  317. 1 0 0 0 sqrt
  318. 1 0 0 0 tan
  319. ; ES6
  320. 1 0 0 0 sinh
  321. 1 0 0 0 cosh
  322. 1 0 0 0 tanh
  323. 1 0 0 0 asinh
  324. 1 0 0 0 acosh
  325. 1 0 0 0 atanh
  326. 1 0 0 0 hypot
  327. 1 0 0 0 log2
  328. 1 0 0 0 log10
  329. 1 0 0 0 log1p
  330. 1 0 0 0 expm1
  331. 1 0 0 0 cbrt
  332. 1 0 0 0 trunc
  333. 1 0 0 0 sign
  334. ;--Number Object--
  335. 1 0 0 0 MAX_VALUE
  336. 1 0 0 0 MIN_VALUE
  337. 1 0 0 0 NEGATIVE_INFINITY
  338. 1 0 0 0 POSITIVE_INFINITY
  339. 1 0 0 0 toFixed
  340. 1 0 0 0 toExponential
  341. 1 0 0 0 toPrecision
  342. ; ES6
  343. 1 0 0 0 EPSILON
  344. 1 0 0 0 MAX_SAFE_INTEGER
  345. 1 0 0 0 MIN_SAFE_INTEGER
  346. 1 0 0 0 isInteger
  347. 1 0 0 0 isSafeInteger
  348. ;--RegExp Object--
  349. 1 0 0 0 index
  350. 1 0 0 0 input
  351. 1 0 0 0 lastIndex
  352. 1 0 0 0 source
  353. 1 0 0 0 global
  354. 1 0 0 0 ignoreCase
  355. 1 0 0 0 multiline
  356. 1 0 0 0 exec
  357. 1 0 0 0 name
  358. 1 0 0 0 message
  359. ;--String Object--
  360. 1 0 0 0 fromCharCode
  361. 1 0 0 0 anchor
  362. 1 0 0 0 big
  363. 1 0 0 0 blink
  364. 1 0 0 0 bold
  365. 1 0 0 0 charAt
  366. 1 0 0 0 charCodeAt
  367. 1 0 0 0 fixed
  368. 1 0 0 0 fontcolor
  369. 1 0 0 0 fontsize
  370. 1 0 0 0 indexOf
  371. 1 0 0 0 italics
  372. 1 0 0 0 lastIndexOf
  373. 1 0 0 0 link
  374. 1 0 0 0 match
  375. 1 0 0 0 replace
  376. 1 0 0 0 search
  377. 1 0 0 0 small
  378. 1 0 0 0 split
  379. 1 0 0 0 strike
  380. 1 0 0 0 sub
  381. 1 0 0 0 substring
  382. 1 0 0 0 substr
  383. 1 0 0 0 sup
  384. 1 0 0 0 toLowerCase
  385. 1 0 0 0 toUpperCase
  386. 1 0 0 0 toLocaleLowerCase
  387. 1 0 0 0 toLocaleUpperCase
  388. 1 0 0 0 localeCompare
  389. ; ES5
  390. 1 0 0 0 trim
  391. ; ES6
  392. 1 0 0 0 startsWith
  393. 1 0 0 0 endsWith
  394. 1 0 0 0 includes
  395. 1 0 0 0 repeat
  396. ;--Array Object--
  397. 1 0 0 0 join
  398. 1 0 0 0 pop
  399. 1 0 0 0 push
  400. 1 0 0 0 reverse
  401. 1 0 0 0 shift
  402. 1 0 0 0 sort
  403. 1 0 0 0 splice
  404. 1 0 0 0 unshift
  405. ; ES6
  406. 1 0 0 0 from
  407. 1 0 0 0 fill
  408. 1 0 0 0 find
  409. 1 0 0 0 findIndex
  410. ;--Set Object (ES6)--
  411. 1 0 0 0 add
  412. ;--Function Object--
  413. 1 0 0 0 apply
  414. 1 0 0 0 call
  415. ; ES6
  416. 1 0 0 0 bind
  417. ;--Values--
  418. 1 0 ${TYPE} 0 true
  419. 1 0 ${TYPE} 0 false
  420. 1 0 ${TYPE} 0 null
  421. 1 0 ${TYPE} 0 undefined
  422. 1 0 ${TYPE} 0 NaN
  423. 1 0 ${TYPE} 0 Infinity
  424. ;--Conditional--
  425. 1 0 ${IF} 0 with
  426. 1 0 ${IF} 0 if
  427. 1 0 ${IF} 0 else
  428. 1 0 ${IF} 0 for
  429. 1 0 ${IF} 0 do
  430. 1 0 ${IF} 0 while
  431. 1 0 ${IF} 0 switch
  432. 1 0 ${IF} 0 case
  433. 1 0 ${IF} 0 default
  434. 1 0 ${IF} 0 break
  435. 1 0 ${IF} 0 continue
  436. 1 0 ${IF} 0 return
  437. 1 0 ${IF} 0 try
  438. 1 0 ${IF} 0 catch
  439. 1 0 ${IF} 0 finally
  440. 1 0 ${IF} 0 throw
  441. ;--Scripts global objects--
  442. 1 0 ${OP} 0 _TCHAR
  443. 1 0 ${OP} 0 _TSTR
  444. 1 0 ${OP} 0 _TSIZE
  445. 1 0 ${OP} 0 _X64
  446. 1 0 ${OP} 0 _PtrAdd
  447. 1 0 ${OP} 0 _PtrMath
  448.  
  449.  
  450. ;----------------------------------------------;
  451. ; CodeFold ;
  452. ;----------------------------------------------;
  453.  
  454. ;Flags (sum of the members)
  455. ; 1 case sensitive.
  456. ; 2 force get fold name for function list from left at the fold start ("Folds:" section only).
  457. ; 4 force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
  458. ; 8 fold start ("Folds:" section) or skip start ("Skips:" section) located at line start.
  459. ; 16 fold start ("Folds:" section) or skip start ("Skips:" section) located at line end.
  460. ; 32 fold end ("Folds:" section) or skip end ("Skips:" section) located at line start.
  461. ; 64 fold end ("Folds:" section) or skip end ("Skips:" section) located at line end.
  462. ; 128 don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
  463. ; 256 additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
  464. ; 512 comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
  465. ; 1024 reserved.
  466. ; 2048 deny fold - founded fold will be ignored ("Folds:" section only).
  467. ; 4096 xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
  468. ; 8192 don't check delimiters from left of fold start ("Folds:" section only).
  469. ; 16384 don't check delimiters from right of fold start ("Folds:" section only).
  470. ; 32768 don't check delimiters from left of fold end ("Folds:" section only).
  471. ; 65536 don't check delimiters from right of fold end ("Folds:" section only).
  472. ; 131072 deny delimiters ("Folds:" section only).
  473. ; 262144 don't show fold in list ("Folds:" section only).
  474. ; 1048576 regular expression in fold start ("Folds:" section) or skip start ("Skips:" section).
  475. ; 2097152 regular expression in fold end ("Folds:" section) or skip end ("Skips:" section). Backreference \101 matches \1 in fold start, \102 matches \2 and so on.
  476.  
  477.  
  478. FoldPanel:
  479. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  480. ;PanelFirstBkColor PanelSecondBkColor PanelNormalFoldColor PanelActiveFoldColor PanelNormalNodeOpenBkColor PanelNormalNodeCloseBkColor PanelActiveNodeOpenBkColor PanelActiveNodeCloseBkColor PanelNormalNodeOpenSignColor PanelNormalNodeCloseSignColor PanelActiveNodeOpenSignColor PanelActiveNodeCloseSignColor
  481. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  482. ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
  483.  
  484.  
  485. FoldList:
  486. ;================================================
  487. ;ListTextColor ListBkColor
  488. ;================================================
  489. ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
  490.  
  491.  
  492. TagMark:
  493. ;============================================================================================================
  494. ;TagMarkFlags TagMarkFontStyle TagMarkTextColor TagMarkBkColor
  495. ;============================================================================================================
  496. ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
  497.  
  498.  
  499. Skips:
  500. ;=============================
  501. ;Flags Skip Skip Escape
  502. ; start end char
  503. ;=============================
  504. 1 `"` `"` "\"
  505. 1 `'` `'` "\"
  506. 1 "//" "-->" ":"
  507. ;--RegExp--
  508. ;129=1+128
  509. 129 "/" "//" "\"
  510. ;129=1+128
  511. 129 "/" "/*" "\"
  512. ;129=1+128
  513. 129 "/" "{" "\"
  514. 1 "/" "/" "\"
  515.  
  516.  
  517. Folds:
  518. ;===================================================================================
  519. ;Flags Font Color Color Fold Fold Deli Parent Rule Rule
  520. ; style text bkgrnd start end miters ID ID file
  521. ;===================================================================================
  522. 1 0 0 0 "{" "}" "" 0 0
  523. ;513=1+512
  524. 513 3 ${COMM} 0 "/*" "*/" "" 0 0
  525. ;--switch...case...default--
  526. ;169=1+8+32+128
  527. 169 0 0 0 "case" "case" " " 0 0
  528. ;169=1+8+32+128
  529. 169 0 0 0 "case" "default" " :" 0 0
  530. ;169=1+8+32+128
  531. 169 0 0 0 "default" "case" " :" 0 0
  532. ;98441=1+8+128+32768+65536
  533. 98441 0 0 0 "case" "}" " :" 0 0
  534. ;98441=1+8+128+32768+65536
  535. 98441 0 0 0 "default" "}" " :" 0 0
  536.  
  537.  
  538. ;----------------------------------------------;
  539. ; AutoComplete ;
  540. ;----------------------------------------------;
  541.  
  542. ;Flags (sum of the members)
  543. ; 1 force case sensitive.
  544. ; 2 force case insensitive.
  545. ; 4 regular expression (only for "$="). Scan starts from caret line beginning and metacharacters \a or \z specified caret position.
  546. ; 8 Don't show in listbox.
  547.  
  548.  
  549. CompleteList:
  550. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  551. ;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
  552. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  553. ${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}
  554.  
  555.  
  556. Blocks:
  557. ;=============================================================================
  558. ;Abbreviations and blocks
  559. ;
  560. ; $~abbr normal abbreviation.
  561. ; $(flags)~abbr normal abbreviation with flags.
  562. ; $=abbr exact abbreviation. May contain delimiters.
  563. ; $(flags)=abbr exact abbreviation with flags. May contain delimiters.
  564. ; $[] set caret to this position. Can be multiple (hot spots).
  565. ; $[text] select text. Can be multiple (hot spots).
  566. ; $$ symbol $.
  567. ; $\] escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
  568. ; ${VAR} variable assigned from Coder::Settings.
  569. ; $; comment line.
  570. ;=============================================================================
  571. $~do
  572. do
  573. {
  574. ${AutoComplete_Indent}$[]
  575. }
  576. while ($[]);
  577.  
  578. $~for
  579. for ($[]; $[]; $[])
  580. {
  581. ${AutoComplete_Indent}$[]
  582. }
  583.  
  584. $~if
  585. if ($[])
  586. {
  587. ${AutoComplete_Indent}$[]
  588. }
  589.  
  590. $~switch
  591. switch ($[])
  592. {
  593. ${AutoComplete_Indent}case $[]:
  594. ${AutoComplete_Indent}${AutoComplete_Indent}$[]
  595. ${AutoComplete_Indent}${AutoComplete_Indent}break;
  596. ${AutoComplete_Indent}case $[]:
  597. ${AutoComplete_Indent}${AutoComplete_Indent}$[]
  598. ${AutoComplete_Indent}${AutoComplete_Indent}break;
  599. ${AutoComplete_Indent}default:
  600. ${AutoComplete_Indent}${AutoComplete_Indent}$[]
  601. ${AutoComplete_Indent}${AutoComplete_Indent}break;
  602. }
  603.  
  604. $~try
  605. try
  606. {
  607. ${AutoComplete_Indent}$[]
  608. }
  609. catch ($[])
  610. {
  611. ${AutoComplete_Indent}$[]
  612. }
  613.  
  614. $~while
  615. while ($[])
  616. {
  617. ${AutoComplete_Indent}$[]
  618. }
  619.  
  620. $~function
  621. function $[name]()
  622. {
  623. ${AutoComplete_Indent}$[]
  624. }
  625.  
  626. $; WScript object
  627. $; --------------
  628. $~Arguments $~WScript.Arguments
  629. WScript.Arguments($[0])
  630.  
  631. $~ScriptBaseName $~WScript.ScriptBaseName
  632. WScript.ScriptBaseName
  633.  
  634. $~ScriptFullName $~WScript.ScriptFullName
  635. WScript.ScriptFullName
  636.  
  637. $~ScriptName $~WScript.ScriptName
  638. WScript.ScriptName
  639.  
  640. $~FullName $~WScript.FullName
  641. WScript.FullName
  642.  
  643. $~Name $~WScript.Name
  644. WScript.Name
  645.  
  646. $~Path $~WScript.Path
  647. WScript.Path
  648.  
  649. $~Echo $~WScript.Echo
  650. WScript.Echo("$[]");
  651.  
  652. $~Sleep $~WScript.Sleep
  653. WScript.Sleep($[100]);
  654.  
  655. $~Quit $~WScript.Quit
  656. WScript.Quit();
  657.  
  658. $; AkelPad object
  659. $; --------------
  660. $~ActiveXObject $~AkelPad.Document
  661. var AkelPad=new ActiveXObject("AkelPad.Document");
  662.  
  663. $~GetMainWnd $~AkelPad.GetMainWnd
  664. var hMainWnd=AkelPad.GetMainWnd();
  665.  
  666. $~GetAkelDir $~AkelPad.GetAkelDir
  667. AkelPad.GetAkelDir();
  668.  
  669. $~GetInstanceExe $~AkelPad.GetInstanceExe
  670. AkelPad.GetInstanceExe();
  671.  
  672. $~GetInstanceDll $~AkelPad.GetInstanceDll
  673. AkelPad.GetInstanceDll();
  674.  
  675. $~GetLangId $~AkelPad.GetLangId
  676. AkelPad.GetLangId(1 /*LANGID_PRIMARY*/);
  677.  
  678. $~IsOldWindows $~AkelPad.IsOldWindows
  679. AkelPad.IsOldWindows();
  680.  
  681. $~IsAkelEdit $~AkelPad.IsAkelEdit
  682. AkelPad.IsAkelEdit();
  683.  
  684. $~IsMDI $~AkelPad.IsMDI
  685. AkelPad.IsMDI();
  686.  
  687. $~GetEditWnd $~AkelPad.GetEditWnd
  688. AkelPad.GetEditWnd();
  689.  
  690. $~SetEditWnd $~AkelPad.SetEditWnd
  691. AkelPad.SetEditWnd($[hWnd])
  692.  
  693. $~GetEditDoc $~AkelPad.GetEditDoc
  694. AkelPad.GetEditDoc();
  695.  
  696. $~GetEditFile $~AkelPad.GetEditFile
  697. AkelPad.GetEditFile($[0]);
  698.  
  699. $~GetFilePath $~AkelPad.GetFilePath
  700. AkelPad.GetFilePath($["C:\\File.txt"], $[2] /*$[CPF_FILENAME]*/);
  701.  
  702. $~GetEditCodePage $~AkelPad.GetEditCodePage
  703. AkelPad.GetEditCodePage($[0]);
  704.  
  705. $~GetEditBOM $~AkelPad.GetEditBOM
  706. AkelPad.GetEditBOM($[0]);
  707.  
  708. $~GetEditNewLine $~AkelPad.GetEditNewLine
  709. AkelPad.GetEditNewLine($[0]);
  710.  
  711. $~GetEditModified $~AkelPad.GetEditModified
  712. AkelPad.GetEditModified($[0]);
  713.  
  714. $~GetEditReadOnly $~AkelPad.GetEditReadOnly
  715. AkelPad.GetEditReadOnly($[0]);
  716.  
  717. $~SetFrameInfo $~AkelPad.SetFrameInfo
  718. AkelPad.SetFrameInfo($[0], $[1] /*$[FIS_TABSTOPSIZE]*/, $[4]);
  719.  
  720. $~SendMessage $~AkelPad.SendMessage
  721. AkelPad.SendMessage($[hWndHandle], $[273] /*$[WM_COMMAND]*/, $[wParam], $[lParam]);
  722.  
  723. $~MessageBox $~AkelPad.MessageBox
  724. AkelPad.MessageBox($[hWndParent], "$[Text]", WScript.ScriptName, $[0] /*$[MB_OK]*/);
  725.  
  726. $~InputBox $~AkelPad.InputBox
  727. AkelPad.InputBox($[hWndParent], WScript.ScriptName, "$[Label]", "$[Edit]");
  728.  
  729. $~GetSelStart $~AkelPad.GetSelStart
  730. AkelPad.GetSelStart();
  731.  
  732. $~GetSelEnd $~AkelPad.GetSelEnd
  733. AkelPad.GetSelEnd();
  734.  
  735. $~SetSel $~AkelPad.SetSel
  736. AkelPad.SetSel($[nSelStart], $[nSelEnd]);
  737.  
  738. $~GetSelText $~AkelPad.GetSelText
  739. AkelPad.GetSelText();
  740.  
  741. $~GetTextRange $~AkelPad.GetTextRange
  742. AkelPad.GetTextRange($[nRangeStart], $[nRangeEnd]);
  743.  
  744. $~ReplaceSel $~AkelPad.ReplaceSel
  745. AkelPad.ReplaceSel("$[Text]");
  746.  
  747. $~TextFind $~AkelPad.TextFind
  748. AkelPad.TextFind($[hEditWnd], "$[FindIt]", $[0x00000001|0x00200000] /*$[FRF_DOWN|FRF_BEGINNING]*/);
  749.  
  750. $~TextReplace $~AkelPad.TextReplace
  751. AkelPad.TextReplace($[hEditWnd], "$[FindIt]", "$[ReplaceWith]", $[0x00000001|0x00200000] /*$[FRF_DOWN|FRF_BEGINNING]*/, $[bAll]);
  752.  
  753. $~GetClipboardText $~AkelPad.GetClipboardText
  754. AkelPad.GetClipboardText();
  755.  
  756. $~SetClipboardText $~AkelPad.SetClipboardText
  757. AkelPad.SetClipboardText("$[Text]");
  758.  
  759. $~IsPluginRunning $~AkelPad.IsPluginRunning
  760. AkelPad.IsPluginRunning("$[Plugin::Function]");
  761.  
  762. $~CallPlugin $~AkelPad.Call
  763. AkelPad.Call("$[Plugin::Function]");
  764.  
  765. $~CallExPlugin $~AkelPad.CallEx
  766. AkelPad.CallEx($[0x14] /*$[DLLCF_SWITCHAUTOLOAD|DLLCF_SAVEONEXIT]*/, "$[Plugin::Function]");
  767.  
  768. $~Exec $~AkelPad.Exec
  769. AkelPad.Exec("$[notepad.exe]");
  770.  
  771. $~Command $~AkelPad.Command
  772. AkelPad.Command($[0]);
  773.  
  774. $~Font $~AkelPad.Font
  775. AkelPad.Font("$[Courier New]", 0, 10);
  776.  
  777. $~Recode $~AkelPad.Recode
  778. AkelPad.Recode($[1251], $[866]);
  779.  
  780. $~Include $~AkelPad.Include
  781. AkelPad.Include("$[CommonFunctions.js]");
  782.  
  783. $~IsInclude $~AkelPad.IsInclude
  784. AkelPad.IsInclude();
  785.  
  786. $~OpenFile $~AkelPad.OpenFile
  787. AkelPad.OpenFile("$[C:\\File.txt]");
  788.  
  789. $~ReadFile $~AkelPad.ReadFile
  790. AkelPad.ReadFile("$[C:\\File.txt]");
  791.  
  792. $~WriteFile $~AkelPad.WriteFile
  793. AkelPad.WriteFile("$[C:\\File.txt]", $["Text"], $[-1], $[65001], $[true]);
  794.  
  795. $~SaveFile $~AkelPad.SaveFile
  796. AkelPad.SaveFile($[hEditWnd], "$[C:\\File.txt]", $[nCodePage], $[bBOM]);
  797.  
  798. $~MemAlloc $~AkelPad.MemAlloc
  799. AkelPad.MemAlloc($[nSize]);
  800.  
  801. $~MemCopy $~AkelPad.MemCopy
  802. AkelPad.MemCopy($[lpPointer], $[vData], $[2] /*$[DT_QWORD]*/);
  803.  
  804. $~MemRead $~AkelPad.MemRead
  805. AkelPad.MemRead($[lpPointer], $[2] /*$[DT_QWORD]*/);
  806.  
  807. $~MemStrPtr $~AkelPad.MemStrPtr
  808. AkelPad.MemStrPtr($[pString]);
  809.  
  810. $~MemPtrStr $~AkelPad.MemPtrStr
  811. AkelPad.MemPtrStr($[lpPointer]);
  812.  
  813. $~MemFree $~AkelPad.MemFree
  814. AkelPad.MemFree($[lpPointer]);
  815.  
  816. $~DebugJIT $~AkelPad.DebugJIT
  817. AkelPad.DebugJIT();
  818.  
  819. $~Debug $~AkelPad.Debug
  820. AkelPad.Debug();
  821.  
  822. $~VarType $~AkelPad.VarType
  823. AkelPad.VarType($[vData]);
  824.  
  825. $~VarDispatch $~AkelPad.VarDispatch
  826. AkelPad.VarDispatch($[lpPointer]);
  827.  
  828. $~GetArgLine $~AkelPad.GetArgLine
  829. AkelPad.GetArgLine($[]);
  830.  
  831. $~GetArgValue $~AkelPad.GetArgValue
  832. AkelPad.GetArgValue("$[ArgName]", $[vDefault]);
  833.  
  834. $~WindowRegisterClass $~AkelPad.WindowRegisterClass
  835. AkelPad.WindowRegisterClass("$[ClassName]");
  836.  
  837. $~WindowUnregisterClass $~AkelPad.WindowUnregisterClass
  838. AkelPad.WindowUnregisterClass("$[ClassName]");
  839.  
  840. $~WindowRegisterDialog $~AkelPad.WindowRegisterDialog
  841. AkelPad.WindowRegisterDialog("$[hWnd]");
  842.  
  843. $~WindowUnregisterDialog $~AkelPad.WindowUnregisterDialog
  844. AkelPad.WindowUnregisterDialog("$[hWnd]");
  845.  
  846. $~WindowGetMessage $~AkelPad.WindowGetMessage
  847. AkelPad.WindowGetMessage();
  848.  
  849. $~WindowSubClass $~AkelPad.WindowSubClass
  850. AkelPad.WindowSubClass($[hHandle], $[CallbackProc], $[256 /*WM_KEYDOWN*/, 16 /*WM_CLOSE*/]);
  851.  
  852. $~WindowNextProc $~AkelPad.WindowNextProc
  853. AkelPad.WindowNextProc($[hSubClass], $[hWnd], $[nMessage], $[wParam], $[lParam]);
  854.  
  855. $~WindowNoNextProc $~AkelPad.WindowNoNextProc
  856. AkelPad.WindowNoNextProc($[hSubClass]);
  857.  
  858. $~WindowUnsubClass $~AkelPad.WindowUnsubClass
  859. AkelPad.WindowUnsubClass($[hHandle]);
  860.  
  861. $~ThreadHook $~AkelPad.ThreadHook
  862. AkelPad.ThreadHook($[nId], $[CallbackProc], $[nThreadId]);
  863.  
  864. $~ThreadUnhook $~AkelPad.ThreadUnhook
  865. AkelPad.ThreadUnhook($[hHandle]);
  866.  
  867. $~ScriptNoMutex $~AkelPad.ScriptNoMutex
  868. AkelPad.ScriptNoMutex();
  869.  
  870. $~ScriptExitCode $~AkelPad.ScriptExitCode
  871. AkelPad.ScriptExitCode($[nCode]);
  872.  
  873. $~ScriptHandle $~AkelPad.ScriptHandle
  874. AkelPad.ScriptHandle($[vData], $[nOperation]);
  875.  
  876. $~ConnectObject $~AkelPad.ConnectObject
  877. AkelPad.ConnectObject($[oEventSource], "$[CON_]");
  878.  
  879. $~DisconnectObject $~AkelPad.DisconnectObject
  880. AkelPad.DisconnectObject($[oEventSource]);
  881.  
  882. $; SystemFunction object
  883. $; ---------------------
  884. $~SystemFunction $~AkelPad.SystemFunction()
  885. var oSys=AkelPad.SystemFunction();
  886.  
  887. $~AddParameter $~oSys.AddParameter
  888. oSys.AddParameter($[vParameter]);
  889.  
  890. $~CallSystem $~oSys.Call
  891. oSys.Call("$[user32::SetWindowText]" + _TCHAR, hMainWnd, "MyText");
  892.  
  893. $~GetLastError $~oSys.GetLastError
  894. oSys.GetLastError();
  895.  
  896. $~RegisterCallback $~oSys.RegisterCallback
  897. oSys.RegisterCallback($[CallbackProc]);
  898.  
  899. $~UnregisterCallback $~oSys.UnregisterCallback
  900. oSys.UnregisterCallback($[lpCallback]);
  901.  
  902. $; ScriptSettings object
  903. $; ---------------------
  904. $~ScriptSettings $~AkelPad.ScriptSettings()
  905. var oSet=AkelPad.ScriptSettings();
  906.  
  907. $~Begin $~oSet.Begin
  908. oSet.Begin($[WScript.ScriptBaseName], $[0x1] /*$[POB_READ]*/);
  909.  
  910. $~Read $~oSet.Read
  911. oSet.Read("$[pOptionName]", $[1] /*$[PO_DWORD]*/);
  912.  
  913. $~Write $~oSet.Write
  914. oSet.Write("$[pOptionName]", $[1] /*$[PO_DWORD]*/, $[nValue]);
  915.  
  916. $~Delete $~oSet.Delete
  917. oSet.Delete("$[pOptionName]");
  918.  
  919. $~End $~oSet.End
  920. oSet.End();
  921.  
  922. $; Constants
  923. $; ---------
  924. $~_TCHAR
  925. _TCHAR
  926.  
  927. $~_TSTR
  928. _TSTR
  929.  
  930. $~_TSIZE
  931. _TSIZE
  932.  
  933. $~_X64
  934. _X64
  935.  
  936. $~DT_ANSI
  937. 0 /*DT_ANSI*/
  938.  
  939. $~DT_UNICODE
  940. 1 /*DT_UNICODE*/
  941.  
  942. $~DT_QWORD
  943. 2 /*DT_QWORD*/
  944.  
  945. $~DT_DWORD
  946. 3 /*DT_DWORD*/
  947.  
  948. $~DT_WORD
  949. 4 /*DT_WORD*/
  950.  
  951. $~DT_BYTE
  952. 5 /*DT_BYTE*/
  953.  
  954. $; Global
  955. $; ------
  956. $;$~_PtrAdd
  957. $;_PtrAdd($[lpPointer], $[])
  958.  
  959. $~_PtrMath
  960. _PtrMath($[lpPointer1], $["!="], $[lpPointer2])
  961.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement