jquery-ace-rails 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. data/lib/jquery-ace-rails/version.rb +1 -1
  2. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ace.js +0 -0
  3. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-static_highlight.js +0 -0
  4. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/ext-textarea.js +0 -0
  5. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-emacs.js +0 -0
  6. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/keybinding-vim.js +0 -0
  7. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-abap.js +0 -0
  8. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-asciidoc.js +0 -0
  9. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c9search.js +0 -0
  10. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-c_cpp.js +0 -0
  11. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-clojure.js +0 -0
  12. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coffee.js +0 -0
  13. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-coldfusion.js +0 -0
  14. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-csharp.js +0 -0
  15. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-css.js +0 -0
  16. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dart.js +0 -0
  17. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-diff.js +0 -0
  18. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-dot.js +0 -0
  19. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-glsl.js +0 -0
  20. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-golang.js +0 -0
  21. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-groovy.js +0 -0
  22. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haml.js +0 -0
  23. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-haxe.js +0 -0
  24. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-html.js +0 -0
  25. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jade.js +0 -0
  26. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-java.js +0 -0
  27. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-javascript.js +0 -0
  28. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-json.js +0 -0
  29. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsp.js +0 -0
  30. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-jsx.js +0 -0
  31. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-latex.js +0 -0
  32. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-less.js +0 -0
  33. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-liquid.js +0 -0
  34. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lisp.js +0 -0
  35. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lua.js +0 -0
  36. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-luapage.js +0 -0
  37. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-lucene.js +0 -0
  38. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-makefile.js +0 -0
  39. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-markdown.js +0 -0
  40. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-objectivec.js +0 -0
  41. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ocaml.js +0 -0
  42. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-perl.js +0 -0
  43. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-pgsql.js +0 -0
  44. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-php.js +0 -0
  45. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-powershell.js +0 -0
  46. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-python.js +0 -0
  47. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-r.js +0 -0
  48. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rdoc.js +0 -0
  49. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-rhtml.js +0 -0
  50. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-ruby.js +0 -0
  51. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scad.js +0 -0
  52. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scala.js +0 -0
  53. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-scss.js +0 -0
  54. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sh.js +0 -0
  55. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-sql.js +0 -0
  56. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-stylus.js +0 -0
  57. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-svg.js +0 -0
  58. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tcl.js +0 -0
  59. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-tex.js +0 -0
  60. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-text.js +0 -0
  61. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-textile.js +0 -0
  62. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-typescript.js +0 -0
  63. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xml.js +0 -0
  64. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-xquery.js +0 -0
  65. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/mode-yaml.js +0 -0
  66. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-ambiance.js +0 -0
  67. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chaos.js +0 -0
  68. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-chrome.js +0 -0
  69. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds.js +0 -0
  70. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-clouds_midnight.js +0 -0
  71. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-cobalt.js +0 -0
  72. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-crimson_editor.js +0 -0
  73. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dawn.js +0 -0
  74. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-dreamweaver.js +0 -0
  75. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-eclipse.js +0 -0
  76. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-github.js +0 -0
  77. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-idle_fingers.js +0 -0
  78. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-kr.js +0 -0
  79. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore.js +0 -0
  80. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-merbivore_soft.js +0 -0
  81. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-mono_industrial.js +0 -0
  82. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-monokai.js +0 -0
  83. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-pastel_on_dark.js +0 -0
  84. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_dark.js +0 -0
  85. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-solarized_light.js +0 -0
  86. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-textmate.js +0 -0
  87. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow.js +0 -0
  88. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night.js +0 -0
  89. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_blue.js +0 -0
  90. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_bright.js +0 -0
  91. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-tomorrow_night_eighties.js +0 -0
  92. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-twilight.js +0 -0
  93. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-vibrant_ink.js +0 -0
  94. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/theme-xcode.js +0 -0
  95. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-coffee.js +0 -0
  96. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-css.js +0 -0
  97. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-javascript.js +0 -0
  98. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-json.js +0 -0
  99. data/vendor/assets/javascripts/{jquery-ace/vendor/ace-build/src-min-noconflict → ace}/worker-xquery.js +0 -0
  100. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.coffee → jquery-ace.coffee} +1 -1
  101. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.js → jquery-ace.js} +1 -1
  102. data/vendor/assets/javascripts/{jquery-ace/jquery-ace.min.js → jquery-ace.min.js} +1 -1
  103. data/vendor/assets/javascripts/{jquery-ace/vendor → jquery}/jquery-1.8.3.min.js +0 -0
  104. metadata +104 -202
  105. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ace.js +0 -14262
  106. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-static_highlight.js +0 -96
  107. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/ext-textarea.js +0 -591
  108. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-emacs.js +0 -364
  109. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/keybinding-vim.js +0 -1646
  110. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-abap.js +0 -259
  111. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-asciidoc.js +0 -372
  112. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c9search.js +0 -187
  113. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-c_cpp.js +0 -765
  114. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-clojure.js +0 -325
  115. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coffee.js +0 -520
  116. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-coldfusion.js +0 -1725
  117. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-csharp.js +0 -605
  118. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-css.js +0 -680
  119. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dart.js +0 -279
  120. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-diff.js +0 -163
  121. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-dot.js +0 -348
  122. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-glsl.js +0 -838
  123. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-golang.js +0 -660
  124. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-groovy.js +0 -1082
  125. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haml.js +0 -440
  126. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-haxe.js +0 -610
  127. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-html.js +0 -1850
  128. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jade.js +0 -2035
  129. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-java.js +0 -1041
  130. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-javascript.js +0 -921
  131. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-json.js +0 -574
  132. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsp.js +0 -1371
  133. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-jsx.js +0 -635
  134. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-latex.js +0 -217
  135. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-less.js +0 -394
  136. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-liquid.js +0 -921
  137. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lisp.js +0 -142
  138. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lua.js +0 -609
  139. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-luapage.js +0 -2463
  140. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-lucene.js +0 -64
  141. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-makefile.js +0 -314
  142. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-markdown.js +0 -2228
  143. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-objectivec.js +0 -655
  144. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ocaml.js +0 -448
  145. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-perl.js +0 -319
  146. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-pgsql.js +0 -928
  147. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-php.js +0 -2299
  148. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-powershell.js +0 -611
  149. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-python.js +0 -290
  150. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-r.js +0 -410
  151. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rdoc.js +0 -189
  152. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-rhtml.js +0 -2138
  153. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-ruby.js +0 -410
  154. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scad.js +0 -698
  155. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scala.js +0 -1070
  156. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-scss.js +0 -416
  157. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sh.js +0 -232
  158. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-sql.js +0 -145
  159. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-stylus.js +0 -474
  160. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-svg.js +0 -1490
  161. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tcl.js +0 -342
  162. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-tex.js +0 -171
  163. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-text.js +0 -0
  164. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-textile.js +0 -175
  165. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-typescript.js +0 -1011
  166. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xml.js +0 -792
  167. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-xquery.js +0 -676
  168. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/mode-yaml.js +0 -298
  169. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-ambiance.js +0 -202
  170. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chaos.js +0 -167
  171. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-chrome.js +0 -161
  172. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds.js +0 -135
  173. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-clouds_midnight.js +0 -136
  174. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-cobalt.js +0 -150
  175. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-crimson_editor.js +0 -154
  176. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dawn.js +0 -146
  177. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-dreamweaver.js +0 -173
  178. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-eclipse.js +0 -122
  179. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-github.js +0 -136
  180. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-idle_fingers.js +0 -136
  181. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-kr.js +0 -143
  182. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore.js +0 -135
  183. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-merbivore_soft.js +0 -136
  184. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-mono_industrial.js +0 -148
  185. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-monokai.js +0 -140
  186. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-pastel_on_dark.js +0 -148
  187. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_dark.js +0 -128
  188. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-solarized_light.js +0 -131
  189. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-textmate.js +0 -163
  190. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow.js +0 -147
  191. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night.js +0 -147
  192. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_blue.js +0 -145
  193. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_bright.js +0 -147
  194. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-tomorrow_night_eighties.js +0 -144
  195. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-twilight.js +0 -147
  196. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-vibrant_ink.js +0 -131
  197. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/theme-xcode.js +0 -125
  198. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-coffee.js +0 -6985
  199. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-css.js +0 -7741
  200. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-javascript.js +0 -6387
  201. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-json.js +0 -2228
  202. data/vendor/assets/javascripts/jquery-ace/vendor/ace-build/src/worker-xquery.js +0 -21719
