Advertisement
Guest User

bat.coder

a guest
Aug 18th, 2023
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 16.47 KB | None | 0 0
  1. ;----------------------------------------------;
  2. ;           Coder plugin syntax file           ;
  3. ;----------------------------------------------;
  4.  
  5. ;Colors
  6. ; Color need to be in #RRGGBB or #RGB format.
  7. ; If color equal to zero, then color ignored.
  8. ;
  9. ;Font styles
  10. ; 0  ignored.
  11. ; 1  normal.
  12. ; 2  bold.
  13. ; 3  italic.
  14. ; 4  bold italic.
  15. ;
  16. ;For comfort file viewing/editing set tab size to 8.
  17.  
  18.  
  19. Files:
  20. ;==========
  21. ;File types
  22. ;==========
  23. *.bat
  24. *.cmd
  25.  
  26.  
  27. ;----------------------------------------------;
  28. ;                  HighLight                   ;
  29. ;----------------------------------------------;
  30.  
  31. ;Flags (sum of the members)
  32. ;     1  case sensitive.
  33. ;     2  word is a composition of characters ("Words:" section only). Example: "0123456789" - highlight words that contain only digits.
  34. ;     4  quote end required ("Quotes:" section only).
  35. ;     8  quote start string is ignored and last meet delimiter used as quote start ("Quotes:" section only).
  36. ;    16  quote end string is ignored and first meet delimiter used as quote end ("Quotes:" section only).
  37. ;    32  don't highlight quote start ("Quotes:" section only).
  38. ;    64  don't highlight quote end ("Quotes:" section only).
  39. ;   128  don't catch and don't highlight quote start ("Quotes:" section only).
  40. ;   256  don't catch and don't highlight quote end ("Quotes:" section only).
  41. ;   512  quote start, delimiter or word located at line start.
  42. ;  1024  quote end, delimiter or word located at line end.
  43. ;  2048  quote start is surrounded with delimiters ("Quotes:" section only).
  44. ;  4096  quote end is surrounded with delimiters ("Quotes:" section only).
  45. ;  8192  quote doesn't contain delimiters ("Quotes:" section only).
  46. ; 16384  only quote start string is catched ("Quotes:" section only).
  47. ; 32768  quote doesn't contain any character ("Quotes:" section only).
  48.  
  49.  
  50. Font:
  51. ;=================================================================
  52. ;FontStyle             FontSize              FaceName
  53. ;=================================================================
  54. ${HighLight_FontStyle} ${HighLight_FontSize} ${HighLight_FaceName}
  55.  
  56.  
  57. Colors:
  58. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  59. ;BasicTextColor             BasicBkColor              SelTextColor              SelBkColor              LineTextColor              LineBkColor              LineBorderColor              AltTextColor              AltBkColor              AltBorderColor              ColumnColor              MarkerColor              CaretColor              UrlColor              ActiveUrlColor              VisitUrlColor
  60. ;=============================================================================================================================================================================================================================================================================================================================================================================================================================
  61. ${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}
  62.  
  63.  
  64. BkImage:
  65. ;==================================================
  66. ;BkImageFile              BkImageAlpha
  67. ;==================================================
  68. ${HighLight_BkImageFile}  ${HighLight_BkImageAlpha}
  69.  
  70.  
  71. AutoMark:
  72. ;====================================================================================================================
  73. ;AutoMarkFlags             AutoMarkFontStyle              AutoMarkTextColor              AutoMarkBkColor
  74. ;====================================================================================================================
  75. ${HighLight_AutoMarkFlags} ${HighLight_AutoMarkFontStyle} ${HighLight_AutoMarkTextColor} ${HighLight_AutoMarkBkColor}
  76.  
  77.  
  78. Quotes:
  79. ;===================================================================================
  80. ;Flags  Font    Color   Color   Quote   Quote   Escape  Quote   Quote   Parent  Rule
  81. ;       style   text    bkgrnd  start   end     char    include exclude ID      ID
  82. ;===================================================================================
  83. ;513=1+512
  84. 513 3   ${COMM} 0   "::"    ""  ""  ""  ""  0   0
  85. ;2176=128+2048
  86. 2176    3   ${COMM} 0   "REM"   ""  ""  ""  ""  0   0
  87. ;5=1+4
  88. 5   3   ${STR}  0   `"` `"` ""  ""  ""  0   0
  89. ;2176=128+2048
  90. 2176    3   ${STR}  0   "ECHO"  ""  ""  ""  ""  0   0
  91. ;5=1+4
  92. 5   0   ${VAR}  0   "!" "!" ""  ""  ""  0   0
  93. ;273=1+16+256
  94. 273 0   ${VAR}  0   "%~"    ""  ""  ""  ""  0   0
  95. ;273=1+16+256
  96. 273 0   ${VAR}  0   "%%"    ""  ""  ""  ""  0   0
  97. ;8197=1+4+8192
  98. 8197    0   ${VAR}  0   "%" "%" ""  ""  ""  0   0
  99. ;273=1+16+256
  100. 273 0   ${VAR}  0   "%" ""  ""  ""  ""  0   0
  101. ;1809=1+16+256+512+1024
  102. 1809    2   0   0   ":" ""  ""  ""  ""  0   0
  103.  
  104.  
  105. QuotesRE:
  106. ;===========================================================================================
  107. ;Flags  Pattern         \BackRef=(FontStyle,ColorText,ColorBk) \BackRef=...  ParentID RuleID
  108. ;===========================================================================================
  109.  
  110.  
  111. Delimiters:
  112. ;===============================================
  113. ;Flags  Font    Color   Color   Char(s)   Parent
  114. ;       style   text    bkgrnd            ID
  115. ;===============================================
  116. 1   0   0   0   " "
  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.  
  131.  
  132. Words:
  133. ;===========================================
  134. ;Flags  Font    Color   Color   Word  Parent
  135. ;       style   text    bkgrnd        ID
  136. ;===========================================
  137. 0   0   ${OP}   0   assoc
  138. 0   0   ${OP}   0   call
  139. 0   0   ${OP}   0   cd
  140. 0   0   ${OP}   0   chdir
  141. 0   0   ${OP}   0   cls
  142. 0   0   ${OP}   0   color
  143. 0   0   ${OP}   0   copy
  144. 0   0   ${OP}   0   date
  145. 0   0   ${OP}   0   del
  146. 0   0   ${OP}   0   dir
  147. 0   0   ${OP}   0   echo
  148. 0   0   ${OP}   0   endlocal
  149. 0   0   ${OP}   0   erase
  150. 0   0   ${OP}   0   errorlevel
  151. 0   0   ${OP}   0   exit
  152. 0   0   ${OP}   0   ftype
  153. 0   0   ${OP}   0   md
  154. 0   0   ${OP}   0   mkdir
  155. 0   0   ${OP}   0   move
  156. 0   0   ${OP}   0   path
  157. 0   0   ${OP}   0   pause
  158. 0   0   ${OP}   0   popd
  159. 0   0   ${OP}   0   prompt
  160. 0   0   ${OP}   0   pushd
  161. 0   0   ${OP}   0   rd
  162. 0   0   ${OP}   0   rem
  163. 0   0   ${OP}   0   ren
  164. 0   0   ${OP}   0   rename
  165. 0   0   ${OP}   0   rmdir
  166. 0   0   ${OP}   0   set
  167. 0   0   ${OP}   0   setlocal
  168. 0   0   ${OP}   0   start
  169. 0   0   ${OP}   0   time
  170. 0   0   ${OP}   0   title
  171. 0   0   ${OP}   0   type
  172. 0   0   ${OP}   0   ver
  173. 0   0   ${OP}   0   verify
  174. 0   0   ${OP}   0   vol
  175. ;--Compare--
  176. 0   0   ${OP}   0   EQU
  177. 0   0   ${OP}   0   NEQ
  178. 0   0   ${OP}   0   LSS
  179. 0   0   ${OP}   0   LEQ
  180. 0   0   ${OP}   0   GTR
  181. 0   0   ${OP}   0   GEQ
  182. ;--Conditional--
  183. 0   0   ${IF}   0   do
  184. 0   0   ${IF}   0   exist
  185. 0   0   ${IF}   0   defined
  186. 0   0   ${IF}   0   cmdextversion
  187. 0   0   ${IF}   0   for
  188. 0   0   ${IF}   0   goto
  189. 0   0   ${IF}   0   if
  190. 0   0   ${IF}   0   else
  191. 0   0   ${IF}   0   in
  192. 0   0   ${IF}   0   not
  193. 0   0   ${IF}   0   off
  194. 0   0   ${IF}   0   on
  195. 0   0   ${IF}   0   shift
  196. ;--N++--
  197. 0   0   ${OP}   0   arp
  198. 0   0   ${OP}   0   at
  199. 0   0   ${OP}   0   attrib
  200. 0   0   ${OP}   0   aux
  201. 0   0   ${OP}   0   bcdedit
  202. 0   0   ${OP}   0   break
  203. 0   0   ${OP}   0   cacls
  204. 0   0   ${OP}   0   chcp
  205. 0   0   ${OP}   0   chkdsk
  206. 0   0   ${OP}   0   chkntfs
  207. 0   0   ${OP}   0   choice
  208. 0   0   ${OP}   0   cipher
  209. 0   0   ${OP}   0   clip
  210. 0   0   ${OP}   0   cmd
  211. 0   0   ${OP}   0   com
  212. 0   0   ${OP}   0   com1
  213. 0   0   ${OP}   0   com2
  214. 0   0   ${OP}   0   com2
  215. 0   0   ${OP}   0   com4
  216. 0   0   ${OP}   0   comp
  217. 0   0   ${OP}   0   compact
  218. 0   0   ${OP}   0   con
  219. 0   0   ${OP}   0   convert
  220. 0   0   ${OP}   0   ctty
  221. 0   0   ${OP}   0   diskcomp
  222. 0   0   ${OP}   0   diskcopy
  223. 0   0   ${OP}   0   diskpart
  224. 0   0   ${OP}   0   doskey
  225. 0   0   ${OP}   0   dpath
  226. 0   0   ${OP}   0   driverquery
  227. 0   0   ${OP}   0   expand
  228. 0   0   ${OP}   0   fc
  229. 0   0   ${OP}   0   find
  230. 0   0   ${OP}   0   findstr
  231. 0   0   ${OP}   0   forfiles
  232. 0   0   ${OP}   0   format
  233. 0   0   ${OP}   0   fsutil
  234. 0   0   ${OP}   0   gpresult
  235. 0   0   ${OP}   0   graftabl
  236. 0   0   ${OP}   0   help
  237. 0   0   ${OP}   0   icacls
  238. 0   0   ${OP}   0   ipconfig
  239. 0   0   ${OP}   0   label
  240. 0   0   ${OP}   0   lpt
  241. 0   0   ${OP}   0   lpt1
  242. 0   0   ${OP}   0   lpt2
  243. 0   0   ${OP}   0   lpt3
  244. 0   0   ${OP}   0   lpt4
  245. 0   0   ${OP}   0   makecab
  246. 0   0   ${OP}   0   mklink
  247. 0   0   ${OP}   0   mode
  248. 0   0   ${OP}   0   more
  249. 0   0   ${OP}   0   net
  250. 0   0   ${OP}   0   netsh
  251. 0   0   ${OP}   0   nul
  252. 0   0   ${OP}   0   openfiles
  253. 0   0   ${OP}   0   ping
  254. 0   0   ${OP}   0   print
  255. 0   0   ${OP}   0   recover
  256. 0   0   ${OP}   0   reg
  257. 0   0   ${OP}   0   replace
  258. 0   0   ${OP}   0   robocopy
  259. 0   0   ${OP}   0   rundll32
  260. 0   0   ${OP}   0   sc
  261. 0   0   ${OP}   0   schtasks
  262. 0   0   ${OP}   0   setx
  263. 0   0   ${OP}   0   shutdown
  264. 0   0   ${OP}   0   sort
  265. 0   0   ${OP}   0   subst
  266. 0   0   ${OP}   0   systeminfo
  267. 0   0   ${OP}   0   taskkill
  268. 0   0   ${OP}   0   tasklist
  269. 0   0   ${OP}   0   timeout
  270. 0   0   ${OP}   0   tree
  271. 0   0   ${OP}   0   wmic
  272. 0   0   ${OP}   0   xcopy
  273.  
  274. ;----------------------------------------------;
  275. ;                   CodeFold                   ;
  276. ;----------------------------------------------;
  277.  
  278. ;Flags (sum of the members)
  279. ;       1  case sensitive.
  280. ;       2  force get fold name for function list from left at the fold start ("Folds:" section only).
  281. ;       4  force get fold name for function list from right at the fold start, including fold start ("Folds:" section only).
  282. ;       8  fold start ("Folds:" section) or skip start ("Skips:" section) located at line start.
  283. ;      16  fold start ("Folds:" section) or skip start ("Skips:" section) located at line end.
  284. ;      32  fold end ("Folds:" section) or skip end ("Skips:" section) located at line start.
  285. ;      64  fold end ("Folds:" section) or skip end ("Skips:" section) located at line end.
  286. ;     128  don't catch fold end ("Folds:" section) or skip end ("Skips:" section).
  287. ;     256  additional to 128 flag - more priority is given to sibling level instead of parent level ("Folds:" section only).
  288. ;     512  comment fold - fold ignore any other folds and skips inside ("Folds:" section only).
  289. ;    1024  reserved.
  290. ;    2048  deny fold - founded fold will be ignored ("Folds:" section only).
  291. ;    4096  xml fold - "<tag" and "</tag>", "<single" and "/>", "<single" and ">" ("Folds:" section only).
  292. ;    8192  don't check delimiters from left of fold start ("Folds:" section only).
  293. ;   16384  don't check delimiters from right of fold start ("Folds:" section only).
  294. ;   32768  don't check delimiters from left of fold end ("Folds:" section only).
  295. ;   65536  don't check delimiters from right of fold end ("Folds:" section only).
  296. ;  131072  deny delimiters ("Folds:" section only).
  297. ;  262144  don't show fold in list ("Folds:" section only).
  298. ; 1048576  regular expression in fold start ("Folds:" section) or skip start ("Skips:" section).
  299. ; 2097152  regular expression in fold end ("Folds:" section) or skip end ("Skips:" section).
  300.  
  301.  
  302. FoldPanel:
  303. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  304. ;PanelFirstBkColor            PanelSecondBkColor             PanelNormalFoldColor             PanelActiveFoldColor             PanelNormalNodeOpenBkColor             PanelNormalNodeCloseBkColor             PanelActiveNodeOpenBkColor             PanelActiveNodeCloseBkColor             PanelNormalNodeOpenSignColor             PanelNormalNodeCloseSignColor             PanelActiveNodeOpenSignColor             PanelActiveNodeCloseSignColor
  305. ;=================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  306. ${CodeFold_PanelFirstBkColor} ${CodeFold_PanelSecondBkColor} ${CodeFold_PanelNormalFoldColor} ${CodeFold_PanelActiveFoldColor} ${CodeFold_PanelNormalNodeOpenBkColor} ${CodeFold_PanelNormalNodeCloseBkColor} ${CodeFold_PanelActiveNodeOpenBkColor} ${CodeFold_PanelActiveNodeCloseBkColor} ${CodeFold_PanelNormalNodeOpenSignColor} ${CodeFold_PanelNormalNodeCloseSignColor} ${CodeFold_PanelActiveNodeOpenSignColor} ${CodeFold_PanelActiveNodeCloseSignColor}
  307.  
  308.  
  309. FoldList:
  310. ;================================================
  311. ;ListTextColor            ListBkColor
  312. ;================================================
  313. ${CodeFold_ListTextColor} ${CodeFold_ListBkColor}
  314.  
  315.  
  316. TagMark:
  317. ;============================================================================================================
  318. ;TagMarkFlags            TagMarkFontStyle             TagMarkTextColor             TagMarkBkColor
  319. ;============================================================================================================
  320. ${CodeFold_TagMarkFlags} ${CodeFold_TagMarkFontStyle} ${CodeFold_TagMarkTextColor} ${CodeFold_TagMarkBkColor}
  321.  
  322.  
  323. Skips:
  324. ;=============================
  325. ;Flags  Skip    Skip    Escape
  326. ;       start   end     char
  327. ;=============================
  328.  
  329.  
  330. Folds:
  331. ;===========================================================================
  332. ;Flags  Font    Color   Color   Fold   Fold   Deli      Parent  Rule    Rule
  333. ;       style   text    bkgrnd  start  end    miters    ID      ID      file
  334. ;===========================================================================
  335. ;131501=1+4+8+32+128+256+131072
  336. 131501  0   0   0   ":"    ":"    ":"       0   0
  337.  
  338.  
  339. ;----------------------------------------------;
  340. ;                 AutoComplete                 ;
  341. ;----------------------------------------------;
  342.  
  343. ;Flags (sum of the members)
  344. ;  1  force case sensitive.
  345. ;  2  force case insensitive.
  346. ;  4  regular expression (only for "$="). Scan starts from caret line beginning and metacharacters \a or \z specified caret position.
  347. ;  8  Don't show in listbox.
  348.  
  349.  
  350. CompleteList:
  351. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  352. ;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
  353. ;=====================================================================================================================================================================================================================================================================================================================================================================================================================================================================
  354. ${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}
  355.  
  356.  
  357. Blocks:
  358. ;=============================================================================
  359. ;Abbreviations and blocks
  360. ;
  361. ; $~abbr         normal abbreviation.
  362. ; $(flags)~abbr  normal abbreviation with flags.
  363. ; $=abbr         exact abbreviation. May contain delimiters.
  364. ; $(flags)=abbr  exact abbreviation with flags. May contain delimiters.
  365. ; $[]            set caret to this position. Can be multiple (hot spots).
  366. ; $[text]        select text. Can be multiple (hot spots).
  367. ; $$             symbol $.
  368. ; $\]            escape symbol ]. Can be used in $[text] block: $[One [1$\] ].
  369. ; ${VAR}         variable assigned from Coder::Settings.
  370. ; $;             comment line.
  371. ;=============================================================================
  372. $~echo
  373. echo "$[]"
  374.  
  375. $~for
  376. for $[] in ($[]) do ($[])
  377.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement