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,290 +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/python', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/python_highlight_rules', 'ace/mode/folding/pythonic', 'ace/range'], 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 PythonHighlightRules = require("./python_highlight_rules").PythonHighlightRules;
38
- var PythonFoldMode = require("./folding/pythonic").FoldMode;
39
- var Range = require("../range").Range;
40
-
41
- var Mode = function() {
42
- this.$tokenizer = new Tokenizer(new PythonHighlightRules().getRules());
43
- this.foldingRules = new PythonFoldMode("\\:");
44
- };
45
- oop.inherits(Mode, TextMode);
46
-
47
- (function() {
48
-
49
- this.toggleCommentLines = function(state, doc, startRow, endRow) {
50
- var outdent = true;
51
- var re = /^(\s*)#/;
52
-
53
- for (var i=startRow; i<= endRow; i++) {
54
- if (!re.test(doc.getLine(i))) {
55
- outdent = false;
56
- break;
57
- }
58
- }
59
-
60
- if (outdent) {
61
- var deleteRange = new Range(0, 0, 0, 0);
62
- for (var i=startRow; i<= endRow; i++)
63
- {
64
- var line = doc.getLine(i);
65
- var m = line.match(re);
66
- deleteRange.start.row = i;
67
- deleteRange.end.row = i;
68
- deleteRange.end.column = m[0].length;
69
- doc.replace(deleteRange, m[1]);
70
- }
71
- }
72
- else {
73
- doc.indentRows(startRow, endRow, "#");
74
- }
75
- };
76
-
77
- this.getNextLineIndent = function(state, line, tab) {
78
- var indent = this.$getIndent(line);
79
-
80
- var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
81
- var tokens = tokenizedLine.tokens;
82
-
83
- if (tokens.length && tokens[tokens.length-1].type == "comment") {
84
- return indent;
85
- }
86
-
87
- if (state == "start") {
88
- var match = line.match(/^.*[\{\(\[\:]\s*$/);
89
- if (match) {
90
- indent += tab;
91
- }
92
- }
93
-
94
- return indent;
95
- };
96
-
97
- var outdents = {
98
- "pass": 1,
99
- "return": 1,
100
- "raise": 1,
101
- "break": 1,
102
- "continue": 1
103
- };
104
-
105
- this.checkOutdent = function(state, line, input) {
106
- if (input !== "\r\n" && input !== "\r" && input !== "\n")
107
- return false;
108
-
109
- var tokens = this.$tokenizer.getLineTokens(line.trim(), state).tokens;
110
-
111
- if (!tokens)
112
- return false;
113
- do {
114
- var last = tokens.pop();
115
- } while (last && (last.type == "comment" || (last.type == "text" && last.value.match(/^\s+$/))));
116
-
117
- if (!last)
118
- return false;
119
-
120
- return (last.type == "keyword" && outdents[last.value]);
121
- };
122
-
123
- this.autoOutdent = function(state, doc, row) {
124
-
125
- row += 1;
126
- var indent = this.$getIndent(doc.getLine(row));
127
- var tab = doc.getTabString();
128
- if (indent.slice(-tab.length) == tab)
129
- doc.remove(new Range(row, indent.length-tab.length, row, indent.length));
130
- };
131
-
132
- }).call(Mode.prototype);
133
-
134
- exports.Mode = Mode;
135
- });
136
-
137
- define('ace/mode/python_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
138
-
139
-
140
- var oop = require("../lib/oop");
141
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
142
-
143
- var PythonHighlightRules = function() {
144
-
145
- var keywords = (
146
- "and|as|assert|break|class|continue|def|del|elif|else|except|exec|" +
147
- "finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|" +
148
- "raise|return|try|while|with|yield"
149
- );
150
-
151
- var builtinConstants = (
152
- "True|False|None|NotImplemented|Ellipsis|__debug__"
153
- );
154
-
155
- var builtinFunctions = (
156
- "abs|divmod|input|open|staticmethod|all|enumerate|int|ord|str|any|" +
157
- "eval|isinstance|pow|sum|basestring|execfile|issubclass|print|super|" +
158
- "binfile|iter|property|tuple|bool|filter|len|range|type|bytearray|" +
159
- "float|list|raw_input|unichr|callable|format|locals|reduce|unicode|" +
160
- "chr|frozenset|long|reload|vars|classmethod|getattr|map|repr|xrange|" +
161
- "cmp|globals|max|reversed|zip|compile|hasattr|memoryview|round|" +
162
- "__import__|complex|hash|min|set|apply|delattr|help|next|setattr|" +
163
- "buffer|dict|hex|object|slice|coerce|dir|id|oct|sorted|intern"
164
- );
165
- var keywordMapper = this.createKeywordMapper({
166
- "invalid.deprecated": "debugger",
167
- "support.function": builtinFunctions,
168
- "constant.language": builtinConstants,
169
- "keyword": keywords
170
- }, "identifier");
171
-
172
- var strPre = "(?:r|u|ur|R|U|UR|Ur|uR)?";
173
-
174
- var decimalInteger = "(?:(?:[1-9]\\d*)|(?:0))";
175
- var octInteger = "(?:0[oO]?[0-7]+)";
176
- var hexInteger = "(?:0[xX][\\dA-Fa-f]+)";
177
- var binInteger = "(?:0[bB][01]+)";
178
- var integer = "(?:" + decimalInteger + "|" + octInteger + "|" + hexInteger + "|" + binInteger + ")";
179
-
180
- var exponent = "(?:[eE][+-]?\\d+)";
181
- var fraction = "(?:\\.\\d+)";
182
- var intPart = "(?:\\d+)";
183
- var pointFloat = "(?:(?:" + intPart + "?" + fraction + ")|(?:" + intPart + "\\.))";
184
- var exponentFloat = "(?:(?:" + pointFloat + "|" + intPart + ")" + exponent + ")";
185
- var floatNumber = "(?:" + exponentFloat + "|" + pointFloat + ")";
186
-
187
- this.$rules = {
188
- "start" : [ {
189
- token : "comment",
190
- regex : "#.*$"
191
- }, {
192
- token : "string", // """ string
193
- regex : strPre + '"{3}(?:[^\\\\]|\\\\.)*?"{3}'
194
- }, {
195
- token : "string", // multi line """ string start
196
- regex : strPre + '"{3}.*$',
197
- next : "qqstring"
198
- }, {
199
- token : "string", // " string
200
- regex : strPre + '"(?:[^\\\\]|\\\\.)*?"'
201
- }, {
202
- token : "string", // ''' string
203
- regex : strPre + "'{3}(?:[^\\\\]|\\\\.)*?'{3}"
204
- }, {
205
- token : "string", // multi line ''' string start
206
- regex : strPre + "'{3}.*$",
207
- next : "qstring"
208
- }, {
209
- token : "string", // ' string
210
- regex : strPre + "'(?:[^\\\\]|\\\\.)*?'"
211
- }, {
212
- token : "constant.numeric", // imaginary
213
- regex : "(?:" + floatNumber + "|\\d+)[jJ]\\b"
214
- }, {
215
- token : "constant.numeric", // float
216
- regex : floatNumber
217
- }, {
218
- token : "constant.numeric", // long integer
219
- regex : integer + "[lL]\\b"
220
- }, {
221
- token : "constant.numeric", // integer
222
- regex : integer + "\\b"
223
- }, {
224
- token : keywordMapper,
225
- regex : "[a-zA-Z_$][a-zA-Z0-9_$]*\\b"
226
- }, {
227
- token : "keyword.operator",
228
- regex : "\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|%|<<|>>|&|\\||\\^|~|<|>|<=|=>|==|!=|<>|="
229
- }, {
230
- token : "paren.lparen",
231
- regex : "[\\[\\(\\{]"
232
- }, {
233
- token : "paren.rparen",
234
- regex : "[\\]\\)\\}]"
235
- }, {
236
- token : "text",
237
- regex : "\\s+"
238
- } ],
239
- "qqstring" : [ {
240
- token : "string", // multi line """ string end
241
- regex : '(?:[^\\\\]|\\\\.)*?"{3}',
242
- next : "start"
243
- }, {
244
- token : "string",
245
- regex : '.+'
246
- } ],
247
- "qstring" : [ {
248
- token : "string", // multi line ''' string end
249
- regex : "(?:[^\\\\]|\\\\.)*?'{3}",
250
- next : "start"
251
- }, {
252
- token : "string",
253
- regex : '.+'
254
- } ]
255
- };
256
- };
257
-
258
- oop.inherits(PythonHighlightRules, TextHighlightRules);
259
-
260
- exports.PythonHighlightRules = PythonHighlightRules;
261
- });
262
-
263
- define('ace/mode/folding/pythonic', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
264
-
265
-
266
- var oop = require("../../lib/oop");
267
- var BaseFoldMode = require("./fold_mode").FoldMode;
268
-
269
- var FoldMode = exports.FoldMode = function(markers) {
270
- this.foldingStartMarker = new RegExp("([\\[{])(?:\\s*)$|(" + markers + ")(?:\\s*)(?:#.*)?$");
271
- };
272
- oop.inherits(FoldMode, BaseFoldMode);
273
-
274
- (function() {
275
-
276
- this.getFoldWidgetRange = function(session, foldStyle, row) {
277
- var line = session.getLine(row);
278
- var match = line.match(this.foldingStartMarker);
279
- if (match) {
280
- if (match[1])
281
- return this.openingBracketBlock(session, match[1], row, match.index);
282
- if (match[2])
283
- return this.indentationBlock(session, row, match.index + match[2].length);
284
- return this.indentationBlock(session, row);
285
- }
286
- }
287
-
288
- }).call(FoldMode.prototype);
289
-
290
- });
@@ -1,410 +0,0 @@
1
- /*
2
- * r.js
3
- *
4
- * Copyright (C) 2009-11 by RStudio, Inc.
5
- *
6
- * The Initial Developer of the Original Code is
7
- * Ajax.org B.V.
8
- * Portions created by the Initial Developer are Copyright (C) 2010
9
- * the Initial Developer. All Rights Reserved.
10
- *
11
- * This program is licensed to you under the terms of version 3 of the
12
- * GNU Affero General Public License. This program is distributed WITHOUT
13
- * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
14
- * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
15
- * AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
16
- *
17
- */
18
- define('ace/mode/r', ['require', 'exports', 'module' , 'ace/range', 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/text_highlight_rules', 'ace/mode/r_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/unicode'], function(require, exports, module) {
19
-
20
-
21
- var Range = require("../range").Range;
22
- var oop = require("../lib/oop");
23
- var TextMode = require("./text").Mode;
24
- var Tokenizer = require("../tokenizer").Tokenizer;
25
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
26
- var RHighlightRules = require("./r_highlight_rules").RHighlightRules;
27
- var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
28
- var unicode = require("../unicode");
29
-
30
- var Mode = function()
31
- {
32
- this.$tokenizer = new Tokenizer(new RHighlightRules().getRules());
33
- this.$outdent = new MatchingBraceOutdent();
34
- };
35
- oop.inherits(Mode, TextMode);
36
-
37
- (function()
38
- {
39
- this.tokenRe = new RegExp("^["
40
- + unicode.packages.L
41
- + unicode.packages.Mn + unicode.packages.Mc
42
- + unicode.packages.Nd
43
- + unicode.packages.Pc + "._]+", "g"
44
- );
45
-
46
- this.nonTokenRe = new RegExp("^(?:[^"
47
- + unicode.packages.L
48
- + unicode.packages.Mn + unicode.packages.Mc
49
- + unicode.packages.Nd
50
- + unicode.packages.Pc + "._]|\s])+", "g"
51
- );
52
-
53
- this.$complements = {
54
- "(": ")",
55
- "[": "]",
56
- '"': '"',
57
- "'": "'",
58
- "{": "}"
59
- };
60
- this.$reOpen = /^[(["'{]$/;
61
- this.$reClose = /^[)\]"'}]$/;
62
-
63
- this.getNextLineIndent = function(state, line, tab, tabSize, row)
64
- {
65
- return this.codeModel.getNextLineIndent(row, line, state, tab, tabSize);
66
- };
67
-
68
- this.allowAutoInsert = this.smartAllowAutoInsert;
69
-
70
- this.checkOutdent = function(state, line, input) {
71
- if (! /^\s+$/.test(line))
72
- return false;
73
-
74
- return /^\s*[\{\}\)]/.test(input);
75
- };
76
-
77
- this.getIndentForOpenBrace = function(openBracePos)
78
- {
79
- return this.codeModel.getIndentForOpenBrace(openBracePos);
80
- };
81
-
82
- this.autoOutdent = function(state, doc, row) {
83
- if (row == 0)
84
- return 0;
85
-
86
- var line = doc.getLine(row);
87
-
88
- var match = line.match(/^(\s*[\}\)])/);
89
- if (match)
90
- {
91
- var column = match[1].length;
92
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
93
-
94
- if (!openBracePos || openBracePos.row == row) return 0;
95
-
96
- var indent = this.codeModel.getIndentForOpenBrace(openBracePos);
97
- doc.replace(new Range(row, 0, row, column-1), indent);
98
- }
99
-
100
- match = line.match(/^(\s*\{)/);
101
- if (match)
102
- {
103
- var column = match[1].length;
104
- var indent = this.codeModel.getBraceIndent(row-1);
105
- doc.replace(new Range(row, 0, row, column-1), indent);
106
- }
107
- };
108
-
109
- this.$getIndent = function(line) {
110
- var match = line.match(/^(\s+)/);
111
- if (match) {
112
- return match[1];
113
- }
114
-
115
- return "";
116
- };
117
-
118
- this.transformAction = function(state, action, editor, session, text) {
119
- if (action === 'insertion' && text === "\n") {
120
- var pos = editor.getSelectionRange().start;
121
- var match = /^((\s*#+')\s*)/.exec(session.doc.getLine(pos.row));
122
- if (match && editor.getSelectionRange().start.column >= match[2].length) {
123
- return {text: "\n" + match[1]};
124
- }
125
- }
126
- return false;
127
- };
128
- }).call(Mode.prototype);
129
- exports.Mode = Mode;
130
- });
131
- define('ace/mode/r_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules', 'ace/mode/tex_highlight_rules'], function(require, exports, module) {
132
-
133
- var oop = require("../lib/oop");
134
- var lang = require("../lib/lang");
135
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
136
- var TexHighlightRules = require("./tex_highlight_rules").TexHighlightRules;
137
-
138
- var RHighlightRules = function()
139
- {
140
-
141
- var keywords = lang.arrayToMap(
142
- ("function|if|in|break|next|repeat|else|for|return|switch|while|try|tryCatch|stop|warning|require|library|attach|detach|source|setMethod|setGeneric|setGroupGeneric|setClass")
143
- .split("|")
144
- );
145
-
146
- var buildinConstants = lang.arrayToMap(
147
- ("NULL|NA|TRUE|FALSE|T|F|Inf|NaN|NA_integer_|NA_real_|NA_character_|" +
148
- "NA_complex_").split("|")
149
- );
150
-
151
- this.$rules = {
152
- "start" : [
153
- {
154
- token : "comment.sectionhead",
155
- regex : "#+(?!').*(?:----|====|####)\\s*$"
156
- },
157
- {
158
- token : "comment",
159
- regex : "#+'",
160
- next : "rd-start"
161
- },
162
- {
163
- token : "comment",
164
- regex : "#.*$"
165
- },
166
- {
167
- token : "string", // multi line string start
168
- regex : '["]',
169
- next : "qqstring"
170
- },
171
- {
172
- token : "string", // multi line string start
173
- regex : "[']",
174
- next : "qstring"
175
- },
176
- {
177
- token : "constant.numeric", // hex
178
- regex : "0[xX][0-9a-fA-F]+[Li]?\\b"
179
- },
180
- {
181
- token : "constant.numeric", // explicit integer
182
- regex : "\\d+L\\b"
183
- },
184
- {
185
- token : "constant.numeric", // number
186
- regex : "\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b"
187
- },
188
- {
189
- token : "constant.numeric", // number with leading decimal
190
- regex : "\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b"
191
- },
192
- {
193
- token : "constant.language.boolean",
194
- regex : "(?:TRUE|FALSE|T|F)\\b"
195
- },
196
- {
197
- token : "identifier",
198
- regex : "`.*?`"
199
- },
200
- {
201
- token : function(value)
202
- {
203
- if (keywords[value])
204
- return "keyword";
205
- else if (buildinConstants[value])
206
- return "constant.language";
207
- else if (value == '...' || value.match(/^\.\.\d+$/))
208
- return "variable.language";
209
- else
210
- return "identifier";
211
- },
212
- regex : "[a-zA-Z.][a-zA-Z0-9._]*\\b"
213
- },
214
- {
215
- token : "keyword.operator",
216
- regex : "%%|>=|<=|==|!=|\\->|<\\-|\\|\\||&&|=|\\+|\\-|\\*|/|\\^|>|<|!|&|\\||~|\\$|:"
217
- },
218
- {
219
- token : "keyword.operator", // infix operators
220
- regex : "%.*?%"
221
- },
222
- {
223
- token : "paren.keyword.operator",
224
- regex : "[[({]"
225
- },
226
- {
227
- token : "paren.keyword.operator",
228
- regex : "[\\])}]"
229
- },
230
- {
231
- token : "text",
232
- regex : "\\s+"
233
- }
234
- ],
235
- "qqstring" : [
236
- {
237
- token : "string",
238
- regex : '(?:(?:\\\\.)|(?:[^"\\\\]))*?"',
239
- next : "start"
240
- },
241
- {
242
- token : "string",
243
- regex : '.+'
244
- }
245
- ],
246
- "qstring" : [
247
- {
248
- token : "string",
249
- regex : "(?:(?:\\\\.)|(?:[^'\\\\]))*?'",
250
- next : "start"
251
- },
252
- {
253
- token : "string",
254
- regex : '.+'
255
- }
256
- ]
257
- };
258
-
259
- var rdRules = new TexHighlightRules("comment").getRules();
260
- for (var i = 0; i < rdRules["start"].length; i++) {
261
- rdRules["start"][i].token += ".virtual-comment";
262
- }
263
-
264
- this.addRules(rdRules, "rd-");
265
- this.$rules["rd-start"].unshift({
266
- token: "text",
267
- regex: "^",
268
- next: "start"
269
- });
270
- this.$rules["rd-start"].unshift({
271
- token : "keyword",
272
- regex : "@(?!@)[^ ]*"
273
- });
274
- this.$rules["rd-start"].unshift({
275
- token : "comment",
276
- regex : "@@"
277
- });
278
- this.$rules["rd-start"].push({
279
- token : "comment",
280
- regex : "[^%\\\\[({\\])}]+"
281
- });
282
- };
283
-
284
- oop.inherits(RHighlightRules, TextHighlightRules);
285
-
286
- exports.RHighlightRules = RHighlightRules;
287
- });
288
- define('ace/mode/tex_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
289
-
290
-
291
- var oop = require("../lib/oop");
292
- var lang = require("../lib/lang");
293
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
294
-
295
- var TexHighlightRules = function(textClass) {
296
-
297
- if (!textClass)
298
- textClass = "text";
299
-
300
- this.$rules = {
301
- "start" : [
302
- {
303
- token : "comment",
304
- regex : "%.*$"
305
- }, {
306
- token : textClass, // non-command
307
- regex : "\\\\[$&%#\\{\\}]"
308
- }, {
309
- token : "keyword", // command
310
- regex : "\\\\(?:documentclass|usepackage|newcounter|setcounter|addtocounter|value|arabic|stepcounter|newenvironment|renewenvironment|ref|vref|eqref|pageref|label|cite[a-zA-Z]*|tag|begin|end|bibitem)\\b",
311
- next : "nospell"
312
- }, {
313
- token : "keyword", // command
314
- regex : "\\\\(?:[a-zA-z0-9]+|[^a-zA-z0-9])"
315
- }, {
316
- token : "paren.keyword.operator",
317
- regex : "[[({]"
318
- }, {
319
- token : "paren.keyword.operator",
320
- regex : "[\\])}]"
321
- }, {
322
- token : textClass,
323
- regex : "\\s+"
324
- }
325
- ],
326
- "nospell" : [
327
- {
328
- token : "comment",
329
- regex : "%.*$",
330
- next : "start"
331
- }, {
332
- token : "nospell." + textClass, // non-command
333
- regex : "\\\\[$&%#\\{\\}]"
334
- }, {
335
- token : "keyword", // command
336
- regex : "\\\\(?:documentclass|usepackage|newcounter|setcounter|addtocounter|value|arabic|stepcounter|newenvironment|renewenvironment|ref|vref|eqref|pageref|label|cite[a-zA-Z]*|tag|begin|end|bibitem)\\b"
337
- }, {
338
- token : "keyword", // command
339
- regex : "\\\\(?:[a-zA-z0-9]+|[^a-zA-z0-9])",
340
- next : "start"
341
- }, {
342
- token : "paren.keyword.operator",
343
- regex : "[[({]"
344
- }, {
345
- token : "paren.keyword.operator",
346
- regex : "[\\])]"
347
- }, {
348
- token : "paren.keyword.operator",
349
- regex : "}",
350
- next : "start"
351
- }, {
352
- token : "nospell." + textClass,
353
- regex : "\\s+"
354
- }, {
355
- token : "nospell." + textClass,
356
- regex : "\\w+"
357
- }
358
- ]
359
- };
360
- };
361
-
362
- oop.inherits(TexHighlightRules, TextHighlightRules);
363
-
364
- exports.TexHighlightRules = TexHighlightRules;
365
- });
366
-
367
- define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
368
-
369
-
370
- var Range = require("../range").Range;
371
-
372
- var MatchingBraceOutdent = function() {};
373
-
374
- (function() {
375
-
376
- this.checkOutdent = function(line, input) {
377
- if (! /^\s+$/.test(line))
378
- return false;
379
-
380
- return /^\s*\}/.test(input);
381
- };
382
-
383
- this.autoOutdent = function(doc, row) {
384
- var line = doc.getLine(row);
385
- var match = line.match(/^(\s*\})/);
386
-
387
- if (!match) return 0;
388
-
389
- var column = match[1].length;
390
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
391
-
392
- if (!openBracePos || openBracePos.row == row) return 0;
393
-
394
- var indent = this.$getIndent(doc.getLine(openBracePos.row));
395
- doc.replace(new Range(row, 0, row, column-1), indent);
396
- };
397
-
398
- this.$getIndent = function(line) {
399
- var match = line.match(/^(\s+)/);
400
- if (match) {
401
- return match[1];
402
- }
403
-
404
- return "";
405
- };
406
-
407
- }).call(MatchingBraceOutdent.prototype);
408
-
409
- exports.MatchingBraceOutdent = MatchingBraceOutdent;
410
- });