Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

305 lines
9.6 KiB

  1. <?xml version="1.0"?>
  2. <!-- $Id: vbscript.xml,v 1.2 2008-01-02 00:05:52 ssttoo Exp $ -->
  3. <highlight lang="vbscript" case="no">
  4. <authors>
  5. <author name="Daniel Fruzynski" email="daniel-AT-poradnik-webmastera.com" />
  6. </authors>
  7. <default innerClass="code" />
  8. <region name="brackets" delimClass="brackets" innerClass="code" start="\(" end="\)">
  9. <contains all="yes"/>
  10. </region>
  11. <region name="strdouble" delimClass="quotes" innerClass="string" start="&quot;" end="&quot;"/>
  12. <region name="comment" start="'|[Rr][Ee][Mm]\b" end="/$/m" innerClass="comment">
  13. <contains block="cvstag"/>
  14. </region>
  15. <block name="number" match="\d*\.?\d+" innerClass="number"/>
  16. <block name="hexnumber" match="&amp;H[0-9a-fA-F]+" innerClass="number"/>
  17. <block name="identifier" match="[a-z_]\w*" innerClass="identifier" case="no"/>
  18. <block name="url" match="((https?|ftp):\/\/[\w\?\.\-\&amp;=\/%+]+)|(^|[\s,!?])www\.\w+\.\w+[\w\?\.\&amp;=\/%+]*" innerClass="url" contained="yes">
  19. <onlyin region="comment"/>
  20. </block>
  21. <block name="email" match="\w+[\.\w\-]+@(\w+[\.\w\-])+" innerClass="url" contained="yes">
  22. <onlyin region="comment"/>
  23. </block>
  24. <block name="note" match="\b(note|fixme):" innerClass="inlinedoc" contained="yes" case="no">
  25. <onlyin region="comment"/>
  26. </block>
  27. <block name="cvstag" match="\$\w+:.+\$" innerClass="inlinedoc" contained="yes">
  28. <onlyin region="comment"/>
  29. </block>
  30. <keywords name="constants" inherits="identifier" innerClass="builtin" case="no">
  31. <!-- Color Constants -->
  32. <keyword match="vbBlack" />
  33. <keyword match="vbRed" />
  34. <keyword match="vbGreen" />
  35. <keyword match="vbYellow" />
  36. <keyword match="vbBlue" />
  37. <keyword match="vbMagenta" />
  38. <keyword match="vbCyan" />
  39. <keyword match="vbWhite" />
  40. <!-- Comparison Constants -->
  41. <keyword match="vbBinaryCompare" />
  42. <keyword match="vbTextCompare" />
  43. <!-- Date and Time Constants -->
  44. <keyword match="vbSunday" />
  45. <keyword match="vbMonday" />
  46. <keyword match="vbTuesday" />
  47. <keyword match="vbWednesday" />
  48. <keyword match="vbThursday" />
  49. <keyword match="vbFriday" />
  50. <keyword match="vbSaturday" />
  51. <keyword match="vbUseSystemDayOfWeek" />
  52. <keyword match="vbFirstJan1" />
  53. <keyword match="vbFirstFourDays" />
  54. <keyword match="vbFirstFullWeek" />
  55. <!-- Date Format Constants -->
  56. <keyword match="vbGeneralDate" />
  57. <keyword match="vbLongDate" />
  58. <keyword match="vbShortDate" />
  59. <keyword match="vbLongTime" />
  60. <keyword match="vbShortTime" />
  61. <!-- Miscellaneous Constants -->
  62. <keyword match="vbObjectError" />
  63. <!-- MsgBox Constants -->
  64. <keyword match="vbOKOnly" />
  65. <keyword match="vbOKCancel" />
  66. <keyword match="vbAbortRetryIgnore" />
  67. <keyword match="vbYesNoCancel" />
  68. <keyword match="vbYesNo" />
  69. <keyword match="vbRetryCancel" />
  70. <keyword match="vbCritical" />
  71. <keyword match="vbQuestion" />
  72. <keyword match="vbExclamation" />
  73. <keyword match="vbInformation" />
  74. <keyword match="vbDefaultButton1" />
  75. <keyword match="vbDefaultButton2" />
  76. <keyword match="vbDefaultButton3" />
  77. <keyword match="vbDefaultButton4" />
  78. <keyword match="vbApplicationModal" />
  79. <keyword match="vbSystemModal" />
  80. <keyword match="vbOK" />
  81. <keyword match="vbCancel" />
  82. <keyword match="vbAbort" />
  83. <keyword match="vbRetry" />
  84. <keyword match="vbIgnore" />
  85. <keyword match="vbYes" />
  86. <keyword match="vbNo" />
  87. <!-- String Constants -->
  88. <keyword match="vbCr" />
  89. <keyword match="VbCrLf" />
  90. <keyword match="vbFormFeed" />
  91. <keyword match="vbLf" />
  92. <keyword match="vbNewLine" />
  93. <keyword match="vbNullChar" />
  94. <keyword match="vbNullString" />
  95. <keyword match="vbTab" />
  96. <keyword match="vbVerticalTab" />
  97. <!-- Tristate Constants -->
  98. <keyword match="vbUseDefault" />
  99. <keyword match="vbTrue" />
  100. <keyword match="vbFalse" />
  101. <!-- VarType Constants -->
  102. <keyword match="vbEmpty" />
  103. <keyword match="vbNull" />
  104. <keyword match="vbInteger" />
  105. <keyword match="vbLong" />
  106. <keyword match="vbSingle" />
  107. <keyword match="vbDouble" />
  108. <keyword match="vbCurrency" />
  109. <keyword match="vbDate" />
  110. <keyword match="vbString" />
  111. <keyword match="vbObject" />
  112. <keyword match="vbError" />
  113. <keyword match="vbBoolean" />
  114. <keyword match="vbVariant" />
  115. <keyword match="vbDataObject" />
  116. <keyword match="vbDecimal" />
  117. <keyword match="vbByte" />
  118. <keyword match="vbArray" />
  119. </keywords>
  120. <keywords name="functions" inherits="identifier" innerClass="builtin" case="no">
  121. <keyword match="Abs" />
  122. <keyword match="Array" />
  123. <keyword match="Asc" />
  124. <keyword match="Atn" />
  125. <keyword match="CBool" />
  126. <keyword match="CByte" />
  127. <keyword match="CCur" />
  128. <keyword match="CDate" />
  129. <keyword match="CDbl" />
  130. <keyword match="Chr" />
  131. <keyword match="CInt" />
  132. <keyword match="CLng" />
  133. <keyword match="Cos" />
  134. <keyword match="CreateObject" />
  135. <keyword match="CSng" />
  136. <keyword match="CStr" />
  137. <keyword match="Date" />
  138. <keyword match="DateAdd" />
  139. <keyword match="DateDiff" />
  140. <keyword match="DatePart" />
  141. <keyword match="DateSerial" />
  142. <keyword match="DateValue" />
  143. <keyword match="Day" />
  144. <keyword match="Escape" />
  145. <keyword match="Eval" />
  146. <keyword match="Exp" />
  147. <keyword match="Filter" />
  148. <keyword match="FormatCurrency" />
  149. <keyword match="FormatDateTime" />
  150. <keyword match="FormatNumber" />
  151. <keyword match="FormatPercent" />
  152. <keyword match="GetLocale" />
  153. <keyword match="GetObject" />
  154. <keyword match="GetRef" />
  155. <keyword match="Hex" />
  156. <keyword match="Hour" />
  157. <keyword match="InputBox" />
  158. <keyword match="InStr" />
  159. <keyword match="InStrRev" />
  160. <keyword match="Int" />
  161. <keyword match="Fix" />
  162. <keyword match="IsArray" />
  163. <keyword match="IsDate" />
  164. <keyword match="IsEmpty" />
  165. <keyword match="IsNull" />
  166. <keyword match="IsNumeric" />
  167. <keyword match="IsObject" />
  168. <keyword match="Join" />
  169. <keyword match="LBound" />
  170. <keyword match="LCase" />
  171. <keyword match="Left" />
  172. <keyword match="Len" />
  173. <keyword match="LoadPicture" />
  174. <keyword match="Log" />
  175. <keyword match="LTrim" />
  176. <keyword match="RTrim" />
  177. <keyword match="Trim" />
  178. <keyword match="Mid" />
  179. <keyword match="Minute" />
  180. <keyword match="Month" />
  181. <keyword match="MonthName" />
  182. <keyword match="MsgBox" />
  183. <keyword match="Now" />
  184. <keyword match="Oct" />
  185. <keyword match="Replace" />
  186. <keyword match="RGB" />
  187. <keyword match="Right" />
  188. <keyword match="Rnd" />
  189. <keyword match="Round" />
  190. <keyword match="ScriptEngine" />
  191. <keyword match="ScriptEngineBuildVersion" />
  192. <keyword match="ScriptEngineMajorVersion" />
  193. <keyword match="ScriptEngineMinorVersion" />
  194. <keyword match="Second" />
  195. <keyword match="SetLocale" />
  196. <keyword match="Sgn" />
  197. <keyword match="Sin" />
  198. <keyword match="Space" />
  199. <keyword match="Split" />
  200. <keyword match="Sqr" />
  201. <keyword match="StrComp" />
  202. <keyword match="String" />
  203. <keyword match="StrReverse" />
  204. <keyword match="Tan" />
  205. <keyword match="Time" />
  206. <keyword match="Timer" />
  207. <keyword match="TimeSerial" />
  208. <keyword match="TimeValue" />
  209. <keyword match="TypeName" />
  210. <keyword match="UBound" />
  211. <keyword match="UCase" />
  212. <keyword match="Unescape" />
  213. <keyword match="VarType" />
  214. <keyword match="Weekday" />
  215. <keyword match="WeekdayName" />
  216. <keyword match="Year" />
  217. </keywords>
  218. <keywords name="builtin" inherits="identifier" innerClass="builtin" case="no">
  219. <!--<keyword match="Class" />-->
  220. <keyword match="Debug" />
  221. <keyword match="Err" />
  222. <keyword match="Match" />
  223. <keyword match="RegExp" />
  224. </keywords>
  225. <keywords name="reserved" inherits="identifier" innerClass="reserved" case="no">
  226. <keyword match="Empty" />
  227. <keyword match="False" />
  228. <keyword match="Nothing" />
  229. <keyword match="Null" />
  230. <keyword match="True" />
  231. <keyword match="And" />
  232. <keyword match="Eqv" />
  233. <keyword match="Imp" />
  234. <keyword match="Is" />
  235. <keyword match="Mod" />
  236. <keyword match="Not" />
  237. <keyword match="Or" />
  238. <keyword match="Xor" />
  239. <keyword match="Call" />
  240. <keyword match="Class" />
  241. <keyword match="End" />
  242. <keyword match="Const" />
  243. <keyword match="Public" />
  244. <keyword match="Private" />
  245. <keyword match="Dim" />
  246. <keyword match="Do" />
  247. <keyword match="While" />
  248. <keyword match="Until" />
  249. <keyword match="Exit" />
  250. <keyword match="Loop" />
  251. <keyword match="Erase" />
  252. <keyword match="Execute" />
  253. <keyword match="ExecuteGlobal" />
  254. <keyword match="For" />
  255. <keyword match="Each" />
  256. <keyword match="In" />
  257. <keyword match="To" />
  258. <keyword match="Step" />
  259. <keyword match="Next" />
  260. <keyword match="Function" />
  261. <keyword match="Default" />
  262. <keyword match="If" />
  263. <keyword match="Then" />
  264. <keyword match="Else" />
  265. <keyword match="ElseIf" />
  266. <keyword match="On" />
  267. <keyword match="Error" />
  268. <keyword match="Resume" />
  269. <keyword match="Goto" />
  270. <keyword match="Option" />
  271. <keyword match="Explicit" />
  272. <keyword match="Property" />
  273. <keyword match="Get" />
  274. <keyword match="Let" />
  275. <keyword match="Set" />
  276. <keyword match="Randomize" />
  277. <keyword match="ReDim" />
  278. <keyword match="Preserve" />
  279. <keyword match="Select" />
  280. <keyword match="Case" />
  281. <keyword match="Stop" />
  282. <keyword match="Sub" />
  283. <keyword match="Wend" />
  284. <keyword match="With" />
  285. </keywords>
  286. </highlight>