@@ -1,1082 +0,0 @@
1
- define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) {
2
-
3
-
4
- var oop = require("../lib/oop");
5
- var JavaScriptMode = require("./javascript").Mode;
6
- var Tokenizer = require("../tokenizer").Tokenizer;
7
- var GroovyHighlightRules = require("./groovy_highlight_rules").GroovyHighlightRules;
8
-
9
- var Mode = function() {
10
- JavaScriptMode.call(this);
11
- this.$tokenizer = new Tokenizer(new GroovyHighlightRules().getRules());
12
- };
13
- oop.inherits(Mode, JavaScriptMode);
14
-
15
- (function() {
16
-
17
- this.createWorker = function(session) {
18
- return null;
19
- };
20
-
21
- }).call(Mode.prototype);
22
-
23
- exports.Mode = Mode;
24
- });
25
-
26
- define('ace/mode/javascript', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/javascript_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/range', 'ace/worker/worker_client', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
27
-
28
-
29
- var oop = require("../lib/oop");
30
- var TextMode = require("./text").Mode;
31
- var Tokenizer = require("../tokenizer").Tokenizer;
32
- var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
33
- var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
34
- var Range = require("../range").Range;
35
- var WorkerClient = require("../worker/worker_client").WorkerClient;
36
- var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
37
- var CStyleFoldMode = require("./folding/cstyle").FoldMode;
38
-
39
- var Mode = function() {
40
- this.$tokenizer = new Tokenizer(new JavaScriptHighlightRules().getRules());
41
- this.$outdent = new MatchingBraceOutdent();
42
- this.$behaviour = new CstyleBehaviour();
43
- this.foldingRules = new CStyleFoldMode();
44
- };
45
- oop.inherits(Mode, TextMode);
46
-
47
- (function() {
48
-
49
-
50
- this.toggleCommentLines = function(state, doc, startRow, endRow) {
51
- var outdent = true;
52
- var re = /^(\s*)\/\//;
53
-
54
- for (var i=startRow; i<= endRow; i++) {
55
- if (!re.test(doc.getLine(i))) {
56
- outdent = false;
57
- break;
58
- }
59
- }
60
-
61
- if (outdent) {
62
- var deleteRange = new Range(0, 0, 0, 0);
63
- for (var i=startRow; i<= endRow; i++)
64
- {
65
- var line = doc.getLine(i);
66
- var m = line.match(re);
67
- deleteRange.start.row = i;
68
- deleteRange.end.row = i;
69
- deleteRange.end.column = m[0].length;
70
- doc.replace(deleteRange, m[1]);
71
- }
72
- }
73
- else {
74
- doc.indentRows(startRow, endRow, "//");
75
- }
76
- };
77
-
78
- this.getNextLineIndent = function(state, line, tab) {
79
- var indent = this.$getIndent(line);
80
-
81
- var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
82
- var tokens = tokenizedLine.tokens;
83
- var endState = tokenizedLine.state;
84
-
85
- if (tokens.length && tokens[tokens.length-1].type == "comment") {
86
- return indent;
87
- }
88
-
89
- if (state == "start" || state == "regex_allowed") {
90
- var match = line.match(/^.*(?:\bcase\b.*\:|[\{\(\[])\s*$/);
91
- if (match) {
92
- indent += tab;
93
- }
94
- } else if (state == "doc-start") {
95
- if (endState == "start" || state == "regex_allowed") {
96
- return "";
97
- }
98
- var match = line.match(/^\s*(\/?)\*/);
99
- if (match) {
100
- if (match[1]) {
101
- indent += " ";
102
- }
103
- indent += "* ";
104
- }
105
- }
106
-
107
- return indent;
108
- };
109
-
110
- this.checkOutdent = function(state, line, input) {
111
- return this.$outdent.checkOutdent(line, input);
112
- };
113
-
114
- this.autoOutdent = function(state, doc, row) {
115
- this.$outdent.autoOutdent(doc, row);
116
- };
117
-
118
- this.createWorker = function(session) {
119
- var worker = new WorkerClient(["ace"], "ace/mode/javascript_worker", "JavaScriptWorker");
120
- worker.attachToDocument(session.getDocument());
121
-
122
- worker.on("jslint", function(results) {
123
- session.setAnnotations(results.data);
124
- });
125
-
126
- worker.on("terminate", function() {
127
- session.clearAnnotations();
128
- });
129
-
130
- return worker;
131
- };
132
-
133
- }).call(Mode.prototype);
134
-
135
- exports.Mode = Mode;
136
- });
137
-
138
- define('ace/mode/javascript_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/doc_comment_highlight_rules', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
139
-
140
-
141
- var oop = require("../lib/oop");
142
- var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
143
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
144
-
145
- var JavaScriptHighlightRules = function() {
146
- var keywordMapper = this.createKeywordMapper({
147
- "variable.language":
148
- "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors
149
- "Namespace|QName|XML|XMLList|" + // E4X
150
- "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
151
- "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
152
- "Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
153
- "SyntaxError|TypeError|URIError|" +
154
- "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
155
- "isNaN|parseFloat|parseInt|" +
156
- "JSON|Math|" + // Other
157
- "this|arguments|prototype|window|document" , // Pseudo
158
- "keyword":
159
- "const|yield|import|get|set|" +
160
- "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
161
- "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
162
- "__parent__|__count__|escape|unescape|with|__proto__|" +
163
- "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
164
- "storage.type":
165
- "const|let|var|function",
166
- "constant.language":
167
- "null|Infinity|NaN|undefined",
168
- "support.function":
169
- "alert"
170
- }, "identifier");
171
- var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
172
- var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
173
-
174
- var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
175
- "u[0-9a-fA-F]{4}|" + // unicode
176
- "[0-2][0-7]{0,2}|" + // oct
177
- "3[0-6][0-7]?|" + // oct
178
- "37[0-7]?|" + // oct
179
- "[4-7][0-7]?|" + //oct
180
- ".)";
181
-
182
- this.$rules = {
183
- "start" : [
184
- {
185
- token : "comment",
186
- regex : /\/\/.*$/
187
- },
188
- DocCommentHighlightRules.getStartRule("doc-start"),
189
- {
190
- token : "comment", // multi line comment
191
- regex : /\/\*/,
192
- next : "comment"
193
- }, {
194
- token : "string",
195
- regex : "'(?=.)",
196
- next : "qstring"
197
- }, {
198
- token : "string",
199
- regex : '"(?=.)',
200
- next : "qqstring"
201
- }, {
202
- token : "constant.numeric", // hex
203
- regex : /0[xX][0-9a-fA-F]+\b/
204
- }, {
205
- token : "constant.numeric", // float
206
- regex : /[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/
207
- }, {
208
- token : [
209
- "storage.type", "punctuation.operator", "support.function",
210
- "punctuation.operator", "entity.name.function", "text","keyword.operator"
211
- ],
212
- regex : "(" + identifierRe + ")(\\.)(prototype)(\\.)(" + identifierRe +")(\\s*)(=)",
213
- next: "function_arguments"
214
- }, {
215
- token : [
216
- "storage.type", "punctuation.operator", "entity.name.function", "text",
217
- "keyword.operator", "text", "storage.type", "text", "paren.lparen"
218
- ],
219
- regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
220
- next: "function_arguments"
221
- }, {
222
- token : [
223
- "entity.name.function", "text", "keyword.operator", "text", "storage.type",
224
- "text", "paren.lparen"
225
- ],
226
- regex : "(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
227
- next: "function_arguments"
228
- }, {
229
- token : [
230
- "storage.type", "punctuation.operator", "entity.name.function", "text",
231
- "keyword.operator", "text",
232
- "storage.type", "text", "entity.name.function", "text", "paren.lparen"
233
- ],
234
- regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",
235
- next: "function_arguments"
236
- }, {
237
- token : [
238
- "storage.type", "text", "entity.name.function", "text", "paren.lparen"
239
- ],
240
- regex : "(function)(\\s+)(" + identifierRe + ")(\\s*)(\\()",
241
- next: "function_arguments"
242
- }, {
243
- token : [
244
- "entity.name.function", "text", "punctuation.operator",
245
- "text", "storage.type", "text", "paren.lparen"
246
- ],
247
- regex : "(" + identifierRe + ")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",
248
- next: "function_arguments"
249
- }, {
250
- token : [
251
- "text", "text", "storage.type", "text", "paren.lparen"
252
- ],
253
- regex : "(:)(\\s*)(function)(\\s*)(\\()",
254
- next: "function_arguments"
255
- }, {
256
- token : "constant.language.boolean",
257
- regex : /(?:true|false)\b/
258
- }, {
259
- token : "keyword",
260
- regex : "(?:" + kwBeforeRe + ")\\b",
261
- next : "regex_allowed"
262
- }, {
263
- token : ["punctuation.operator", "support.function"],
264
- regex : /(\.)(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:opzzzz|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/
265
- }, {
266
- token : ["punctuation.operator", "support.function.dom"],
267
- regex : /(\.)(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/
268
- }, {
269
- token : ["punctuation.operator", "support.constant"],
270
- regex : /(\.)(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/
271
- }, {
272
- token : ["storage.type", "punctuation.operator", "support.function.firebug"],
273
- regex : /(console)(\.)(warn|info|log|error|time|timeEnd|assert)\b/
274
- }, {
275
- token : keywordMapper,
276
- regex : identifierRe
277
- }, {
278
- token : "keyword.operator",
279
- regex : /--|\+\+|[!$%&*+\-~]|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|%=|\+=|\-=|&=|\^=/,
280
- next : "regex_allowed"
281
- }, {
282
- token : "punctuation.operator",
283
- regex : /\?|\:|\,|\;|\./,
284
- next : "regex_allowed"
285
- }, {
286
- token : "paren.lparen",
287
- regex : /[\[({]/,
288
- next : "regex_allowed"
289
- }, {
290
- token : "paren.rparen",
291
- regex : /[\])}]/
292
- }, {
293
- token : "keyword.operator",
294
- regex : /\/=?/,
295
- next : "regex_allowed"
296
- }, {
297
- token: "comment",
298
- regex: /^#!.*$/
299
- }, {
300
- token : "text",
301
- regex : /\s+/
302
- }
303
- ],
304
- "regex_allowed": [
305
- DocCommentHighlightRules.getStartRule("doc-start"),
306
- {
307
- token : "comment", // multi line comment
308
- regex : "\\/\\*",
309
- next : "comment_regex_allowed"
310
- }, {
311
- token : "comment",
312
- regex : "\\/\\/.*$"
313
- }, {
314
- token: "string.regexp",
315
- regex: "\\/",
316
- next: "regex",
317
- }, {
318
- token : "text",
319
- regex : "\\s+"
320
- }, {
321
- token: "empty",
322
- regex: "",
323
- next: "start"
324
- }
325
- ],
326
- "regex": [
327
- {
328
- token: "regexp.keyword.operator",
329
- regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
330
- }, {
331
- token: "string.regexp",
332
- regex: "/\\w*",
333
- next: "start",
334
- }, {
335
- token : "invalid",
336
- regex: /\{\d+,?(?:\d+)?}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
337
- }, {
338
- token : "constant.language.escape",
339
- regex: /\(\?[:=!]|\)|{\d+,?(?:\d+)?}|{,\d+}|[+*]\?|[(|)$^+*?]/
340
- }, {
341
- token: "string.regexp",
342
- regex: /{|[^{\[\/\\(|)$^+*?]+/,
343
- }, {
344
- token: "constant.language.escape",
345
- regex: /\[\^?/,
346
- next: "regex_character_class",
347
- }, {
348
- token: "empty",
349
- regex: "",
350
- next: "start"
351
- }
352
- ],
353
- "regex_character_class": [
354
- {
355
- token: "regexp.keyword.operator",
356
- regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
357
- }, {
358
- token: "constant.language.escape",
359
- regex: "]",
360
- next: "regex",
361
- }, {
362
- token: "constant.language.escape",
363
- regex: "-"
364
- }, {
365
- token: "string.regexp.charachterclass",
366
- regex: /[^\]\-\\]+/,
367
- }, {
368
- token: "empty",
369
- regex: "",
370
- next: "start"
371
- }
372
- ],
373
- "function_arguments": [
374
- {
375
- token: "variable.parameter",
376
- regex: identifierRe
377
- }, {
378
- token: "punctuation.operator",
379
- regex: "[, ]+",
380
- }, {
381
- token: "punctuation.operator",
382
- regex: "$",
383
- }, {
384
- token: "empty",
385
- regex: "",
386
- next: "start"
387
- }
388
- ],
389
- "comment_regex_allowed" : [
390
- {
391
- token : "comment", // closing comment
392
- regex : ".*?\\*\\/",
393
- next : "regex_allowed"
394
- }, {
395
- token : "comment", // comment spanning whole line
396
- regex : ".+"
397
- }
398
- ],
399
- "comment" : [
400
- {
401
- token : "comment", // closing comment
402
- regex : ".*?\\*\\/",
403
- next : "start"
404
- }, {
405
- token : "comment", // comment spanning whole line
406
- regex : ".+"
407
- }
408
- ],
409
- "qqstring" : [
410
- {
411
- token : "constant.language.escape",
412
- regex : escapedRe
413
- }, {
414
- token : "string",
415
- regex : "\\\\$",
416
- next : "qqstring",
417
- }, {
418
- token : "string",
419
- regex : '"|$',
420
- next : "start",
421
- }, {
422
- token : "string",
423
- regex : '.|\\w+|\\s+',
424
- }
425
- ],
426
- "qstring" : [
427
- {
428
- token : "constant.language.escape",
429
- regex : escapedRe
430
- }, {
431
- token : "string",
432
- regex : "\\\\$",
433
- next : "qstring",
434
- }, {
435
- token : "string",
436
- regex : "'|$",
437
- next : "start",
438
- }, {
439
- token : "string",
440
- regex : '.|\\w+|\\s+',
441
- }
442
- ]
443
- };
444
-
445
- this.embedRules(DocCommentHighlightRules, "doc-",
446
- [ DocCommentHighlightRules.getEndRule("start") ]);
447
- };
448
-
449
- oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
450
-
451
- exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
452
- });
453
-
454
- define('ace/mode/doc_comment_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
455
-
456
-
457
- var oop = require("../lib/oop");
458
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
459
-
460
- var DocCommentHighlightRules = function() {
461
-
462
- this.$rules = {
463
- "start" : [ {
464
- token : "comment.doc.tag",
465
- regex : "@[\\w\\d_]+" // TODO: fix email addresses
466
- }, {
467
- token : "comment.doc",
468
- regex : "\\s+"
469
- }, {
470
- token : "comment.doc",
471
- regex : "TODO"
472
- }, {
473
- token : "comment.doc",
474
- regex : "[^@\\*]+"
475
- }, {
476
- token : "comment.doc",
477
- regex : "."
478
- }]
479
- };
480
- };
481
-
482
- oop.inherits(DocCommentHighlightRules, TextHighlightRules);
483
-
484
- DocCommentHighlightRules.getStartRule = function(start) {
485
- return {
486
- token : "comment.doc", // doc comment
487
- regex : "\\/\\*(?=\\*)",
488
- next : start
489
- };
490
- };
491
-
492
- DocCommentHighlightRules.getEndRule = function (start) {
493
- return {
494
- token : "comment.doc", // closing comment
495
- regex : "\\*\\/",
496
- next : start
497
- };
498
- };
499
-
500
-
501
- exports.DocCommentHighlightRules = DocCommentHighlightRules;
502
-
503
- });
504
-
505
- define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
506
-
507
-
508
- var Range = require("../range").Range;
509
-
510
- var MatchingBraceOutdent = function() {};
511
-
512
- (function() {
513
-
514
- this.checkOutdent = function(line, input) {
515
- if (! /^\s+$/.test(line))
516
- return false;
517
-
518
- return /^\s*\}/.test(input);
519
- };
520
-
521
- this.autoOutdent = function(doc, row) {
522
- var line = doc.getLine(row);
523
- var match = line.match(/^(\s*\})/);
524
-
525
- if (!match) return 0;
526
-
527
- var column = match[1].length;
528
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
529
-
530
- if (!openBracePos || openBracePos.row == row) return 0;
531
-
532
- var indent = this.$getIndent(doc.getLine(openBracePos.row));
533
- doc.replace(new Range(row, 0, row, column-1), indent);
534
- };
535
-
536
- this.$getIndent = function(line) {
537
- var match = line.match(/^(\s+)/);
538
- if (match) {
539
- return match[1];
540
- }
541
-
542
- return "";
543
- };
544
-
545
- }).call(MatchingBraceOutdent.prototype);
546
-
547
- exports.MatchingBraceOutdent = MatchingBraceOutdent;
548
- });
549
-
550
- define('ace/mode/behaviour/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/behaviour', 'ace/token_iterator', 'ace/lib/lang'], function(require, exports, module) {
551
-
552
-
553
- var oop = require("../../lib/oop");
554
- var Behaviour = require("../behaviour").Behaviour;
555
- var TokenIterator = require("../../token_iterator").TokenIterator;
556
- var lang = require("../../lib/lang");
557
-
558
- var SAFE_INSERT_IN_TOKENS =
559
- ["text", "paren.rparen", "punctuation.operator"];
560
- var SAFE_INSERT_BEFORE_TOKENS =
561
- ["text", "paren.rparen", "punctuation.operator", "comment"];
562
-
563
-
564
- var autoInsertedBrackets = 0;
565
- var autoInsertedRow = -1;
566
- var autoInsertedLineEnd = "";
567
- var maybeInsertedBrackets = 0;
568
- var maybeInsertedRow = -1;
569
- var maybeInsertedLineStart = "";
570
- var maybeInsertedLineEnd = "";
571
-
572
- var CstyleBehaviour = function () {
573
-
574
- CstyleBehaviour.isSaneInsertion = function(editor, session) {
575
- var cursor = editor.getCursorPosition();
576
- var iterator = new TokenIterator(session, cursor.row, cursor.column);
577
- if (!this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS)) {
578
- var iterator2 = new TokenIterator(session, cursor.row, cursor.column + 1);
579
- if (!this.$matchTokenType(iterator2.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS))
580
- return false;
581
- }
582
- iterator.stepForward();
583
- return iterator.getCurrentTokenRow() !== cursor.row ||
584
- this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_BEFORE_TOKENS);
585
- };
586
-
587
- CstyleBehaviour.$matchTokenType = function(token, types) {
588
- return types.indexOf(token.type || token) > -1;
589
- };
590
-
591
- CstyleBehaviour.recordAutoInsert = function(editor, session, bracket) {
592
- var cursor = editor.getCursorPosition();
593
- var line = session.doc.getLine(cursor.row);
594
- if (!this.isAutoInsertedClosing(cursor, line, autoInsertedLineEnd[0]))
595
- autoInsertedBrackets = 0;
596
- autoInsertedRow = cursor.row;
597
- autoInsertedLineEnd = bracket + line.substr(cursor.column);
598
- autoInsertedBrackets++;
599
- };
600
-
601
- CstyleBehaviour.recordMaybeInsert = function(editor, session, bracket) {
602
- var cursor = editor.getCursorPosition();
603
- var line = session.doc.getLine(cursor.row);
604
- if (!this.isMaybeInsertedClosing(cursor, line))
605
- maybeInsertedBrackets = 0;
606
- maybeInsertedRow = cursor.row;
607
- maybeInsertedLineStart = line.substr(0, cursor.column) + bracket;
608
- maybeInsertedLineEnd = line.substr(cursor.column);
609
- maybeInsertedBrackets++;
610
- };
611
-
612
- CstyleBehaviour.isAutoInsertedClosing = function(cursor, line, bracket) {
613
- return autoInsertedBrackets > 0 &&
614
- cursor.row === autoInsertedRow &&
615
- bracket === autoInsertedLineEnd[0] &&
616
- line.substr(cursor.column) === autoInsertedLineEnd;
617
- };
618
-
619
- CstyleBehaviour.isMaybeInsertedClosing = function(cursor, line) {
620
- return maybeInsertedBrackets > 0 &&
621
- cursor.row === maybeInsertedRow &&
622
- line.substr(cursor.column) === maybeInsertedLineEnd &&
623
- line.substr(0, cursor.column) == maybeInsertedLineStart;
624
- };
625
-
626
- CstyleBehaviour.popAutoInsertedClosing = function() {
627
- autoInsertedLineEnd = autoInsertedLineEnd.substr(1);
628
- autoInsertedBrackets--;
629
- };
630
-
631
- CstyleBehaviour.clearMaybeInsertedClosing = function() {
632
- maybeInsertedBrackets = 0;
633
- maybeInsertedRow = -1;
634
- };
635
-
636
- this.add("braces", "insertion", function (state, action, editor, session, text) {
637
- var cursor = editor.getCursorPosition();
638
- var line = session.doc.getLine(cursor.row);
639
- if (text == '{') {
640
- var selection = editor.getSelectionRange();
641
- var selected = session.doc.getTextRange(selection);
642
- if (selected !== "" && selected !== "{" && editor.getWrapBehavioursEnabled()) {
643
- return {
644
- text: '{' + selected + '}',
645
- selection: false
646
- };
647
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
648
- if (/[\]\}\)]/.test(line[cursor.column])) {
649
- CstyleBehaviour.recordAutoInsert(editor, session, "}");
650
- return {
651
- text: '{}',
652
- selection: [1, 1]
653
- };
654
- } else {
655
- CstyleBehaviour.recordMaybeInsert(editor, session, "{");
656
- return {
657
- text: '{',
658
- selection: [1, 1]
659
- };
660
- }
661
- }
662
- } else if (text == '}') {
663
- var rightChar = line.substring(cursor.column, cursor.column + 1);
664
- if (rightChar == '}') {
665
- var matching = session.$findOpeningBracket('}', {column: cursor.column + 1, row: cursor.row});
666
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
667
- CstyleBehaviour.popAutoInsertedClosing();
668
- return {
669
- text: '',
670
- selection: [1, 1]
671
- };
672
- }
673
- }
674
- } else if (text == "\n" || text == "\r\n") {
675
- var closing = "";
676
- if (CstyleBehaviour.isMaybeInsertedClosing(cursor, line)) {
677
- closing = lang.stringRepeat("}", maybeInsertedBrackets);
678
- CstyleBehaviour.clearMaybeInsertedClosing();
679
- }
680
- var rightChar = line.substring(cursor.column, cursor.column + 1);
681
- if (rightChar == '}' || closing !== "") {
682
- var openBracePos = session.findMatchingBracket({row: cursor.row, column: cursor.column}, '}');
683
- if (!openBracePos)
684
- return null;
685
-
686
- var indent = this.getNextLineIndent(state, line.substring(0, cursor.column), session.getTabString());
687
- var next_indent = this.$getIndent(line);
688
-
689
- return {
690
- text: '\n' + indent + '\n' + next_indent + closing,
691
- selection: [1, indent.length, 1, indent.length]
692
- };
693
- }
694
- }
695
- });
696
-
697
- this.add("braces", "deletion", function (state, action, editor, session, range) {
698
- var selected = session.doc.getTextRange(range);
699
- if (!range.isMultiLine() && selected == '{') {
700
- var line = session.doc.getLine(range.start.row);
701
- var rightChar = line.substring(range.end.column, range.end.column + 1);
702
- if (rightChar == '}') {
703
- range.end.column++;
704
- return range;
705
- } else {
706
- maybeInsertedBrackets--;
707
- }
708
- }
709
- });
710
-
711
- this.add("parens", "insertion", function (state, action, editor, session, text) {
712
- if (text == '(') {
713
- var selection = editor.getSelectionRange();
714
- var selected = session.doc.getTextRange(selection);
715
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
716
- return {
717
- text: '(' + selected + ')',
718
- selection: false
719
- };
720
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
721
- CstyleBehaviour.recordAutoInsert(editor, session, ")");
722
- return {
723
- text: '()',
724
- selection: [1, 1]
725
- };
726
- }
727
- } else if (text == ')') {
728
- var cursor = editor.getCursorPosition();
729
- var line = session.doc.getLine(cursor.row);
730
- var rightChar = line.substring(cursor.column, cursor.column + 1);
731
- if (rightChar == ')') {
732
- var matching = session.$findOpeningBracket(')', {column: cursor.column + 1, row: cursor.row});
733
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
734
- CstyleBehaviour.popAutoInsertedClosing();
735
- return {
736
- text: '',
737
- selection: [1, 1]
738
- };
739
- }
740
- }
741
- }
742
- });
743
-
744
- this.add("parens", "deletion", function (state, action, editor, session, range) {
745
- var selected = session.doc.getTextRange(range);
746
- if (!range.isMultiLine() && selected == '(') {
747
- var line = session.doc.getLine(range.start.row);
748
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
749
- if (rightChar == ')') {
750
- range.end.column++;
751
- return range;
752
- }
753
- }
754
- });
755
-
756
- this.add("brackets", "insertion", function (state, action, editor, session, text) {
757
- if (text == '[') {
758
- var selection = editor.getSelectionRange();
759
- var selected = session.doc.getTextRange(selection);
760
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
761
- return {
762
- text: '[' + selected + ']',
763
- selection: false
764
- };
765
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
766
- CstyleBehaviour.recordAutoInsert(editor, session, "]");
767
- return {
768
- text: '[]',
769
- selection: [1, 1]
770
- };
771
- }
772
- } else if (text == ']') {
773
- var cursor = editor.getCursorPosition();
774
- var line = session.doc.getLine(cursor.row);
775
- var rightChar = line.substring(cursor.column, cursor.column + 1);
776
- if (rightChar == ']') {
777
- var matching = session.$findOpeningBracket(']', {column: cursor.column + 1, row: cursor.row});
778
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
779
- CstyleBehaviour.popAutoInsertedClosing();
780
- return {
781
- text: '',
782
- selection: [1, 1]
783
- };
784
- }
785
- }
786
- }
787
- });
788
-
789
- this.add("brackets", "deletion", function (state, action, editor, session, range) {
790
- var selected = session.doc.getTextRange(range);
791
- if (!range.isMultiLine() && selected == '[') {
792
- var line = session.doc.getLine(range.start.row);
793
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
794
- if (rightChar == ']') {
795
- range.end.column++;
796
- return range;
797
- }
798
- }
799
- });
800
-
801
- this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
802
- if (text == '"' || text == "'") {
803
- var quote = text;
804
- var selection = editor.getSelectionRange();
805
- var selected = session.doc.getTextRange(selection);
806
- if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
807
- return {
808
- text: quote + selected + quote,
809
- selection: false
810
- };
811
- } else {
812
- var cursor = editor.getCursorPosition();
813
- var line = session.doc.getLine(cursor.row);
814
- var leftChar = line.substring(cursor.column-1, cursor.column);
815
- if (leftChar == '\\') {
816
- return null;
817
- }
818
- var tokens = session.getTokens(selection.start.row);
819
- var col = 0, token;
820
- var quotepos = -1; // Track whether we're inside an open quote.
821
-
822
- for (var x = 0; x < tokens.length; x++) {
823
- token = tokens[x];
824
- if (token.type == "string") {
825
- quotepos = -1;
826
- } else if (quotepos < 0) {
827
- quotepos = token.value.indexOf(quote);
828
- }
829
- if ((token.value.length + col) > selection.start.column) {
830
- break;
831
- }
832
- col += tokens[x].value.length;
833
- }
834
- if (!token || (quotepos < 0 && token.type !== "comment" && (token.type !== "string" || ((selection.start.column !== token.value.length+col-1) && token.value.lastIndexOf(quote) === token.value.length-1)))) {
835
- if (!CstyleBehaviour.isSaneInsertion(editor, session))
836
- return;
837
- return {
838
- text: quote + quote,
839
- selection: [1,1]
840
- };
841
- } else if (token && token.type === "string") {
842
- var rightChar = line.substring(cursor.column, cursor.column + 1);
843
- if (rightChar == quote) {
844
- return {
845
- text: '',
846
- selection: [1, 1]
847
- };
848
- }
849
- }
850
- }
851
- }
852
- });
853
-
854
- this.add("string_dquotes", "deletion", function (state, action, editor, session, range) {
855
- var selected = session.doc.getTextRange(range);
856
- if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
857
- var line = session.doc.getLine(range.start.row);
858
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
859
- if (rightChar == '"') {
860
- range.end.column++;
861
- return range;
862
- }
863
- }
864
- });
865
-
866
- };
867
-
868
- oop.inherits(CstyleBehaviour, Behaviour);
869
-
870
- exports.CstyleBehaviour = CstyleBehaviour;
871
- });
872
-
873
- define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
874
-
875
-
876
- var oop = require("../../lib/oop");
877
- var Range = require("../../range").Range;
878
- var BaseFoldMode = require("./fold_mode").FoldMode;
879
-
880
- var FoldMode = exports.FoldMode = function() {};
881
- oop.inherits(FoldMode, BaseFoldMode);
882
-
883
- (function() {
884
-
885
- this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
886
- this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
887
-
888
- this.getFoldWidgetRange = function(session, foldStyle, row) {
889
- var line = session.getLine(row);
890
- var match = line.match(this.foldingStartMarker);
891
- if (match) {
892
- var i = match.index;
893
-
894
- if (match[1])
895
- return this.openingBracketBlock(session, match[1], row, i);
896
-
897
- return session.getCommentFoldRange(row, i + match[0].length, 1);
898
- }
899
-
900
- if (foldStyle !== "markbeginend")
901
- return;
902
-
903
- var match = line.match(this.foldingStopMarker);
904
- if (match) {
905
- var i = match.index + match[0].length;
906
-
907
- if (match[1])
908
- return this.closingBracketBlock(session, match[1], row, i);
909
-
910
- return session.getCommentFoldRange(row, i, -1);
911
- }
912
- };
913
-
914
- }).call(FoldMode.prototype);
915
-
916
- });
917
- define('ace/mode/groovy_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/doc_comment_highlight_rules', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
918
-
919
-
920
- var oop = require("../lib/oop");
921
- var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
922
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
923
-
924
- var GroovyHighlightRules = function() {
925
-
926
- var keywords = (
927
- "assert|with|abstract|continue|for|new|switch|" +
928
- "assert|default|goto|package|synchronized|" +
929
- "boolean|do|if|private|this|" +
930
- "break|double|implements|protected|throw|" +
931
- "byte|else|import|public|throws|" +
932
- "case|enum|instanceof|return|transient|" +
933
- "catch|extends|int|short|try|" +
934
- "char|final|interface|static|void|" +
935
- "class|finally|long|strictfp|volatile|" +
936
- "def|float|native|super|while"
937
- );
938
-
939
- var buildinConstants = (
940
- "null|Infinity|NaN|undefined"
941
- );
942
-
943
- var langClasses = (
944
- "AbstractMethodError|AssertionError|ClassCircularityError|"+
945
- "ClassFormatError|Deprecated|EnumConstantNotPresentException|"+
946
- "ExceptionInInitializerError|IllegalAccessError|"+
947
- "IllegalThreadStateException|InstantiationError|InternalError|"+
948
- "NegativeArraySizeException|NoSuchFieldError|Override|Process|"+
949
- "ProcessBuilder|SecurityManager|StringIndexOutOfBoundsException|"+
950
- "SuppressWarnings|TypeNotPresentException|UnknownError|"+
951
- "UnsatisfiedLinkError|UnsupportedClassVersionError|VerifyError|"+
952
- "InstantiationException|IndexOutOfBoundsException|"+
953
- "ArrayIndexOutOfBoundsException|CloneNotSupportedException|"+
954
- "NoSuchFieldException|IllegalArgumentException|NumberFormatException|"+
955
- "SecurityException|Void|InheritableThreadLocal|IllegalStateException|"+
956
- "InterruptedException|NoSuchMethodException|IllegalAccessException|"+
957
- "UnsupportedOperationException|Enum|StrictMath|Package|Compiler|"+
958
- "Readable|Runtime|StringBuilder|Math|IncompatibleClassChangeError|"+
959
- "NoSuchMethodError|ThreadLocal|RuntimePermission|ArithmeticException|"+
960
- "NullPointerException|Long|Integer|Short|Byte|Double|Number|Float|"+
961
- "Character|Boolean|StackTraceElement|Appendable|StringBuffer|"+
962
- "Iterable|ThreadGroup|Runnable|Thread|IllegalMonitorStateException|"+
963
- "StackOverflowError|OutOfMemoryError|VirtualMachineError|"+
964
- "ArrayStoreException|ClassCastException|LinkageError|"+
965
- "NoClassDefFoundError|ClassNotFoundException|RuntimeException|"+
966
- "Exception|ThreadDeath|Error|Throwable|System|ClassLoader|"+
967
- "Cloneable|Class|CharSequence|Comparable|String|Object"
968
- );
969
-
970
- var keywordMapper = this.createKeywordMapper({
971
- "variable.language": "this",
972
- "keyword": keywords,
973
- "support.function": langClasses,
974
- "constant.language": buildinConstants
975
- }, "identifier");
976
-
977
- this.$rules = {
978
- "start" : [
979
- {
980
- token : "comment",
981
- regex : "\\/\\/.*$"
982
- },
983
- DocCommentHighlightRules.getStartRule("doc-start"),
984
- {
985
- token : "comment", // multi line comment
986
- regex : "\\/\\*",
987
- next : "comment"
988
- }, {
989
- token : "string.regexp",
990
- regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
991
- }, {
992
- token : "string",
993
- regex : '"""',
994
- next : "qqstring"
995
- }, {
996
- token : "string",
997
- regex : "'''",
998
- next : "qstring"
999
- }, {
1000
- token : "string", // single line
1001
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
1002
- }, {
1003
- token : "string", // single line
1004
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
1005
- }, {
1006
- token : "constant.numeric", // hex
1007
- regex : "0[xX][0-9a-fA-F]+\\b"
1008
- }, {
1009
- token : "constant.numeric", // float
1010
- regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
1011
- }, {
1012
- token : "constant.language.boolean",
1013
- regex : "(?:true|false)\\b"
1014
- }, {
1015
- token : keywordMapper,
1016
- regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
1017
- }, {
1018
- token : "keyword.operator",
1019
- regex : "\\?:|\\?\\.|\\*\\.|<=>|=~|==~|\\.@|\\*\\.@|\\.&|as|in|is|!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
1020
- }, {
1021
- token : "lparen",
1022
- regex : "[[({]"
1023
- }, {
1024
- token : "rparen",
1025
- regex : "[\\])}]"
1026
- }, {
1027
- token : "text",
1028
- regex : "\\s+"
1029
- }
1030
- ],
1031
- "comment" : [
1032
- {
1033
- token : "comment", // closing comment
1034
- regex : ".*?\\*\\/",
1035
- next : "start"
1036
- }, {
1037
- token : "comment", // comment spanning whole line
1038
- regex : ".+"
1039
- }
1040
- ],
1041
- "qqstring" : [
1042
- {
1043
- token : "constant.language.escape",
1044
- regex : /\\(?:u[0-9A-Fa-f]{4}|.|$)/
1045
- }, {
1046
- token : "constant.language.escape",
1047
- regex : /\$[\w\d]+/
1048
- }, {
1049
- token : "constant.language.escape",
1050
- regex : /\$\{[^"\}]+\}?/
1051
- }, {
1052
- token : "string",
1053
- regex : '"{3,5}',
1054
- next : "start"
1055
- }, {
1056
- token : "string",
1057
- regex : '.+?'
1058
- }
1059
- ],
1060
- "qstring" : [
1061
- {
1062
- token : "constant.language.escape",
1063
- regex : /\\(?:u[0-9A-Fa-f]{4}|.|$)/
1064
- }, {
1065
- token : "string",
1066
- regex : "'{3,5}",
1067
- next : "start"
1068
- }, {
1069
- token : "string",
1070
- regex : ".+?"
1071
- }
1072
- ]
1073
- };
1074
-
1075
- this.embedRules(DocCommentHighlightRules, "doc-",
1076
- [ DocCommentHighlightRules.getEndRule("start") ]);
1077
- };
1078
-
1079
- oop.inherits(GroovyHighlightRules, TextHighlightRules);
1080
-
1081
- exports.GroovyHighlightRules = GroovyHighlightRules;
1082
- });