PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/modes/applescript.xml

#
XML | 280 lines | 277 code | 2 blank | 1 comment | 0 complexity | bb45610c4a023b88d33e33f955407ec8 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <?xml version="1.0"?>
  2. <!DOCTYPE MODE SYSTEM "xmode.dtd">
  3. <!-- AppleScript mode by Kris Kopicki (21/8/2002) -->
  4. <MODE>
  5. <PROPS>
  6. <PROPERTY NAME="doubleBracketIndent" VALUE="false" />
  7. <PROPERTY NAME="commentStart" VALUE="(*" />
  8. <PROPERTY NAME="commentEnd" VALUE="*)" />
  9. <PROPERTY NAME="lineComment" VALUE="--" />
  10. <PROPERTY NAME="wordBreakChars" VALUE=",+-=&lt;&gt;/?^&amp;*" />
  11. </PROPS>
  12. <RULES ESCAPE="\" IGNORE_CASE="TRUE" HIGHLIGHT_DIGITS="TRUE">
  13. <SPAN TYPE="COMMENT1">
  14. <BEGIN>(*</BEGIN>
  15. <END>*)</END>
  16. </SPAN>
  17. <EOL_SPAN TYPE="COMMENT1">--</EOL_SPAN>
  18. <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
  19. <BEGIN>"</BEGIN>
  20. <END>"</END>
  21. </SPAN>
  22. <SPAN TYPE="LITERAL1" NO_LINE_BREAK="TRUE">
  23. <BEGIN>'</BEGIN>
  24. <END>'</END>
  25. </SPAN>
  26. <SEQ TYPE="OPERATOR">(</SEQ>
  27. <SEQ TYPE="OPERATOR">)</SEQ>
  28. <SEQ TYPE="OPERATOR">+</SEQ>
  29. <SEQ TYPE="OPERATOR">-</SEQ>
  30. <SEQ TYPE="OPERATOR">^</SEQ>
  31. <SEQ TYPE="OPERATOR">*</SEQ>
  32. <SEQ TYPE="OPERATOR">/</SEQ>
  33. <SEQ TYPE="OPERATOR">&amp;</SEQ>
  34. <SEQ TYPE="OPERATOR">&lt;</SEQ>
  35. <SEQ TYPE="OPERATOR">&lt;=</SEQ>
  36. <SEQ TYPE="OPERATOR">&gt;</SEQ>
  37. <SEQ TYPE="OPERATOR">&gt;=</SEQ>
  38. <SEQ TYPE="OPERATOR">=</SEQ>
  39. <SEQ TYPE="OPERATOR">­</SEQ>
  40. <!-- Constants -->
  41. <SEQ_REGEXP
  42. TYPE="LITERAL2"
  43. HASH_CHAR="a"
  44. AT_WORD_START="TRUE"
  45. >application[\t\s]+responses</SEQ_REGEXP>
  46. <SEQ_REGEXP
  47. TYPE="LITERAL2"
  48. HASH_CHAR="c"
  49. AT_WORD_START="TRUE"
  50. >current[\t\s]+application</SEQ_REGEXP>
  51. <SEQ_REGEXP
  52. TYPE="LITERAL2"
  53. HASH_CHAR="w"
  54. AT_WORD_START="TRUE"
  55. >white[\t\s]+space</SEQ_REGEXP>
  56. <!-- Text Styles -->
  57. <SEQ_REGEXP
  58. TYPE="LITERAL2"
  59. HASH_CHAR="a"
  60. >all[\t\s]+caps</SEQ_REGEXP>
  61. <SEQ_REGEXP
  62. TYPE="LITERAL2"
  63. HASH_CHAR="a"
  64. AT_WORD_START="TRUE"
  65. >all[\t\s]+lowercase</SEQ_REGEXP>
  66. <SEQ_REGEXP
  67. TYPE="LITERAL2"
  68. HASH_CHAR="s"
  69. AT_WORD_START="TRUE"
  70. >small[\t\s]+caps</SEQ_REGEXP>
  71. <!-- Predefined Variables -->
  72. <SEQ_REGEXP
  73. TYPE="KEYWORD3"
  74. HASH_CHAR="m"
  75. AT_WORD_START="TRUE"
  76. >missing[\t\s]+value</SEQ_REGEXP>
  77. <KEYWORDS>
  78. <!-- Keywords -->
  79. <KEYWORD1>script</KEYWORD1>
  80. <KEYWORD1>property</KEYWORD1>
  81. <KEYWORD1>prop</KEYWORD1>
  82. <KEYWORD1>end</KEYWORD1>
  83. <KEYWORD1>copy</KEYWORD1>
  84. <KEYWORD1>to</KEYWORD1>
  85. <KEYWORD1>set</KEYWORD1>
  86. <KEYWORD1>global</KEYWORD1>
  87. <KEYWORD1>local</KEYWORD1>
  88. <KEYWORD1>on</KEYWORD1>
  89. <KEYWORD1>to</KEYWORD1>
  90. <KEYWORD1>of</KEYWORD1>
  91. <KEYWORD1>in</KEYWORD1>
  92. <KEYWORD1>given</KEYWORD1>
  93. <KEYWORD1>with</KEYWORD1>
  94. <KEYWORD1>without</KEYWORD1>
  95. <KEYWORD1>return</KEYWORD1>
  96. <KEYWORD1>continue</KEYWORD1>
  97. <KEYWORD1>tell</KEYWORD1>
  98. <KEYWORD1>if</KEYWORD1>
  99. <KEYWORD1>then</KEYWORD1>
  100. <KEYWORD1>else</KEYWORD1>
  101. <KEYWORD1>repeat</KEYWORD1>
  102. <KEYWORD1>times</KEYWORD1>
  103. <KEYWORD1>while</KEYWORD1>
  104. <KEYWORD1>until</KEYWORD1>
  105. <KEYWORD1>from</KEYWORD1>
  106. <KEYWORD1>exit</KEYWORD1>
  107. <KEYWORD1>try</KEYWORD1>
  108. <KEYWORD1>error</KEYWORD1>
  109. <KEYWORD1>considering</KEYWORD1>
  110. <KEYWORD1>ignoring</KEYWORD1>
  111. <KEYWORD1>timeout</KEYWORD1>
  112. <KEYWORD1>transaction</KEYWORD1>
  113. <KEYWORD1>my</KEYWORD1>
  114. <KEYWORD1>get</KEYWORD1>
  115. <KEYWORD1>put</KEYWORD1>
  116. <KEYWORD1>into</KEYWORD1>
  117. <KEYWORD1>is</KEYWORD1>
  118. <!-- References -->
  119. <KEYWORD2>each</KEYWORD2>
  120. <KEYWORD2>some</KEYWORD2>
  121. <KEYWORD2>every</KEYWORD2>
  122. <KEYWORD2>whose</KEYWORD2>
  123. <KEYWORD2>where</KEYWORD2>
  124. <KEYWORD2>id</KEYWORD2>
  125. <KEYWORD2>index</KEYWORD2>
  126. <KEYWORD2>first</KEYWORD2>
  127. <KEYWORD2>second</KEYWORD2>
  128. <KEYWORD2>third</KEYWORD2>
  129. <KEYWORD2>fourth</KEYWORD2>
  130. <KEYWORD2>fifth</KEYWORD2>
  131. <KEYWORD2>sixth</KEYWORD2>
  132. <KEYWORD2>seventh</KEYWORD2>
  133. <KEYWORD2>eighth</KEYWORD2>
  134. <KEYWORD2>ninth</KEYWORD2>
  135. <KEYWORD2>tenth</KEYWORD2>
  136. <KEYWORD2>last</KEYWORD2>
  137. <KEYWORD2>front</KEYWORD2>
  138. <KEYWORD2>back</KEYWORD2>
  139. <KEYWORD2>st</KEYWORD2>
  140. <KEYWORD2>nd</KEYWORD2>
  141. <KEYWORD2>rd</KEYWORD2>
  142. <KEYWORD2>th</KEYWORD2>
  143. <KEYWORD2>middle</KEYWORD2>
  144. <KEYWORD2>named</KEYWORD2>
  145. <KEYWORD2>through</KEYWORD2>
  146. <KEYWORD2>thru</KEYWORD2>
  147. <KEYWORD2>before</KEYWORD2>
  148. <KEYWORD2>after</KEYWORD2>
  149. <KEYWORD2>beginning</KEYWORD2>
  150. <KEYWORD2>the</KEYWORD2>
  151. <!-- Commands -->
  152. <KEYWORD3>close</KEYWORD3>
  153. <KEYWORD3>copy</KEYWORD3>
  154. <KEYWORD3>count</KEYWORD3>
  155. <KEYWORD3>delete</KEYWORD3>
  156. <KEYWORD3>duplicate</KEYWORD3>
  157. <KEYWORD3>exists</KEYWORD3>
  158. <KEYWORD3>launch</KEYWORD3>
  159. <KEYWORD3>make</KEYWORD3>
  160. <KEYWORD3>move</KEYWORD3>
  161. <KEYWORD3>open</KEYWORD3>
  162. <KEYWORD3>print</KEYWORD3>
  163. <KEYWORD3>quit</KEYWORD3>
  164. <KEYWORD3>reopen</KEYWORD3>
  165. <KEYWORD3>run</KEYWORD3>
  166. <KEYWORD3>save</KEYWORD3>
  167. <KEYWORD3>saving</KEYWORD3>
  168. <!-- Predefined Variables -->
  169. <LITERAL2>it</LITERAL2>
  170. <LITERAL2>me</LITERAL2>
  171. <LITERAL2>version</LITERAL2>
  172. <LITERAL2>pi</LITERAL2>
  173. <LITERAL2>result</LITERAL2>
  174. <LITERAL2>space</LITERAL2>
  175. <LITERAL2>tab</LITERAL2>
  176. <LITERAL2>anything</LITERAL2>
  177. <!-- Constants -->
  178. <LITERAL2>case</LITERAL2>
  179. <LITERAL2>diacriticals</LITERAL2>
  180. <LITERAL2>expansion</LITERAL2>
  181. <LITERAL2>hyphens</LITERAL2>
  182. <LITERAL2>punctuation</LITERAL2>
  183. <!-- Text Styles -->
  184. <LITERAL2>bold</LITERAL2>
  185. <LITERAL2>condensed</LITERAL2>
  186. <LITERAL2>expanded</LITERAL2>
  187. <LITERAL2>hidden</LITERAL2>
  188. <LITERAL2>italic</LITERAL2>
  189. <LITERAL2>outline</LITERAL2>
  190. <LITERAL2>plain</LITERAL2>
  191. <LITERAL2>shadow</LITERAL2>
  192. <LITERAL2>strikethrough</LITERAL2>
  193. <LITERAL2>subscript</LITERAL2>
  194. <LITERAL2>superscript</LITERAL2>
  195. <LITERAL2>underline</LITERAL2>
  196. <!-- Save options -->
  197. <LITERAL2>ask</LITERAL2>
  198. <LITERAL2>no</LITERAL2>
  199. <LITERAL2>yes</LITERAL2>
  200. <!-- Booleans -->
  201. <LITERAL2>false</LITERAL2>
  202. <LITERAL2>true</LITERAL2>
  203. <!-- Date & Time -->
  204. <LITERAL2>weekday</LITERAL2>
  205. <LITERAL2>monday</LITERAL2>
  206. <LITERAL2>mon</LITERAL2>
  207. <LITERAL2>tuesday</LITERAL2>
  208. <LITERAL2>tue</LITERAL2>
  209. <LITERAL2>wednesday</LITERAL2>
  210. <LITERAL2>wed</LITERAL2>
  211. <LITERAL2>thursday</LITERAL2>
  212. <LITERAL2>thu</LITERAL2>
  213. <LITERAL2>friday</LITERAL2>
  214. <LITERAL2>fri</LITERAL2>
  215. <LITERAL2>saturday</LITERAL2>
  216. <LITERAL2>sat</LITERAL2>
  217. <LITERAL2>sunday</LITERAL2>
  218. <LITERAL2>sun</LITERAL2>
  219. <LITERAL2>month</LITERAL2>
  220. <LITERAL2>january</LITERAL2>
  221. <LITERAL2>jan</LITERAL2>
  222. <LITERAL2>february</LITERAL2>
  223. <LITERAL2>feb</LITERAL2>
  224. <LITERAL2>march</LITERAL2>
  225. <LITERAL2>mar</LITERAL2>
  226. <LITERAL2>april</LITERAL2>
  227. <LITERAL2>apr</LITERAL2>
  228. <LITERAL2>may</LITERAL2>
  229. <LITERAL2>june</LITERAL2>
  230. <LITERAL2>jun</LITERAL2>
  231. <LITERAL2>july</LITERAL2>
  232. <LITERAL2>jul</LITERAL2>
  233. <LITERAL2>august</LITERAL2>
  234. <LITERAL2>aug</LITERAL2>
  235. <LITERAL2>september</LITERAL2>
  236. <LITERAL2>sep</LITERAL2>
  237. <LITERAL2>october</LITERAL2>
  238. <LITERAL2>oct</LITERAL2>
  239. <LITERAL2>november</LITERAL2>
  240. <LITERAL2>nov</LITERAL2>
  241. <LITERAL2>december</LITERAL2>
  242. <LITERAL2>dec</LITERAL2>
  243. <LITERAL2>minutes</LITERAL2>
  244. <LITERAL2>hours</LITERAL2>
  245. <LITERAL2>days</LITERAL2>
  246. <LITERAL2>weeks</LITERAL2>
  247. <!-- Operators -->
  248. <OPERATOR>div</OPERATOR>
  249. <OPERATOR>mod</OPERATOR>
  250. <OPERATOR>and</OPERATOR>
  251. <OPERATOR>not</OPERATOR>
  252. <OPERATOR>or</OPERATOR>
  253. <OPERATOR>as</OPERATOR>
  254. <OPERATOR>contains</OPERATOR>
  255. <OPERATOR>equal</OPERATOR>
  256. <OPERATOR>equals</OPERATOR>
  257. <OPERATOR>isn't</OPERATOR>
  258. </KEYWORDS>
  259. </RULES>
  260. </MODE>