Advertisement
Alexey_B

js.coder

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