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,1371 +0,0 @@
1
- /* ***** BEGIN LICENSE BLOCK *****
2
- * Distributed under the BSD license:
3
- *
4
- * Copyright (c) 2010, Ajax.org B.V.
5
- * All rights reserved.
6
- *
7
- * Redistribution and use in source and binary forms, with or without
8
- * modification, are permitted provided that the following conditions are met:
9
- * * Redistributions of source code must retain the above copyright
10
- * notice, this list of conditions and the following disclaimer.
11
- * * Redistributions in binary form must reproduce the above copyright
12
- * notice, this list of conditions and the following disclaimer in the
13
- * documentation and/or other materials provided with the distribution.
14
- * * Neither the name of Ajax.org B.V. nor the
15
- * names of its contributors may be used to endorse or promote products
16
- * derived from this software without specific prior written permission.
17
- *
18
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
- *
29
- * ***** END LICENSE BLOCK ***** */
30
-
31
- define('ace/mode/jsp', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/jsp_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
32
-
33
-
34
- var oop = require("../lib/oop");
35
- var TextMode = require("./text").Mode;
36
- var Tokenizer = require("../tokenizer").Tokenizer;
37
- var JspHighlightRules = require("./jsp_highlight_rules").JspHighlightRules;
38
- var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
39
- var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
40
- var CStyleFoldMode = require("./folding/cstyle").FoldMode;
41
-
42
- var Mode = function() {
43
- var highlighter = new JspHighlightRules();
44
- this.$tokenizer = new Tokenizer(highlighter.getRules());
45
- this.$outdent = new MatchingBraceOutdent();
46
- this.$behaviour = new CstyleBehaviour();
47
- this.foldingRules = new CStyleFoldMode();
48
- };
49
- oop.inherits(Mode, TextMode);
50
-
51
- (function() {
52
-
53
- }).call(Mode.prototype);
54
-
55
- exports.Mode = Mode;
56
- });
57
-
58
- define('ace/mode/jsp_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/html_highlight_rules', 'ace/mode/java_highlight_rules'], function(require, exports, module) {
59
-
60
-
61
- var oop = require("../lib/oop");
62
- var HtmlHighlightRules = require("./html_highlight_rules").HtmlHighlightRules;
63
- var JavaHighlightRules = require("./java_highlight_rules").JavaHighlightRules;
64
-
65
- var JspHighlightRules = function() {
66
- HtmlHighlightRules.call(this);
67
- for (var i in this.$rules) {
68
- this.$rules[i].unshift({
69
- token : "meta.tag", // jsp open tag
70
- regex : "<%@?|<%=?|<jsp:[^>]+>",
71
- next : "jsp-start"
72
- });
73
- }
74
-
75
- var builtinVariables = 'request|response|out|session|' +
76
- 'application|config|pageContext|page|Exception';
77
-
78
- var keywords = 'page|include|taglib';
79
-
80
- this.embedRules(JavaHighlightRules, "jsp-");
81
-
82
- this.$rules["start"].unshift({
83
- token : "comment",
84
- regex : "<%--",
85
- next : "comment"
86
- });
87
-
88
- this.$rules["jsp-start"].unshift({
89
- token : "meta.tag", // jsp close tag
90
- regex : "%>|<\\/jsp:[^>]+>",
91
- next : "start"
92
- },
93
- {
94
- token: "variable.language",
95
- regex : builtinVariables
96
- }, {
97
- token: "keyword",
98
- regex : keywords
99
- });
100
-
101
- this.$rules.comment.unshift({
102
- token : "comment",
103
- regex : ".*?--%>",
104
- next : "start"
105
- });
106
- };
107
-
108
- oop.inherits(JspHighlightRules, HtmlHighlightRules);
109
-
110
- exports.JspHighlightRules = JspHighlightRules;
111
- });
112
-
113
- define('ace/mode/html_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/css_highlight_rules', 'ace/mode/javascript_highlight_rules', 'ace/mode/xml_util', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
114
-
115
-
116
- var oop = require("../lib/oop");
117
- var lang = require("../lib/lang");
118
- var CssHighlightRules = require("./css_highlight_rules").CssHighlightRules;
119
- var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules;
120
- var xmlUtil = require("./xml_util");
121
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
122
-
123
- var tagMap = lang.createMap({
124
- a : 'anchor',
125
- button : 'form',
126
- form : 'form',
127
- img : 'image',
128
- input : 'form',
129
- label : 'form',
130
- script : 'script',
131
- select : 'form',
132
- textarea : 'form',
133
- style : 'style',
134
- table : 'table',
135
- tbody : 'table',
136
- td : 'table',
137
- tfoot : 'table',
138
- th : 'table',
139
- tr : 'table'
140
- });
141
-
142
- var HtmlHighlightRules = function() {
143
- this.$rules = {
144
- start : [{
145
- token : "text",
146
- regex : "<\\!\\[CDATA\\[",
147
- next : "cdata"
148
- }, {
149
- token : "xml-pe",
150
- regex : "<\\?.*?\\?>"
151
- }, {
152
- token : "comment",
153
- regex : "<\\!--",
154
- next : "comment"
155
- }, {
156
- token : "xml-pe",
157
- regex : "<\\!.*?>"
158
- }, {
159
- token : "meta.tag",
160
- regex : "<(?=script\\b)",
161
- next : "script"
162
- }, {
163
- token : "meta.tag",
164
- regex : "<(?=style\\b)",
165
- next : "style"
166
- }, {
167
- token : "meta.tag", // opening tag
168
- regex : "<\\/?",
169
- next : "tag"
170
- }, {
171
- token : "text",
172
- regex : "\\s+"
173
- }, {
174
- token : "constant.character.entity",
175
- regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
176
- }, {
177
- token : "text",
178
- regex : "[^<]+"
179
- } ],
180
-
181
- cdata : [ {
182
- token : "text",
183
- regex : "\\]\\]>",
184
- next : "start"
185
- }, {
186
- token : "text",
187
- regex : "\\s+"
188
- }, {
189
- token : "text",
190
- regex : ".+"
191
- } ],
192
-
193
- comment : [ {
194
- token : "comment",
195
- regex : ".*?-->",
196
- next : "start"
197
- }, {
198
- token : "comment",
199
- regex : ".+"
200
- } ]
201
- };
202
-
203
- xmlUtil.tag(this.$rules, "tag", "start", tagMap);
204
- xmlUtil.tag(this.$rules, "style", "css-start", tagMap);
205
- xmlUtil.tag(this.$rules, "script", "js-start", tagMap);
206
-
207
- this.embedRules(JavaScriptHighlightRules, "js-", [{
208
- token: "comment",
209
- regex: "\\/\\/.*(?=<\\/script>)",
210
- next: "tag"
211
- }, {
212
- token: "meta.tag",
213
- regex: "<\\/(?=script)",
214
- next: "tag"
215
- }]);
216
-
217
- this.embedRules(CssHighlightRules, "css-", [{
218
- token: "meta.tag",
219
- regex: "<\\/(?=style)",
220
- next: "tag"
221
- }]);
222
- };
223
-
224
- oop.inherits(HtmlHighlightRules, TextHighlightRules);
225
-
226
- exports.HtmlHighlightRules = HtmlHighlightRules;
227
- });
228
-
229
- define('ace/mode/css_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
230
-
231
-
232
- var oop = require("../lib/oop");
233
- var lang = require("../lib/lang");
234
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
235
- var supportType = exports.supportType = "animation-fill-mode|alignment-adjust|alignment-baseline|animation-delay|animation-direction|animation-duration|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|animation|appearance|azimuth|backface-visibility|background-attachment|background-break|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|background|baseline-shift|binding|bleed|bookmark-label|bookmark-level|bookmark-state|bookmark-target|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|border|bottom|box-align|box-decoration-break|box-direction|box-flex-group|box-flex|box-lines|box-ordinal-group|box-orient|box-pack|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|clear|clip|color-profile|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|crop|cue-after|cue-before|cue|cursor|direction|display|dominant-baseline|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|elevation|empty-cells|fit|fit-position|float-offset|float|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|font|grid-columns|grid-rows|hanging-punctuation|height|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|hyphens|icon|image-orientation|image-rendering|image-resolution|inline-box-align|left|letter-spacing|line-height|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|line-stacking|list-style-image|list-style-position|list-style-type|list-style|margin-bottom|margin-left|margin-right|margin-top|margin|mark-after|mark-before|mark|marks|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max-height|max-width|min-height|min-width|move-to|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|orphans|outline-color|outline-offset|outline-style|outline-width|outline|overflow-style|overflow-x|overflow-y|overflow|padding-bottom|padding-left|padding-right|padding-top|padding|page-break-after|page-break-before|page-break-inside|page-policy|page|pause-after|pause-before|pause|perspective-origin|perspective|phonemes|pitch-range|pitch|play-during|position|presentation-level|punctuation-trim|quotes|rendering-intent|resize|rest-after|rest-before|rest|richness|right|rotation-point|rotation|ruby-align|ruby-overhang|ruby-position|ruby-span|size|speak-header|speak-numeral|speak-punctuation|speak|speech-rate|stress|string-set|table-layout|target-name|target-new|target-position|target|text-align-last|text-align|text-decoration|text-emphasis|text-height|text-indent|text-justify|text-outline|text-shadow|text-transform|text-wrap|top|transform-origin|transform-style|transform|transition-delay|transition-duration|transition-property|transition-timing-function|transition|unicode-bidi|vertical-align|visibility|voice-balance|voice-duration|voice-family|voice-pitch-range|voice-pitch|voice-rate|voice-stress|voice-volume|volume|white-space-collapse|white-space|widows|width|word-break|word-spacing|word-wrap|z-index";
236
- var supportFunction = exports.supportFunction = "rgb|rgba|url|attr|counter|counters";
237
- var supportConstant = exports.supportConstant = "absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|local|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|mathematical|max-height|max-size|medium|menu|message-box|middle|move|n-resize|ne-resize|newspaper|no-change|no-close-quote|no-drop|no-open-quote|no-repeat|none|normal|not-allowed|nowrap|nw-resize|oblique|open-quote|outset|outside|overline|padding-box|page|pointer|pre-line|pre-wrap|pre|preserve-3d|progress|relative|repeat-x|repeat-y|repeat|replaced|reset-size|ridge|right|round|row-resize|rtl|s-resize|scroll|se-resize|separate|slice|small-caps|small-caption|solid|space|square|start|static|status-bar|step-end|step-start|steps|stretch|strict|sub|super|sw-resize|table-caption|table-cell|table-column-group|table-column|table-footer-group|table-header-group|table-row-group|table-row|table|tb-rl|text-after-edge|text-before-edge|text-bottom|text-size|text-top|text|thick|thin|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|use-script|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|z-index|zero";
238
- var supportConstantColor = exports.supportConstantColor = "aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow";
239
- var supportConstantFonts = exports.supportConstantFonts = "arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace";
240
-
241
- var numRe = exports.numRe = "\\-?(?:(?:[0-9]+)|(?:[0-9]*\\.[0-9]+))";
242
- var pseudoElements = exports.pseudoElements = "(\\:+)\\b(after|before|first-letter|first-line|moz-selection|selection)\\b";
243
- var pseudoClasses = exports.pseudoClasses = "(:)\\b(active|checked|disabled|empty|enabled|first-child|first-of-type|focus|hover|indeterminate|invalid|last-child|last-of-type|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|required|root|target|valid|visited)\\b";
244
-
245
- var CssHighlightRules = function() {
246
-
247
- var keywordMapper = this.createKeywordMapper({
248
- "support.function": supportFunction,
249
- "support.constant": supportConstant,
250
- "support.type": supportType,
251
- "support.constant.color": supportConstantColor,
252
- "support.constant.fonts": supportConstantFonts
253
- }, "text", true);
254
-
255
- var base_ruleset = [
256
- {
257
- token : "comment", // multi line comment
258
- regex : "\\/\\*",
259
- next : "ruleset_comment"
260
- }, {
261
- token : "string", // single line
262
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
263
- }, {
264
- token : "string", // single line
265
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
266
- }, {
267
- token : ["constant.numeric", "keyword"],
268
- regex : "(" + numRe + ")(ch|cm|deg|em|ex|fr|gd|grad|Hz|in|kHz|mm|ms|pc|pt|px|rad|rem|s|turn|vh|vm|vw|%)"
269
- }, {
270
- token : "constant.numeric",
271
- regex : numRe
272
- }, {
273
- token : "constant.numeric", // hex6 color
274
- regex : "#[a-f0-9]{6}"
275
- }, {
276
- token : "constant.numeric", // hex3 color
277
- regex : "#[a-f0-9]{3}"
278
- }, {
279
- token : ["punctuation", "entity.other.attribute-name.pseudo-element.css"],
280
- regex : pseudoElements
281
- }, {
282
- token : ["punctuation", "entity.other.attribute-name.pseudo-class.css"],
283
- regex : pseudoClasses
284
- }, {
285
- token : keywordMapper,
286
- regex : "\\-?[a-zA-Z_][a-zA-Z0-9_\\-]*"
287
- }
288
- ];
289
-
290
- var ruleset = lang.copyArray(base_ruleset);
291
- ruleset.unshift({
292
- token : "paren.rparen",
293
- regex : "\\}",
294
- next: "start"
295
- });
296
-
297
- var media_ruleset = lang.copyArray( base_ruleset );
298
- media_ruleset.unshift({
299
- token : "paren.rparen",
300
- regex : "\\}",
301
- next: "media"
302
- });
303
-
304
- var base_comment = [{
305
- token : "comment", // comment spanning whole line
306
- regex : ".+"
307
- }];
308
-
309
- var comment = lang.copyArray(base_comment);
310
- comment.unshift({
311
- token : "comment", // closing comment
312
- regex : ".*?\\*\\/",
313
- next : "start"
314
- });
315
-
316
- var media_comment = lang.copyArray(base_comment);
317
- media_comment.unshift({
318
- token : "comment", // closing comment
319
- regex : ".*?\\*\\/",
320
- next : "media"
321
- });
322
-
323
- var ruleset_comment = lang.copyArray(base_comment);
324
- ruleset_comment.unshift({
325
- token : "comment", // closing comment
326
- regex : ".*?\\*\\/",
327
- next : "ruleset"
328
- });
329
-
330
- this.$rules = {
331
- "start" : [{
332
- token : "comment", // multi line comment
333
- regex : "\\/\\*",
334
- next : "comment"
335
- }, {
336
- token: "paren.lparen",
337
- regex: "\\{",
338
- next: "ruleset"
339
- }, {
340
- token: "string",
341
- regex: "@.*?{",
342
- next: "media"
343
- },{
344
- token: "keyword",
345
- regex: "#[a-z0-9-_]+"
346
- },{
347
- token: "variable",
348
- regex: "\\.[a-z0-9-_]+"
349
- },{
350
- token: "string",
351
- regex: ":[a-z0-9-_]+"
352
- },{
353
- token: "constant",
354
- regex: "[a-z0-9-_]+"
355
- }],
356
-
357
- "media" : [ {
358
- token : "comment", // multi line comment
359
- regex : "\\/\\*",
360
- next : "media_comment"
361
- }, {
362
- token: "paren.lparen",
363
- regex: "\\{",
364
- next: "media_ruleset"
365
- },{
366
- token: "string",
367
- regex: "\\}",
368
- next: "start"
369
- },{
370
- token: "keyword",
371
- regex: "#[a-z0-9-_]+"
372
- },{
373
- token: "variable",
374
- regex: "\\.[a-z0-9-_]+"
375
- },{
376
- token: "string",
377
- regex: ":[a-z0-9-_]+"
378
- },{
379
- token: "constant",
380
- regex: "[a-z0-9-_]+"
381
- }],
382
-
383
- "comment" : comment,
384
-
385
- "ruleset" : ruleset,
386
- "ruleset_comment" : ruleset_comment,
387
-
388
- "media_ruleset" : media_ruleset,
389
- "media_comment" : media_comment
390
- };
391
- };
392
-
393
- oop.inherits(CssHighlightRules, TextHighlightRules);
394
-
395
- exports.CssHighlightRules = CssHighlightRules;
396
-
397
- });
398
-
399
- 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) {
400
-
401
-
402
- var oop = require("../lib/oop");
403
- var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
404
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
405
-
406
- var JavaScriptHighlightRules = function() {
407
- var keywordMapper = this.createKeywordMapper({
408
- "variable.language":
409
- "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|" + // Constructors
410
- "Namespace|QName|XML|XMLList|" + // E4X
411
- "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" +
412
- "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" +
413
- "Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors
414
- "SyntaxError|TypeError|URIError|" +
415
- "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions
416
- "isNaN|parseFloat|parseInt|" +
417
- "JSON|Math|" + // Other
418
- "this|arguments|prototype|window|document" , // Pseudo
419
- "keyword":
420
- "const|yield|import|get|set|" +
421
- "break|case|catch|continue|default|delete|do|else|finally|for|function|" +
422
- "if|in|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" +
423
- "__parent__|__count__|escape|unescape|with|__proto__|" +
424
- "class|enum|extends|super|export|implements|private|public|interface|package|protected|static",
425
- "storage.type":
426
- "const|let|var|function",
427
- "constant.language":
428
- "null|Infinity|NaN|undefined",
429
- "support.function":
430
- "alert"
431
- }, "identifier");
432
- var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void";
433
- var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*\\b";
434
-
435
- var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex
436
- "u[0-9a-fA-F]{4}|" + // unicode
437
- "[0-2][0-7]{0,2}|" + // oct
438
- "3[0-6][0-7]?|" + // oct
439
- "37[0-7]?|" + // oct
440
- "[4-7][0-7]?|" + //oct
441
- ".)";
442
-
443
- this.$rules = {
444
- "start" : [
445
- {
446
- token : "comment",
447
- regex : /\/\/.*$/
448
- },
449
- DocCommentHighlightRules.getStartRule("doc-start"),
450
- {
451
- token : "comment", // multi line comment
452
- regex : /\/\*/,
453
- next : "comment"
454
- }, {
455
- token : "string",
456
- regex : "'(?=.)",
457
- next : "qstring"
458
- }, {
459
- token : "string",
460
- regex : '"(?=.)',
461
- next : "qqstring"
462
- }, {
463
- token : "constant.numeric", // hex
464
- regex : /0[xX][0-9a-fA-F]+\b/
465
- }, {
466
- token : "constant.numeric", // float
467
- regex : /[+-]?\d+(?:(?:\.\d*)?(?:[eE][+-]?\d+)?)?\b/
468
- }, {
469
- token : [
470
- "storage.type", "punctuation.operator", "support.function",
471
- "punctuation.operator", "entity.name.function", "text","keyword.operator"
472
- ],
473
- regex : "(" + identifierRe + ")(\\.)(prototype)(\\.)(" + identifierRe +")(\\s*)(=)",
474
- next: "function_arguments"
475
- }, {
476
- token : [
477
- "storage.type", "punctuation.operator", "entity.name.function", "text",
478
- "keyword.operator", "text", "storage.type", "text", "paren.lparen"
479
- ],
480
- regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
481
- next: "function_arguments"
482
- }, {
483
- token : [
484
- "entity.name.function", "text", "keyword.operator", "text", "storage.type",
485
- "text", "paren.lparen"
486
- ],
487
- regex : "(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s*)(\\()",
488
- next: "function_arguments"
489
- }, {
490
- token : [
491
- "storage.type", "punctuation.operator", "entity.name.function", "text",
492
- "keyword.operator", "text",
493
- "storage.type", "text", "entity.name.function", "text", "paren.lparen"
494
- ],
495
- regex : "(" + identifierRe + ")(\\.)(" + identifierRe +")(\\s*)(=)(\\s*)(function)(\\s+)(\\w+)(\\s*)(\\()",
496
- next: "function_arguments"
497
- }, {
498
- token : [
499
- "storage.type", "text", "entity.name.function", "text", "paren.lparen"
500
- ],
501
- regex : "(function)(\\s+)(" + identifierRe + ")(\\s*)(\\()",
502
- next: "function_arguments"
503
- }, {
504
- token : [
505
- "entity.name.function", "text", "punctuation.operator",
506
- "text", "storage.type", "text", "paren.lparen"
507
- ],
508
- regex : "(" + identifierRe + ")(\\s*)(:)(\\s*)(function)(\\s*)(\\()",
509
- next: "function_arguments"
510
- }, {
511
- token : [
512
- "text", "text", "storage.type", "text", "paren.lparen"
513
- ],
514
- regex : "(:)(\\s*)(function)(\\s*)(\\()",
515
- next: "function_arguments"
516
- }, {
517
- token : "constant.language.boolean",
518
- regex : /(?:true|false)\b/
519
- }, {
520
- token : "keyword",
521
- regex : "(?:" + kwBeforeRe + ")\\b",
522
- next : "regex_allowed"
523
- }, {
524
- token : ["punctuation.operator", "support.function"],
525
- 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(?=\()/
526
- }, {
527
- token : ["punctuation.operator", "support.function.dom"],
528
- 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(?=\()/
529
- }, {
530
- token : ["punctuation.operator", "support.constant"],
531
- 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/
532
- }, {
533
- token : ["storage.type", "punctuation.operator", "support.function.firebug"],
534
- regex : /(console)(\.)(warn|info|log|error|time|timeEnd|assert)\b/
535
- }, {
536
- token : keywordMapper,
537
- regex : identifierRe
538
- }, {
539
- token : "keyword.operator",
540
- regex : /--|\+\+|[!$%&*+\-~]|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|\*=|%=|\+=|\-=|&=|\^=/,
541
- next : "regex_allowed"
542
- }, {
543
- token : "punctuation.operator",
544
- regex : /\?|\:|\,|\;|\./,
545
- next : "regex_allowed"
546
- }, {
547
- token : "paren.lparen",
548
- regex : /[\[({]/,
549
- next : "regex_allowed"
550
- }, {
551
- token : "paren.rparen",
552
- regex : /[\])}]/
553
- }, {
554
- token : "keyword.operator",
555
- regex : /\/=?/,
556
- next : "regex_allowed"
557
- }, {
558
- token: "comment",
559
- regex: /^#!.*$/
560
- }, {
561
- token : "text",
562
- regex : /\s+/
563
- }
564
- ],
565
- "regex_allowed": [
566
- DocCommentHighlightRules.getStartRule("doc-start"),
567
- {
568
- token : "comment", // multi line comment
569
- regex : "\\/\\*",
570
- next : "comment_regex_allowed"
571
- }, {
572
- token : "comment",
573
- regex : "\\/\\/.*$"
574
- }, {
575
- token: "string.regexp",
576
- regex: "\\/",
577
- next: "regex",
578
- }, {
579
- token : "text",
580
- regex : "\\s+"
581
- }, {
582
- token: "empty",
583
- regex: "",
584
- next: "start"
585
- }
586
- ],
587
- "regex": [
588
- {
589
- token: "regexp.keyword.operator",
590
- regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
591
- }, {
592
- token: "string.regexp",
593
- regex: "/\\w*",
594
- next: "start",
595
- }, {
596
- token : "invalid",
597
- regex: /\{\d+,?(?:\d+)?}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/
598
- }, {
599
- token : "constant.language.escape",
600
- regex: /\(\?[:=!]|\)|{\d+,?(?:\d+)?}|{,\d+}|[+*]\?|[(|)$^+*?]/
601
- }, {
602
- token: "string.regexp",
603
- regex: /{|[^{\[\/\\(|)$^+*?]+/,
604
- }, {
605
- token: "constant.language.escape",
606
- regex: /\[\^?/,
607
- next: "regex_character_class",
608
- }, {
609
- token: "empty",
610
- regex: "",
611
- next: "start"
612
- }
613
- ],
614
- "regex_character_class": [
615
- {
616
- token: "regexp.keyword.operator",
617
- regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"
618
- }, {
619
- token: "constant.language.escape",
620
- regex: "]",
621
- next: "regex",
622
- }, {
623
- token: "constant.language.escape",
624
- regex: "-"
625
- }, {
626
- token: "string.regexp.charachterclass",
627
- regex: /[^\]\-\\]+/,
628
- }, {
629
- token: "empty",
630
- regex: "",
631
- next: "start"
632
- }
633
- ],
634
- "function_arguments": [
635
- {
636
- token: "variable.parameter",
637
- regex: identifierRe
638
- }, {
639
- token: "punctuation.operator",
640
- regex: "[, ]+",
641
- }, {
642
- token: "punctuation.operator",
643
- regex: "$",
644
- }, {
645
- token: "empty",
646
- regex: "",
647
- next: "start"
648
- }
649
- ],
650
- "comment_regex_allowed" : [
651
- {
652
- token : "comment", // closing comment
653
- regex : ".*?\\*\\/",
654
- next : "regex_allowed"
655
- }, {
656
- token : "comment", // comment spanning whole line
657
- regex : ".+"
658
- }
659
- ],
660
- "comment" : [
661
- {
662
- token : "comment", // closing comment
663
- regex : ".*?\\*\\/",
664
- next : "start"
665
- }, {
666
- token : "comment", // comment spanning whole line
667
- regex : ".+"
668
- }
669
- ],
670
- "qqstring" : [
671
- {
672
- token : "constant.language.escape",
673
- regex : escapedRe
674
- }, {
675
- token : "string",
676
- regex : "\\\\$",
677
- next : "qqstring",
678
- }, {
679
- token : "string",
680
- regex : '"|$',
681
- next : "start",
682
- }, {
683
- token : "string",
684
- regex : '.|\\w+|\\s+',
685
- }
686
- ],
687
- "qstring" : [
688
- {
689
- token : "constant.language.escape",
690
- regex : escapedRe
691
- }, {
692
- token : "string",
693
- regex : "\\\\$",
694
- next : "qstring",
695
- }, {
696
- token : "string",
697
- regex : "'|$",
698
- next : "start",
699
- }, {
700
- token : "string",
701
- regex : '.|\\w+|\\s+',
702
- }
703
- ]
704
- };
705
-
706
- this.embedRules(DocCommentHighlightRules, "doc-",
707
- [ DocCommentHighlightRules.getEndRule("start") ]);
708
- };
709
-
710
- oop.inherits(JavaScriptHighlightRules, TextHighlightRules);
711
-
712
- exports.JavaScriptHighlightRules = JavaScriptHighlightRules;
713
- });
714
-
715
- define('ace/mode/doc_comment_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
716
-
717
-
718
- var oop = require("../lib/oop");
719
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
720
-
721
- var DocCommentHighlightRules = function() {
722
-
723
- this.$rules = {
724
- "start" : [ {
725
- token : "comment.doc.tag",
726
- regex : "@[\\w\\d_]+" // TODO: fix email addresses
727
- }, {
728
- token : "comment.doc",
729
- regex : "\\s+"
730
- }, {
731
- token : "comment.doc",
732
- regex : "TODO"
733
- }, {
734
- token : "comment.doc",
735
- regex : "[^@\\*]+"
736
- }, {
737
- token : "comment.doc",
738
- regex : "."
739
- }]
740
- };
741
- };
742
-
743
- oop.inherits(DocCommentHighlightRules, TextHighlightRules);
744
-
745
- DocCommentHighlightRules.getStartRule = function(start) {
746
- return {
747
- token : "comment.doc", // doc comment
748
- regex : "\\/\\*(?=\\*)",
749
- next : start
750
- };
751
- };
752
-
753
- DocCommentHighlightRules.getEndRule = function (start) {
754
- return {
755
- token : "comment.doc", // closing comment
756
- regex : "\\*\\/",
757
- next : start
758
- };
759
- };
760
-
761
-
762
- exports.DocCommentHighlightRules = DocCommentHighlightRules;
763
-
764
- });
765
-
766
- define('ace/mode/xml_util', ['require', 'exports', 'module' ], function(require, exports, module) {
767
-
768
-
769
- function string(state) {
770
- return [{
771
- token : "string",
772
- regex : '"',
773
- next : state + "_qqstring"
774
- }, {
775
- token : "string",
776
- regex : "'",
777
- next : state + "_qstring"
778
- }];
779
- }
780
-
781
- function multiLineString(quote, state) {
782
- return [
783
- {token : "string", regex : quote, next : state},
784
- {
785
- token : "constant.language.escape",
786
- regex : "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"
787
- },
788
- {token : "string", regex : '\\w+|.|\\s+'}
789
- ];
790
- }
791
-
792
- exports.tag = function(states, name, nextState, tagMap) {
793
- states[name] = [{
794
- token : "text",
795
- regex : "\\s+"
796
- }, {
797
-
798
- token : !tagMap ? "meta.tag.tag-name" : function(value) {
799
- if (tagMap[value])
800
- return "meta.tag.tag-name." + tagMap[value];
801
- else
802
- return "meta.tag.tag-name";
803
- },
804
- regex : "[-_a-zA-Z0-9:]+",
805
- next : name + "_embed_attribute_list"
806
- }, {
807
- token: "empty",
808
- regex: "",
809
- next : name + "_embed_attribute_list"
810
- }];
811
-
812
- states[name + "_qstring"] = multiLineString("'", name + "_embed_attribute_list");
813
- states[name + "_qqstring"] = multiLineString("\"", name + "_embed_attribute_list");
814
-
815
- states[name + "_embed_attribute_list"] = [{
816
- token : "meta.tag.r",
817
- regex : "/?>",
818
- next : nextState
819
- }, {
820
- token : "keyword.operator",
821
- regex : "="
822
- }, {
823
- token : "entity.other.attribute-name",
824
- regex : "[-_a-zA-Z0-9:]+"
825
- }, {
826
- token : "constant.numeric", // float
827
- regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
828
- }, {
829
- token : "text",
830
- regex : "\\s+"
831
- }].concat(string(name));
832
- };
833
-
834
- });
835
- define('ace/mode/java_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/doc_comment_highlight_rules', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
836
-
837
-
838
- var oop = require("../lib/oop");
839
- var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
840
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
841
-
842
- var JavaHighlightRules = function() {
843
- var keywords = (
844
- "abstract|continue|for|new|switch|" +
845
- "assert|default|goto|package|synchronized|" +
846
- "boolean|do|if|private|this|" +
847
- "break|double|implements|protected|throw|" +
848
- "byte|else|import|public|throws|" +
849
- "case|enum|instanceof|return|transient|" +
850
- "catch|extends|int|short|try|" +
851
- "char|final|interface|static|void|" +
852
- "class|finally|long|strictfp|volatile|" +
853
- "const|float|native|super|while"
854
- );
855
-
856
- var buildinConstants = ("null|Infinity|NaN|undefined");
857
-
858
-
859
- var langClasses = (
860
- "AbstractMethodError|AssertionError|ClassCircularityError|"+
861
- "ClassFormatError|Deprecated|EnumConstantNotPresentException|"+
862
- "ExceptionInInitializerError|IllegalAccessError|"+
863
- "IllegalThreadStateException|InstantiationError|InternalError|"+
864
- "NegativeArraySizeException|NoSuchFieldError|Override|Process|"+
865
- "ProcessBuilder|SecurityManager|StringIndexOutOfBoundsException|"+
866
- "SuppressWarnings|TypeNotPresentException|UnknownError|"+
867
- "UnsatisfiedLinkError|UnsupportedClassVersionError|VerifyError|"+
868
- "InstantiationException|IndexOutOfBoundsException|"+
869
- "ArrayIndexOutOfBoundsException|CloneNotSupportedException|"+
870
- "NoSuchFieldException|IllegalArgumentException|NumberFormatException|"+
871
- "SecurityException|Void|InheritableThreadLocal|IllegalStateException|"+
872
- "InterruptedException|NoSuchMethodException|IllegalAccessException|"+
873
- "UnsupportedOperationException|Enum|StrictMath|Package|Compiler|"+
874
- "Readable|Runtime|StringBuilder|Math|IncompatibleClassChangeError|"+
875
- "NoSuchMethodError|ThreadLocal|RuntimePermission|ArithmeticException|"+
876
- "NullPointerException|Long|Integer|Short|Byte|Double|Number|Float|"+
877
- "Character|Boolean|StackTraceElement|Appendable|StringBuffer|"+
878
- "Iterable|ThreadGroup|Runnable|Thread|IllegalMonitorStateException|"+
879
- "StackOverflowError|OutOfMemoryError|VirtualMachineError|"+
880
- "ArrayStoreException|ClassCastException|LinkageError|"+
881
- "NoClassDefFoundError|ClassNotFoundException|RuntimeException|"+
882
- "Exception|ThreadDeath|Error|Throwable|System|ClassLoader|"+
883
- "Cloneable|Class|CharSequence|Comparable|String|Object"
884
- );
885
-
886
- var keywordMapper = this.createKeywordMapper({
887
- "variable.language": "this",
888
- "keyword": keywords,
889
- "constant.language": buildinConstants,
890
- "support.function": langClasses
891
- }, "identifier");
892
-
893
- this.$rules = {
894
- "start" : [
895
- {
896
- token : "comment",
897
- regex : "\\/\\/.*$"
898
- },
899
- DocCommentHighlightRules.getStartRule("doc-start"),
900
- {
901
- token : "comment", // multi line comment
902
- regex : "\\/\\*",
903
- next : "comment"
904
- }, {
905
- token : "string.regexp",
906
- regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
907
- }, {
908
- token : "string", // single line
909
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
910
- }, {
911
- token : "string", // single line
912
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
913
- }, {
914
- token : "constant.numeric", // hex
915
- regex : "0[xX][0-9a-fA-F]+\\b"
916
- }, {
917
- token : "constant.numeric", // float
918
- regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
919
- }, {
920
- token : "constant.language.boolean",
921
- regex : "(?:true|false)\\b"
922
- }, {
923
- token : keywordMapper,
924
- regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
925
- }, {
926
- token : "keyword.operator",
927
- regex : "!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
928
- }, {
929
- token : "lparen",
930
- regex : "[[({]"
931
- }, {
932
- token : "rparen",
933
- regex : "[\\])}]"
934
- }, {
935
- token : "text",
936
- regex : "\\s+"
937
- }
938
- ],
939
- "comment" : [
940
- {
941
- token : "comment", // closing comment
942
- regex : ".*?\\*\\/",
943
- next : "start"
944
- }, {
945
- token : "comment", // comment spanning whole line
946
- regex : ".+"
947
- }
948
- ]
949
- };
950
-
951
- this.embedRules(DocCommentHighlightRules, "doc-",
952
- [ DocCommentHighlightRules.getEndRule("start") ]);
953
- };
954
-
955
- oop.inherits(JavaHighlightRules, TextHighlightRules);
956
-
957
- exports.JavaHighlightRules = JavaHighlightRules;
958
- });
959
-
960
- define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
961
-
962
-
963
- var Range = require("../range").Range;
964
-
965
- var MatchingBraceOutdent = function() {};
966
-
967
- (function() {
968
-
969
- this.checkOutdent = function(line, input) {
970
- if (! /^\s+$/.test(line))
971
- return false;
972
-
973
- return /^\s*\}/.test(input);
974
- };
975
-
976
- this.autoOutdent = function(doc, row) {
977
- var line = doc.getLine(row);
978
- var match = line.match(/^(\s*\})/);
979
-
980
- if (!match) return 0;
981
-
982
- var column = match[1].length;
983
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
984
-
985
- if (!openBracePos || openBracePos.row == row) return 0;
986
-
987
- var indent = this.$getIndent(doc.getLine(openBracePos.row));
988
- doc.replace(new Range(row, 0, row, column-1), indent);
989
- };
990
-
991
- this.$getIndent = function(line) {
992
- var match = line.match(/^(\s+)/);
993
- if (match) {
994
- return match[1];
995
- }
996
-
997
- return "";
998
- };
999
-
1000
- }).call(MatchingBraceOutdent.prototype);
1001
-
1002
- exports.MatchingBraceOutdent = MatchingBraceOutdent;
1003
- });
1004
-
1005
- define('ace/mode/behaviour/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/behaviour', 'ace/token_iterator', 'ace/lib/lang'], function(require, exports, module) {
1006
-
1007
-
1008
- var oop = require("../../lib/oop");
1009
- var Behaviour = require("../behaviour").Behaviour;
1010
- var TokenIterator = require("../../token_iterator").TokenIterator;
1011
- var lang = require("../../lib/lang");
1012
-
1013
- var SAFE_INSERT_IN_TOKENS =
1014
- ["text", "paren.rparen", "punctuation.operator"];
1015
- var SAFE_INSERT_BEFORE_TOKENS =
1016
- ["text", "paren.rparen", "punctuation.operator", "comment"];
1017
-
1018
-
1019
- var autoInsertedBrackets = 0;
1020
- var autoInsertedRow = -1;
1021
- var autoInsertedLineEnd = "";
1022
- var maybeInsertedBrackets = 0;
1023
- var maybeInsertedRow = -1;
1024
- var maybeInsertedLineStart = "";
1025
- var maybeInsertedLineEnd = "";
1026
-
1027
- var CstyleBehaviour = function () {
1028
-
1029
- CstyleBehaviour.isSaneInsertion = function(editor, session) {
1030
- var cursor = editor.getCursorPosition();
1031
- var iterator = new TokenIterator(session, cursor.row, cursor.column);
1032
- if (!this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS)) {
1033
- var iterator2 = new TokenIterator(session, cursor.row, cursor.column + 1);
1034
- if (!this.$matchTokenType(iterator2.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS))
1035
- return false;
1036
- }
1037
- iterator.stepForward();
1038
- return iterator.getCurrentTokenRow() !== cursor.row ||
1039
- this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_BEFORE_TOKENS);
1040
- };
1041
-
1042
- CstyleBehaviour.$matchTokenType = function(token, types) {
1043
- return types.indexOf(token.type || token) > -1;
1044
- };
1045
-
1046
- CstyleBehaviour.recordAutoInsert = function(editor, session, bracket) {
1047
- var cursor = editor.getCursorPosition();
1048
- var line = session.doc.getLine(cursor.row);
1049
- if (!this.isAutoInsertedClosing(cursor, line, autoInsertedLineEnd[0]))
1050
- autoInsertedBrackets = 0;
1051
- autoInsertedRow = cursor.row;
1052
- autoInsertedLineEnd = bracket + line.substr(cursor.column);
1053
- autoInsertedBrackets++;
1054
- };
1055
-
1056
- CstyleBehaviour.recordMaybeInsert = function(editor, session, bracket) {
1057
- var cursor = editor.getCursorPosition();
1058
- var line = session.doc.getLine(cursor.row);
1059
- if (!this.isMaybeInsertedClosing(cursor, line))
1060
- maybeInsertedBrackets = 0;
1061
- maybeInsertedRow = cursor.row;
1062
- maybeInsertedLineStart = line.substr(0, cursor.column) + bracket;
1063
- maybeInsertedLineEnd = line.substr(cursor.column);
1064
- maybeInsertedBrackets++;
1065
- };
1066
-
1067
- CstyleBehaviour.isAutoInsertedClosing = function(cursor, line, bracket) {
1068
- return autoInsertedBrackets > 0 &&
1069
- cursor.row === autoInsertedRow &&
1070
- bracket === autoInsertedLineEnd[0] &&
1071
- line.substr(cursor.column) === autoInsertedLineEnd;
1072
- };
1073
-
1074
- CstyleBehaviour.isMaybeInsertedClosing = function(cursor, line) {
1075
- return maybeInsertedBrackets > 0 &&
1076
- cursor.row === maybeInsertedRow &&
1077
- line.substr(cursor.column) === maybeInsertedLineEnd &&
1078
- line.substr(0, cursor.column) == maybeInsertedLineStart;
1079
- };
1080
-
1081
- CstyleBehaviour.popAutoInsertedClosing = function() {
1082
- autoInsertedLineEnd = autoInsertedLineEnd.substr(1);
1083
- autoInsertedBrackets--;
1084
- };
1085
-
1086
- CstyleBehaviour.clearMaybeInsertedClosing = function() {
1087
- maybeInsertedBrackets = 0;
1088
- maybeInsertedRow = -1;
1089
- };
1090
-
1091
- this.add("braces", "insertion", function (state, action, editor, session, text) {
1092
- var cursor = editor.getCursorPosition();
1093
- var line = session.doc.getLine(cursor.row);
1094
- if (text == '{') {
1095
- var selection = editor.getSelectionRange();
1096
- var selected = session.doc.getTextRange(selection);
1097
- if (selected !== "" && selected !== "{" && editor.getWrapBehavioursEnabled()) {
1098
- return {
1099
- text: '{' + selected + '}',
1100
- selection: false
1101
- };
1102
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
1103
- if (/[\]\}\)]/.test(line[cursor.column])) {
1104
- CstyleBehaviour.recordAutoInsert(editor, session, "}");
1105
- return {
1106
- text: '{}',
1107
- selection: [1, 1]
1108
- };
1109
- } else {
1110
- CstyleBehaviour.recordMaybeInsert(editor, session, "{");
1111
- return {
1112
- text: '{',
1113
- selection: [1, 1]
1114
- };
1115
- }
1116
- }
1117
- } else if (text == '}') {
1118
- var rightChar = line.substring(cursor.column, cursor.column + 1);
1119
- if (rightChar == '}') {
1120
- var matching = session.$findOpeningBracket('}', {column: cursor.column + 1, row: cursor.row});
1121
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
1122
- CstyleBehaviour.popAutoInsertedClosing();
1123
- return {
1124
- text: '',
1125
- selection: [1, 1]
1126
- };
1127
- }
1128
- }
1129
- } else if (text == "\n" || text == "\r\n") {
1130
- var closing = "";
1131
- if (CstyleBehaviour.isMaybeInsertedClosing(cursor, line)) {
1132
- closing = lang.stringRepeat("}", maybeInsertedBrackets);
1133
- CstyleBehaviour.clearMaybeInsertedClosing();
1134
- }
1135
- var rightChar = line.substring(cursor.column, cursor.column + 1);
1136
- if (rightChar == '}' || closing !== "") {
1137
- var openBracePos = session.findMatchingBracket({row: cursor.row, column: cursor.column}, '}');
1138
- if (!openBracePos)
1139
- return null;
1140
-
1141
- var indent = this.getNextLineIndent(state, line.substring(0, cursor.column), session.getTabString());
1142
- var next_indent = this.$getIndent(line);
1143
-
1144
- return {
1145
- text: '\n' + indent + '\n' + next_indent + closing,
1146
- selection: [1, indent.length, 1, indent.length]
1147
- };
1148
- }
1149
- }
1150
- });
1151
-
1152
- this.add("braces", "deletion", function (state, action, editor, session, range) {
1153
- var selected = session.doc.getTextRange(range);
1154
- if (!range.isMultiLine() && selected == '{') {
1155
- var line = session.doc.getLine(range.start.row);
1156
- var rightChar = line.substring(range.end.column, range.end.column + 1);
1157
- if (rightChar == '}') {
1158
- range.end.column++;
1159
- return range;
1160
- } else {
1161
- maybeInsertedBrackets--;
1162
- }
1163
- }
1164
- });
1165
-
1166
- this.add("parens", "insertion", function (state, action, editor, session, text) {
1167
- if (text == '(') {
1168
- var selection = editor.getSelectionRange();
1169
- var selected = session.doc.getTextRange(selection);
1170
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
1171
- return {
1172
- text: '(' + selected + ')',
1173
- selection: false
1174
- };
1175
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
1176
- CstyleBehaviour.recordAutoInsert(editor, session, ")");
1177
- return {
1178
- text: '()',
1179
- selection: [1, 1]
1180
- };
1181
- }
1182
- } else if (text == ')') {
1183
- var cursor = editor.getCursorPosition();
1184
- var line = session.doc.getLine(cursor.row);
1185
- var rightChar = line.substring(cursor.column, cursor.column + 1);
1186
- if (rightChar == ')') {
1187
- var matching = session.$findOpeningBracket(')', {column: cursor.column + 1, row: cursor.row});
1188
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
1189
- CstyleBehaviour.popAutoInsertedClosing();
1190
- return {
1191
- text: '',
1192
- selection: [1, 1]
1193
- };
1194
- }
1195
- }
1196
- }
1197
- });
1198
-
1199
- this.add("parens", "deletion", function (state, action, editor, session, range) {
1200
- var selected = session.doc.getTextRange(range);
1201
- if (!range.isMultiLine() && selected == '(') {
1202
- var line = session.doc.getLine(range.start.row);
1203
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
1204
- if (rightChar == ')') {
1205
- range.end.column++;
1206
- return range;
1207
- }
1208
- }
1209
- });
1210
-
1211
- this.add("brackets", "insertion", function (state, action, editor, session, text) {
1212
- if (text == '[') {
1213
- var selection = editor.getSelectionRange();
1214
- var selected = session.doc.getTextRange(selection);
1215
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
1216
- return {
1217
- text: '[' + selected + ']',
1218
- selection: false
1219
- };
1220
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
1221
- CstyleBehaviour.recordAutoInsert(editor, session, "]");
1222
- return {
1223
- text: '[]',
1224
- selection: [1, 1]
1225
- };
1226
- }
1227
- } else if (text == ']') {
1228
- var cursor = editor.getCursorPosition();
1229
- var line = session.doc.getLine(cursor.row);
1230
- var rightChar = line.substring(cursor.column, cursor.column + 1);
1231
- if (rightChar == ']') {
1232
- var matching = session.$findOpeningBracket(']', {column: cursor.column + 1, row: cursor.row});
1233
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
1234
- CstyleBehaviour.popAutoInsertedClosing();
1235
- return {
1236
- text: '',
1237
- selection: [1, 1]
1238
- };
1239
- }
1240
- }
1241
- }
1242
- });
1243
-
1244
- this.add("brackets", "deletion", function (state, action, editor, session, range) {
1245
- var selected = session.doc.getTextRange(range);
1246
- if (!range.isMultiLine() && selected == '[') {
1247
- var line = session.doc.getLine(range.start.row);
1248
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
1249
- if (rightChar == ']') {
1250
- range.end.column++;
1251
- return range;
1252
- }
1253
- }
1254
- });
1255
-
1256
- this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
1257
- if (text == '"' || text == "'") {
1258
- var quote = text;
1259
- var selection = editor.getSelectionRange();
1260
- var selected = session.doc.getTextRange(selection);
1261
- if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
1262
- return {
1263
- text: quote + selected + quote,
1264
- selection: false
1265
- };
1266
- } else {
1267
- var cursor = editor.getCursorPosition();
1268
- var line = session.doc.getLine(cursor.row);
1269
- var leftChar = line.substring(cursor.column-1, cursor.column);
1270
- if (leftChar == '\\') {
1271
- return null;
1272
- }
1273
- var tokens = session.getTokens(selection.start.row);
1274
- var col = 0, token;
1275
- var quotepos = -1; // Track whether we're inside an open quote.
1276
-
1277
- for (var x = 0; x < tokens.length; x++) {
1278
- token = tokens[x];
1279
- if (token.type == "string") {
1280
- quotepos = -1;
1281
- } else if (quotepos < 0) {
1282
- quotepos = token.value.indexOf(quote);
1283
- }
1284
- if ((token.value.length + col) > selection.start.column) {
1285
- break;
1286
- }
1287
- col += tokens[x].value.length;
1288
- }
1289
- 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)))) {
1290
- if (!CstyleBehaviour.isSaneInsertion(editor, session))
1291
- return;
1292
- return {
1293
- text: quote + quote,
1294
- selection: [1,1]
1295
- };
1296
- } else if (token && token.type === "string") {
1297
- var rightChar = line.substring(cursor.column, cursor.column + 1);
1298
- if (rightChar == quote) {
1299
- return {
1300
- text: '',
1301
- selection: [1, 1]
1302
- };
1303
- }
1304
- }
1305
- }
1306
- }
1307
- });
1308
-
1309
- this.add("string_dquotes", "deletion", function (state, action, editor, session, range) {
1310
- var selected = session.doc.getTextRange(range);
1311
- if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
1312
- var line = session.doc.getLine(range.start.row);
1313
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
1314
- if (rightChar == '"') {
1315
- range.end.column++;
1316
- return range;
1317
- }
1318
- }
1319
- });
1320
-
1321
- };
1322
-
1323
- oop.inherits(CstyleBehaviour, Behaviour);
1324
-
1325
- exports.CstyleBehaviour = CstyleBehaviour;
1326
- });
1327
-
1328
- define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
1329
-
1330
-
1331
- var oop = require("../../lib/oop");
1332
- var Range = require("../../range").Range;
1333
- var BaseFoldMode = require("./fold_mode").FoldMode;
1334
-
1335
- var FoldMode = exports.FoldMode = function() {};
1336
- oop.inherits(FoldMode, BaseFoldMode);
1337
-
1338
- (function() {
1339
-
1340
- this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
1341
- this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
1342
-
1343
- this.getFoldWidgetRange = function(session, foldStyle, row) {
1344
- var line = session.getLine(row);
1345
- var match = line.match(this.foldingStartMarker);
1346
- if (match) {
1347
- var i = match.index;
1348
-
1349
- if (match[1])
1350
- return this.openingBracketBlock(session, match[1], row, i);
1351
-
1352
- return session.getCommentFoldRange(row, i + match[0].length, 1);
1353
- }
1354
-
1355
- if (foldStyle !== "markbeginend")
1356
- return;
1357
-
1358
- var match = line.match(this.foldingStopMarker);
1359
- if (match) {
1360
- var i = match.index + match[0].length;
1361
-
1362
- if (match[1])
1363
- return this.closingBracketBlock(session, match[1], row, i);
1364
-
1365
- return session.getCommentFoldRange(row, i, -1);
1366
- }
1367
- };
1368
-
1369
- }).call(FoldMode.prototype);
1370
-
1371
- });