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,259 +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/abap', ['require', 'exports', 'module' , 'ace/tokenizer', 'ace/mode/abap_highlight_rules', 'ace/mode/folding/coffee', 'ace/range', 'ace/mode/text', 'ace/lib/oop'], function(require, exports, module) {
32
-
33
-
34
- var Tokenizer = require("../tokenizer").Tokenizer;
35
- var Rules = require("./abap_highlight_rules").AbapHighlightRules;
36
- var FoldMode = require("./folding/coffee").FoldMode;
37
- var Range = require("../range").Range;
38
- var TextMode = require("./text").Mode;
39
- var oop = require("../lib/oop");
40
-
41
- function Mode() {
42
- this.$tokenizer = new Tokenizer(new Rules().getRules(), "i");
43
- this.foldingRules = new FoldMode();
44
- }
45
-
46
- oop.inherits(Mode, TextMode);
47
-
48
- (function() {
49
-
50
- this.getNextLineIndent = function(state, line, tab) {
51
- var indent = this.$getIndent(line);
52
- return indent;
53
- };
54
-
55
- this.toggleCommentLines = function(state, doc, startRow, endRow){
56
- var range = new Range(0, 0, 0, 0);
57
- for (var i = startRow; i <= endRow; ++i) {
58
- var line = doc.getLine(i);
59
- if (hereComment.test(line))
60
- continue;
61
-
62
- if (commentLine.test(line))
63
- line = line.replace(commentLine, '$1');
64
- else
65
- line = line.replace(indentation, '$&#');
66
-
67
- range.end.row = range.start.row = i;
68
- range.end.column = line.length + 1;
69
- doc.replace(range, line);
70
- }
71
- };
72
-
73
- }).call(Mode.prototype);
74
-
75
- exports.Mode = Mode;
76
-
77
- });
78
-
79
- define('ace/mode/abap_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
80
-
81
-
82
- var oop = require("../lib/oop");
83
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
84
-
85
- var AbapHighlightRules = function() {
86
-
87
- var keywordMapper = this.createKeywordMapper({
88
- "variable.language": "this",
89
- "keyword":
90
- "ADD ALIAS ALIASES ASSERT ASSIGN ASSIGNING AT BACK" +
91
- " CALL CASE CATCH CHECK CLASS CLEAR CLOSE CNT COLLECT COMMIT COMMUNICATION COMPUTE CONCATENATE CONDENSE CONSTANTS CONTINUE CONTROLS CONVERT CREATE CURRENCY" +
92
- " DATA DEFINE DEFINITION DEFERRED DELETE DESCRIBE DETAIL DIVIDE DO" +
93
- " ELSE ELSEIF ENDAT ENDCASE ENDCLASS ENDDO ENDEXEC ENDFORM ENDFUNCTION ENDIF ENDIFEND ENDINTERFACE ENDLOOP ENDMETHOD ENDMODULE ENDON ENDPROVIDE ENDSELECT ENDTRY ENDWHILE EVENT EVENTS EXEC EXIT EXPORT EXPORTING EXTRACT" +
94
- " FETCH FIELDS FORM FORMAT FREE FROM FUNCTION" +
95
- " GENERATE GET" +
96
- " HIDE" +
97
- " IF IMPORT IMPORTING INDEX INFOTYPES INITIALIZATION INTERFACE INTERFACES INPUT INSERT IMPLEMENTATION" +
98
- " LEAVE LIKE LINE LOAD LOCAL LOOP" +
99
- " MESSAGE METHOD METHODS MODIFY MODULE MOVE MULTIPLY" +
100
- " ON OVERLAY OPTIONAL OTHERS" +
101
- " PACK PARAMETERS PERFORM POSITION PROGRAM PROVIDE PUT" +
102
- " RAISE RANGES READ RECEIVE RECEIVING REDEFINITION REFERENCE REFRESH REJECT REPLACE REPORT RESERVE RESTORE RETURNING ROLLBACK" +
103
- " SCAN SCROLL SEARCH SELECT SET SHIFT SKIP SORT SORTED SPLIT STANDARD STATICS STEP STOP SUBMIT SUBTRACT SUM SUMMARY SUPPRESS" +
104
- " TABLES TIMES TRANSFER TRANSLATE TRY TYPE TYPES" +
105
- " UNASSIGN ULINE UNPACK UPDATE" +
106
- " WHEN WHILE WINDOW WRITE" +
107
- " OCCURS STRUCTURE OBJECT PROPERTY" +
108
- " CASTING APPEND RAISING VALUE COLOR" +
109
- " CHANGING EXCEPTION EXCEPTIONS DEFAULT CHECKBOX COMMENT" +
110
- " ID NUMBER FOR TITLE OUTPUT" +
111
- " WITH EXIT USING" +
112
- " INTO WHERE GROUP BY HAVING ORDER BY SINGLE" +
113
- " APPENDING CORRESPONDING FIELDS OF TABLE" +
114
- " LEFT RIGHT OUTER INNER JOIN AS CLIENT SPECIFIED BYPASSING BUFFER UP TO ROWS CONNECTING" +
115
- " EQ NE LT LE GT GE NOT AND OR XOR IN LIKE BETWEEN",
116
- "constant.language":
117
- "TRUE FALSE NULL SPACE",
118
- "support.type":
119
- "c n i p f d t x string xstring decfloat16 decfloat34",
120
- "keyword.operator":
121
- "abs sign ceil floor trunc frac acos asin atan cos sin tan" +
122
- " abapOperator cosh sinh tanh exp log log10 sqrt" +
123
- " strlen xstrlen charlen numofchar dbmaxlen lines"
124
- }, "text", true, " ");
125
-
126
- var compoundKeywords = "WITH\\W+(?:HEADER\\W+LINE|FRAME|KEY)|NO\\W+STANDARD\\W+PAGE\\W+HEADING|"+
127
- "EXIT\\W+FROM\\W+STEP\\W+LOOP|BEGIN\\W+OF\\W+(?:BLOCK|LINE)|BEGIN\\W+OF|"+
128
- "END\\W+OF\\W+(?:BLOCK|LINE)|END\\W+OF|NO\\W+INTERVALS|"+
129
- "RESPECTING\\W+BLANKS|SEPARATED\\W+BY|USING\\W+(?:EDIT\\W+MASK)|"+
130
- "WHERE\\W+(?:LINE)|RADIOBUTTON\\W+GROUP|REF\\W+TO|"+
131
- "(?:PUBLIC|PRIVATE|PROTECTED)(?:\\W+SECTION)?|DELETING\\W+(?:TRAILING|LEADING)"+
132
- "(?:ALL\\W+OCCURRENCES)|(?:FIRST|LAST)\\W+OCCURRENCE|INHERITING\\W+FROM|"+
133
- "LINE-COUNT|ADD-CORRESPONDING|AUTHORITY-CHECK|BREAK-POINT|CLASS-DATA|CLASS-METHODS|"+
134
- "CLASS-METHOD|DIVIDE-CORRESPONDING|EDITOR-CALL|END-OF-DEFINITION|END-OF-PAGE|END-OF-SELECTION|"+
135
- "FIELD-GROUPS|FIELD-SYMBOLS|FUNCTION-POOL|MOVE-CORRESPONDING|MULTIPLY-CORRESPONDING|NEW-LINE|"+
136
- "NEW-PAGE|NEW-SECTION|PRINT-CONTROL|RP-PROVIDE-FROM-LAST|SELECT-OPTIONS|SELECTION-SCREEN|"+
137
- "START-OF-SELECTION|SUBTRACT-CORRESPONDING|SYNTAX-CHECK|SYNTAX-TRACE|TOP-OF-PAGE|TYPE-POOL|"+
138
- "TYPE-POOLS|LINE-SIZE|LINE-COUNT|MESSAGE-ID|DISPLAY-MODE|READ(?:-ONLY)?|"+
139
- "IS\\W+(?:NOT\\W+)?(?:ASSIGNED|BOUND|INITIAL|SUPPLIED)";
140
-
141
- this.$rules = {
142
- "start" : [
143
- {token : "string", regex : "`", next : "string"},
144
- {token : "string", regex : "'", next : "qstring"},
145
- {token : "doc.comment", regex : /^\*.+/},
146
- {token : "comment", regex : /".+$/},
147
- {token : "invalid", regex: "\\.{2,}"},
148
- {token : "keyword.operator", regex: /\W[\-+\%=<>*]\W|\*\*|[~:,\.&$]|->*?|=>/},
149
- {token : "paren.lparen", regex : "[\\[({]"},
150
- {token : "paren.rparen", regex : "[\\])}]"},
151
- {token : "constant.numeric", regex: "[+-]?\\d+\\b"},
152
- {token : "variable.parameter", regex : /sy|pa?\d\d\d\d\|t\d\d\d\.|innnn/},
153
- {token : "keyword", regex : compoundKeywords},
154
- {token : "variable.parameter", regex : /\w+-\w+(?:-\w+)*/},
155
- {token : keywordMapper, regex : "\\w+\\b"},
156
- ],
157
- "qstring" : [
158
- {token : "constant.language.escape", regex : "''"},
159
- {token : "string", regex : "'", next : "start"},
160
- {token : "string", regex : ".|\w+"}
161
- ],
162
- "string" : [
163
- {token : "constant.language.escape", regex : "``"},
164
- {token : "string", regex : "`", next : "start"},
165
- {token : "string", regex : ".|\w+"}
166
- ]
167
- }
168
- };
169
- oop.inherits(AbapHighlightRules, TextHighlightRules);
170
-
171
- exports.AbapHighlightRules = AbapHighlightRules;
172
- });
173
-
174
- define('ace/mode/folding/coffee', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range'], function(require, exports, module) {
175
-
176
-
177
- var oop = require("../../lib/oop");
178
- var BaseFoldMode = require("./fold_mode").FoldMode;
179
- var Range = require("../../range").Range;
180
-
181
- var FoldMode = exports.FoldMode = function() {};
182
- oop.inherits(FoldMode, BaseFoldMode);
183
-
184
- (function() {
185
-
186
- this.getFoldWidgetRange = function(session, foldStyle, row) {
187
- var range = this.indentationBlock(session, row);
188
- if (range)
189
- return range;
190
-
191
- var re = /\S/;
192
- var line = session.getLine(row);
193
- var startLevel = line.search(re);
194
- if (startLevel == -1 || line[startLevel] != "#")
195
- return;
196
-
197
- var startColumn = line.length;
198
- var maxRow = session.getLength();
199
- var startRow = row;
200
- var endRow = row;
201
-
202
- while (++row < maxRow) {
203
- line = session.getLine(row);
204
- var level = line.search(re);
205
-
206
- if (level == -1)
207
- continue;
208
-
209
- if (line[level] != "#")
210
- break;
211
-
212
- endRow = row;
213
- }
214
-
215
- if (endRow > startRow) {
216
- var endColumn = session.getLine(endRow).length;
217
- return new Range(startRow, startColumn, endRow, endColumn);
218
- }
219
- };
220
- this.getFoldWidget = function(session, foldStyle, row) {
221
- var line = session.getLine(row);
222
- var indent = line.search(/\S/);
223
- var next = session.getLine(row + 1);
224
- var prev = session.getLine(row - 1);
225
- var prevIndent = prev.search(/\S/);
226
- var nextIndent = next.search(/\S/);
227
-
228
- if (indent == -1) {
229
- session.foldWidgets[row - 1] = prevIndent!= -1 && prevIndent < nextIndent ? "start" : "";
230
- return "";
231
- }
232
- if (prevIndent == -1) {
233
- if (indent == nextIndent && line[indent] == "#" && next[indent] == "#") {
234
- session.foldWidgets[row - 1] = "";
235
- session.foldWidgets[row + 1] = "";
236
- return "start";
237
- }
238
- } else if (prevIndent == indent && line[indent] == "#" && prev[indent] == "#") {
239
- if (session.getLine(row - 2).search(/\S/) == -1) {
240
- session.foldWidgets[row - 1] = "start";
241
- session.foldWidgets[row + 1] = "";
242
- return "";
243
- }
244
- }
245
-
246
- if (prevIndent!= -1 && prevIndent < indent)
247
- session.foldWidgets[row - 1] = "start";
248
- else
249
- session.foldWidgets[row - 1] = "";
250
-
251
- if (indent < nextIndent)
252
- return "start";
253
- else
254
- return "";
255
- };
256
-
257
- }).call(FoldMode.prototype);
258
-
259
- });
@@ -1,372 +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/asciidoc', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/asciidoc_highlight_rules', 'ace/mode/folding/asciidoc'], 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 AsciidocHighlightRules = require("./asciidoc_highlight_rules").AsciidocHighlightRules;
38
- var AsciidocFoldMode = require("./folding/asciidoc").FoldMode;
39
-
40
- var Mode = function() {
41
- var highlighter = new AsciidocHighlightRules();
42
-
43
- this.$tokenizer = new Tokenizer(highlighter.getRules());
44
- this.foldingRules = new AsciidocFoldMode();
45
- };
46
- oop.inherits(Mode, TextMode);
47
-
48
- (function() {
49
- this.getNextLineIndent = function(state, line, tab) {
50
- if (state == "listblock") {
51
- var match = /^((?:.+)?)([-+*][ ]+)/.exec(line);
52
- if (match) {
53
- return new Array(match[1].length + 1).join(" ") + match[2];
54
- } else {
55
- return "";
56
- }
57
- } else {
58
- return this.$getIndent(line);
59
- }
60
- };
61
- }).call(Mode.prototype);
62
-
63
- exports.Mode = Mode;
64
- });
65
-
66
- define('ace/mode/asciidoc_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
67
-
68
-
69
- var oop = require("../lib/oop");
70
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
71
-
72
- var AsciidocHighlightRules = function() {
73
- var identifierRe = "[a-zA-Z\u00a1-\uffff]+\\b";
74
-
75
- this.$rules = {
76
- "start": [
77
- {token: "empty", regex: /$/},
78
- {token: "literal", regex: /^\.{4,}\s*$/, next: "listingBlock"},
79
- {token: "literal", regex: /^-{4,}\s*$/, next: "literalBlock"},
80
- {token: "string", regex: /^\+{4,}\s*$/, next: "passthroughBlock"},
81
- {token: "keyword", regex: /^={4,}\s*$/},
82
- {token: "text", regex: /^\s*$/},
83
- {token: "empty", regex: "", next: "dissallowDelimitedBlock"}
84
- ],
85
-
86
- "dissallowDelimitedBlock": [
87
- {include: "paragraphEnd"},
88
- {token: "comment", regex: '^//.+$'},
89
- {token: "keyword", regex: "^(?:NOTE|TIP|IMPORTANT|WARNING|CAUTION):"},
90
-
91
- {include: "listStart"},
92
- {token: "literal", regex: /^\s+.+$/, next: "indentedBlock"},
93
- {token: "empty", regex: "", next: "text"}
94
- ],
95
-
96
- "paragraphEnd": [
97
- {token: "doc.comment", regex: /^\/{4,}\s*$/, next: "commentBlock"},
98
- {token: "tableBlock", regex: /^\s*[|!]=+\s*$/, next: "tableBlock"},
99
- {token: "keyword", regex: /^(?:--|''')\s*$/, next: "start"},
100
- {token: "option", regex: /^\[.*\]\s*$/, next: "start"},
101
- {token: "pageBreak", regex: /^>{3,}$/, next: "start"},
102
- {token: "literal", regex: /^\.{4,}\s*$/, next: "listingBlock"},
103
- {token: "titleUnderline", regex: /^(?:={2,}|-{2,}|~{2,}|\^{2,}|\+{2,})\s*$/, next: "start"},
104
- {token: "singleLineTitle", regex: /^={1,5}\s+\S.*$/, next: "start"},
105
-
106
- {token: "otherBlock", regex: /^(?:\*{2,}|_{2,})\s*$/, next: "start"},
107
- {token: "optionalTitle", regex: /^\.[^.\s].+$/, next: "start"}
108
- ],
109
-
110
- "listStart": [
111
- {token: "keyword", regex: /^\s*(?:\d+\.|[a-zA-Z]\.|[ixvmIXVM]+\)|\*{1,5}|-|\.{1,5})\s/, next: "listText"},
112
- {token: "meta.tag", regex: /^.+(?::{2,4}|;;)(?: |$)/, next: "listText"},
113
- {token: "support.function.list.callout", regex: /^(?:<\d+>|\d+>|>) /, next: "text"},
114
- {token: "keyword", regex: /^\+\s*$/, next: "start"}
115
- ],
116
-
117
- "text": [
118
- {token: ["link", "variable.language"], regex: /((?:https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+)(\[.*?\])/},
119
- {token: "link", regex: /(?:https?:\/\/|ftp:\/\/|file:\/\/|mailto:|callto:)[^\s\[]+/},
120
- {token: "link", regex: /\b[\w\.\/\-]+@[\w\.\/\-]+\b/},
121
- {include: "macros"},
122
- {include: "paragraphEnd"},
123
- {token: "literal", regex:/\+{3,}/, next:"smallPassthrough"},
124
- {token: "escape", regex: /\((?:C|TM|R)\)|\.{3}|->|<-|=>|<=|&#(?:\d+|x[a-fA-F\d]+);|(?: |^)--(?=\s+\S)/},
125
- {token: "escape", regex: /\\[_*'`+#]|\\{2}[_*'`+#]{2}/},
126
- {token: "keyword", regex: /\s\+$/},
127
- {token: "text", regex: identifierRe},
128
- {token: ["keyword", "string", "keyword"],
129
- regex: /(<<[\w\d\-$]+,)(.*?)(>>|$)/},
130
- {token: "keyword", regex: /<<[\w\d\-$]+,?|>>/},
131
- {token: "constant.character", regex: /\({2,3}.*?\){2,3}/},
132
- {token: "keyword", regex: /\[\[.+?\]\]/},
133
- {token: "support", regex: /^\[{3}[\w\d =\-]+\]{3}/},
134
-
135
- {include: "quotes"},
136
- {token: "empty", regex: /^\s*$/, next: "start"}
137
- ],
138
-
139
- "listText": [
140
- {include: "listStart"},
141
- {include: "text"}
142
- ],
143
-
144
- "indentedBlock": [
145
- {token: "literal", regex: /^[\s\w].+$/, next: "indentedBlock"},
146
- {token: "literal", regex: "", next: "start"}
147
- ],
148
-
149
- "listingBlock": [
150
- {token: "literal", regex: /^\.{4,}\s*$/, next: "dissallowDelimitedBlock"},
151
- {token: "constant.numeric", regex: '<\\d+>'},
152
- {token: "literal", regex: '[^<]+'},
153
- {token: "literal", regex: '<'}
154
- ],
155
- "literalBlock": [
156
- {token: "literal", regex: /^-{4,}\s*$/, next: "dissallowDelimitedBlock"},
157
- {token: "constant.numeric", regex: '<\\d+>'},
158
- {token: "literal", regex: '[^<]+'},
159
- {token: "literal", regex: '<'}
160
- ],
161
- "passthroughBlock": [
162
- {token: "literal", regex: /^\+{4,}\s*$/, next: "dissallowDelimitedBlock"},
163
- {token: "literal", regex: identifierRe + "|\\d+"},
164
- {include: "macros"},
165
- {token: "literal", regex: "."}
166
- ],
167
-
168
- "smallPassthrough": [
169
- {token: "literal", regex: /[+]{3,}/, next: "dissallowDelimitedBlock"},
170
- {token: "literal", regex: /^\s*$/, next: "dissallowDelimitedBlock"},
171
- {token: "literal", regex: identifierRe + "|\\d+"},
172
- {include: "macros"}
173
- ],
174
-
175
- "commentBlock": [
176
- {token: "doc.comment", regex: /^\/{4,}\s*$/, next: "dissallowDelimitedBlock"},
177
- {token: "doc.comment", regex: '^.*$'}
178
- ],
179
- "tableBlock": [
180
- {token: "tableBlock", regex: /^\s*\|={3,}\s*$/, next: "dissallowDelimitedBlock"},
181
- {token: "tableBlock", regex: /^\s*!={3,}\s*$/, next: "innerTableBlock"},
182
- {token: "tableBlock", regex: /\|/},
183
- {include: "text", noEscape: true}
184
- ],
185
- "innerTableBlock": [
186
- {token: "tableBlock", regex: /^\s*!={3,}\s*$/, next: "tableBlock"},
187
- {token: "tableBlock", regex: /^\s*|={3,}\s*$/, next: "dissallowDelimitedBlock"},
188
- {token: "tableBlock", regex: /\!/}
189
- ],
190
- "macros": [
191
- {token: "macro", regex: /{[\w\-$]+}/},
192
- {token: ["text", "string", "text", "constant.character", "text"], regex: /({)([\w\-$]+)(:)?(.+)?(})/},
193
- {token: ["text", "markup.list.macro", "keyword", "string"], regex: /(\w+)(footnote(?:ref)?::?)([^\s\[]+)?(\[.*?\])?/},
194
- {token: ["markup.list.macro", "keyword", "string"], regex: /([a-zA-Z\-][\w\.\/\-]*::?)([^\s\[]+)(\[.*?\])?/},
195
- {token: ["markup.list.macro", "keyword"], regex: /([a-zA-Z\-][\w\.\/\-]+::?)(\[.*?\])/},
196
- {token: "keyword", regex: /^:.+?:(?= |$)/}
197
- ],
198
-
199
- "quotes": [
200
- {token: "string.italic", regex: /__[^_\s].*?__/},
201
- {token: "string.italic", regex: quoteRule("_")},
202
-
203
- {token: "keyword.bold", regex: /\*\*[^*\s].*?\*\*/},
204
- {token: "keyword.bold", regex: quoteRule("\\*")},
205
-
206
- {token: "literal", regex: quoteRule("\\+")},
207
- {token: "literal", regex: /\+\+[^+\s].*?\+\+/},
208
- {token: "literal", regex: /\$\$.+?\$\$/},
209
- {token: "literal", regex: quoteRule("`")},
210
-
211
- {token: "keyword", regex: quoteRule("^")},
212
- {token: "keyword", regex: quoteRule("~")},
213
- {token: "keyword", regex: /##?/},
214
- {token: "keyword", regex: /(?:\B|^)``|\b''/}
215
- ]
216
-
217
- };
218
-
219
- function quoteRule(ch) {
220
- var prefix = /\w/.test(ch) ? "\\b" : "(?:\\B|^)";
221
- return prefix + ch + "[^" + ch + "].*?" + ch + "(?![\\w*])";
222
- }
223
-
224
- var tokenMap = {
225
- macro: "constant.character",
226
- tableBlock: "doc.comment",
227
- titleUnderline: "markup.heading",
228
- singleLineTitle: "markup.heading",
229
- pageBreak: "string",
230
- option: "string.regexp",
231
- otherBlock: "markup.list",
232
- literal: "support.function",
233
- optionalTitle: "constant.numeric",
234
- escape: "constant.language.escape",
235
- link: "markup.underline.list"
236
- };
237
-
238
- for (var state in this.$rules) {
239
- var stateRules = this.$rules[state];
240
- for (var i = stateRules.length; i--; ) {
241
- var rule = stateRules[i];
242
- if (rule.include || typeof rule == "string") {
243
- var args = [i, 1].concat(this.$rules[rule.include || rule]);
244
- if (rule.noEscape) {
245
- args = args.filter(function(x) {
246
- return !x.next;
247
- });
248
- }
249
- stateRules.splice.apply(stateRules, args);
250
- } else if (rule.token in tokenMap) {
251
- rule.token = tokenMap[rule.token];
252
- }
253
- }
254
- }
255
- };
256
- oop.inherits(AsciidocHighlightRules, TextHighlightRules);
257
-
258
- exports.AsciidocHighlightRules = AsciidocHighlightRules;
259
- });
260
-
261
- define('ace/mode/folding/asciidoc', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/folding/fold_mode', 'ace/range'], function(require, exports, module) {
262
-
263
-
264
- var oop = require("../../lib/oop");
265
- var BaseFoldMode = require("./fold_mode").FoldMode;
266
- var Range = require("../../range").Range;
267
-
268
- var FoldMode = exports.FoldMode = function() {};
269
- oop.inherits(FoldMode, BaseFoldMode);
270
-
271
- (function() {
272
- this.foldingStartMarker = /^(?:\|={10,}|[\.\/=\-~^+]{4,}\s*$|={1,5} )/;
273
- this.singleLineHeadingRe = /^={1,5}(?=\s+\S)/;
274
-
275
- this.getFoldWidget = function(session, foldStyle, row) {
276
- var line = session.getLine(row);
277
- if (!this.foldingStartMarker.test(line))
278
- return ""
279
-
280
- if (line[0] == "=") {
281
- if (this.singleLineHeadingRe.test(line))
282
- return "start";
283
- if (session.getLine(row - 1).length != session.getLine(row).length)
284
- return "";
285
- return "start";
286
- }
287
- if (session.bgTokenizer.getState(row) == "dissallowDelimitedBlock")
288
- return "end";
289
- return "start";
290
- };
291
-
292
- this.getFoldWidgetRange = function(session, foldStyle, row) {
293
- var line = session.getLine(row);
294
- var startColumn = line.length;
295
- var maxRow = session.getLength();
296
- var startRow = row;
297
- var endRow = row;
298
- if (!line.match(this.foldingStartMarker))
299
- return;
300
-
301
- var token;
302
- function getTokenType(row) {
303
- token = session.getTokens(row)[0];
304
- return token && token.type;
305
- }
306
-
307
- var levels = ["=","-","~","^","+"];
308
- var heading = "markup.heading";
309
- var singleLineHeadingRe = this.singleLineHeadingRe;
310
- function getLevel() {
311
- var match = token.value.match(singleLineHeadingRe);
312
- if (match)
313
- return match[0].length;
314
- var level = levels.indexOf(token.value[0]) + 1;
315
- if (level == 1) {
316
- if (session.getLine(row - 1).length != session.getLine(row).length)
317
- return Infinity;
318
- }
319
- return level;
320
- }
321
-
322
- if (getTokenType(row) == heading) {
323
- var startHeadingLevel = getLevel();
324
- while (++row < maxRow) {
325
- if (getTokenType(row) != heading)
326
- continue;
327
- var level = getLevel();
328
- if (level <= startHeadingLevel)
329
- break;
330
- }
331
-
332
- var isSingleLineHeading = token && token.value.match(this.singleLineHeadingRe);
333
- endRow = isSingleLineHeading ? row - 1 : row - 2;
334
-
335
- if (endRow > startRow) {
336
- while (endRow > startRow && (!getTokenType(endRow) || token.value[0] == "["))
337
- endRow--;
338
- }
339
-
340
- if (endRow > startRow) {
341
- var endColumn = session.getLine(endRow).length;
342
- return new Range(startRow, startColumn, endRow, endColumn);
343
- }
344
- } else {
345
- var state = session.bgTokenizer.getState(row);
346
- if (state == "dissallowDelimitedBlock") {
347
- while (row -- > 0) {
348
- if (session.bgTokenizer.getState(row).lastIndexOf("Block") == -1)
349
- break;
350
- }
351
- endRow = row + 1;
352
- if (endRow < startRow) {
353
- var endColumn = session.getLine(row).length;
354
- return new Range(endRow, 5, startRow, startColumn - 5);
355
- }
356
- } else {
357
- while (++row < maxRow) {
358
- if (session.bgTokenizer.getState(row) == "dissallowDelimitedBlock")
359
- break;
360
- }
361
- endRow = row;
362
- if (endRow > startRow) {
363
- var endColumn = session.getLine(row).length;
364
- return new Range(startRow, 5, endRow, endColumn - 5);
365
- }
366
- }
367
- }
368
- };
369
-
370
- }).call(FoldMode.prototype);
371
-
372
- });