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,635 +0,0 @@
1
- define('ace/mode/jsx', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/jsx_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) {
2
-
3
-
4
- var oop = require("../lib/oop");
5
- var TextMode = require("./text").Mode;
6
- var Tokenizer = require("../tokenizer").Tokenizer;
7
- var JsxHighlightRules = require("./jsx_highlight_rules").JsxHighlightRules;
8
- var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent;
9
- var CstyleBehaviour = require("./behaviour/cstyle").CstyleBehaviour;
10
- var CStyleFoldMode = require("./folding/cstyle").FoldMode;
11
-
12
- function Mode() {
13
- this.$tokenizer = new Tokenizer(new JsxHighlightRules().getRules());
14
- this.$outdent = new MatchingBraceOutdent();
15
- this.$behaviour = new CstyleBehaviour();
16
- this.foldingRules = new CStyleFoldMode();
17
- }
18
- oop.inherits(Mode, TextMode);
19
-
20
- (function() {
21
-
22
- this.getNextLineIndent = function(state, line, tab) {
23
- var indent = this.$getIndent(line);
24
-
25
- var tokenizedLine = this.$tokenizer.getLineTokens(line, state);
26
- var tokens = tokenizedLine.tokens;
27
-
28
- if (tokens.length && tokens[tokens.length-1].type == "comment") {
29
- return indent;
30
- }
31
-
32
- if (state == "start") {
33
- var match = line.match(/^.*[\{\(\[]\s*$/);
34
- if (match) {
35
- indent += tab;
36
- }
37
- }
38
-
39
- return indent;
40
- };
41
-
42
- this.checkOutdent = function(state, line, input) {
43
- return this.$outdent.checkOutdent(line, input);
44
- };
45
-
46
- this.autoOutdent = function(state, doc, row) {
47
- this.$outdent.autoOutdent(doc, row);
48
- };
49
-
50
- }).call(Mode.prototype);
51
-
52
- exports.Mode = Mode;
53
- });
54
- define('ace/mode/jsx_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/lib/lang', 'ace/mode/doc_comment_highlight_rules', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
55
- var oop = require("../lib/oop");
56
- var lang = require("../lib/lang");
57
- var DocCommentHighlightRules = require("./doc_comment_highlight_rules").DocCommentHighlightRules;
58
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
59
-
60
- var JsxHighlightRules = function() {
61
- var keywords = lang.arrayToMap(
62
- ("break|do|instanceof|typeof|case|else|new|var|catch|finally|return|void|continue|for|switch|default|while|function|this|" +
63
- "if|throw|" +
64
- "delete|in|try|" +
65
- "class|extends|super|import|from|into|implements|interface|static|mixin|override|abstract|final|" +
66
- "number|int|string|boolean|variant|" +
67
- "log|assert").split("|")
68
- );
69
-
70
- var buildinConstants = lang.arrayToMap(
71
- ("null|true|false|NaN|Infinity|__FILE__|__LINE__|undefined").split("|")
72
- );
73
-
74
- var reserved = lang.arrayToMap(
75
- ("debugger|with|" +
76
- "const|export|" +
77
- "let|private|public|yield|protected|" +
78
- "extern|native|as|operator|__fake__|__readonly__").split("|")
79
- );
80
-
81
- var identifierRe = "[a-zA-Z_][a-zA-Z0-9_]*\\b";
82
-
83
- this.$rules = {
84
- "start" : [
85
- {
86
- token : "comment",
87
- regex : "\\/\\/.*$"
88
- },
89
- DocCommentHighlightRules.getStartRule("doc-start"),
90
- {
91
- token : "comment", // multi line comment
92
- regex : "\\/\\*",
93
- next : "comment"
94
- }, {
95
- token : "string.regexp",
96
- regex : "[/](?:(?:\\[(?:\\\\]|[^\\]])+\\])|(?:\\\\/|[^\\]/]))*[/]\\w*\\s*(?=[).,;]|$)"
97
- }, {
98
- token : "string", // single line
99
- regex : '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'
100
- }, {
101
- token : "string", // single line
102
- regex : "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"
103
- }, {
104
- token : "constant.numeric", // hex
105
- regex : "0[xX][0-9a-fA-F]+\\b"
106
- }, {
107
- token : "constant.numeric", // float
108
- regex : "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"
109
- }, {
110
- token : "constant.language.boolean",
111
- regex : "(?:true|false)\\b"
112
- }, {
113
- token : [
114
- "storage.type",
115
- "text",
116
- "entity.name.function"
117
- ],
118
- regex : "(function)(\\s+)(" + identifierRe + ")"
119
- }, {
120
- token : function(value) {
121
- if (value == "this")
122
- return "variable.language";
123
- else if (value == "function")
124
- return "storage.type";
125
- else if (keywords.hasOwnProperty(value) || reserved.hasOwnProperty(value))
126
- return "keyword";
127
- else if (buildinConstants.hasOwnProperty(value))
128
- return "constant.language";
129
- else if (/^_?[A-Z][a-zA-Z0-9_]*$/.test(value))
130
- return "language.support.class";
131
- else
132
- return "identifier";
133
- },
134
- regex : identifierRe
135
- }, {
136
- token : "keyword.operator",
137
- regex : "!|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|instanceof|new|delete|typeof|void)"
138
- }, {
139
- token : "punctuation.operator",
140
- regex : "\\?|\\:|\\,|\\;|\\."
141
- }, {
142
- token : "paren.lparen",
143
- regex : "[[({<]"
144
- }, {
145
- token : "paren.rparen",
146
- regex : "[\\])}>]"
147
- }, {
148
- token : "text",
149
- regex : "\\s+"
150
- }
151
- ],
152
- "comment" : [
153
- {
154
- token : "comment", // closing comment
155
- regex : ".*?\\*\\/",
156
- next : "start"
157
- }, {
158
- token : "comment", // comment spanning whole line
159
- regex : ".+"
160
- }
161
- ]
162
- };
163
-
164
- this.embedRules(DocCommentHighlightRules, "doc-",
165
- [ DocCommentHighlightRules.getEndRule("start") ]);
166
- };
167
-
168
- oop.inherits(JsxHighlightRules, TextHighlightRules);
169
-
170
- exports.JsxHighlightRules = JsxHighlightRules;
171
- });
172
-
173
- define('ace/mode/doc_comment_highlight_rules', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text_highlight_rules'], function(require, exports, module) {
174
-
175
-
176
- var oop = require("../lib/oop");
177
- var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
178
-
179
- var DocCommentHighlightRules = function() {
180
-
181
- this.$rules = {
182
- "start" : [ {
183
- token : "comment.doc.tag",
184
- regex : "@[\\w\\d_]+" // TODO: fix email addresses
185
- }, {
186
- token : "comment.doc",
187
- regex : "\\s+"
188
- }, {
189
- token : "comment.doc",
190
- regex : "TODO"
191
- }, {
192
- token : "comment.doc",
193
- regex : "[^@\\*]+"
194
- }, {
195
- token : "comment.doc",
196
- regex : "."
197
- }]
198
- };
199
- };
200
-
201
- oop.inherits(DocCommentHighlightRules, TextHighlightRules);
202
-
203
- DocCommentHighlightRules.getStartRule = function(start) {
204
- return {
205
- token : "comment.doc", // doc comment
206
- regex : "\\/\\*(?=\\*)",
207
- next : start
208
- };
209
- };
210
-
211
- DocCommentHighlightRules.getEndRule = function (start) {
212
- return {
213
- token : "comment.doc", // closing comment
214
- regex : "\\*\\/",
215
- next : start
216
- };
217
- };
218
-
219
-
220
- exports.DocCommentHighlightRules = DocCommentHighlightRules;
221
-
222
- });
223
-
224
- define('ace/mode/matching_brace_outdent', ['require', 'exports', 'module' , 'ace/range'], function(require, exports, module) {
225
-
226
-
227
- var Range = require("../range").Range;
228
-
229
- var MatchingBraceOutdent = function() {};
230
-
231
- (function() {
232
-
233
- this.checkOutdent = function(line, input) {
234
- if (! /^\s+$/.test(line))
235
- return false;
236
-
237
- return /^\s*\}/.test(input);
238
- };
239
-
240
- this.autoOutdent = function(doc, row) {
241
- var line = doc.getLine(row);
242
- var match = line.match(/^(\s*\})/);
243
-
244
- if (!match) return 0;
245
-
246
- var column = match[1].length;
247
- var openBracePos = doc.findMatchingBracket({row: row, column: column});
248
-
249
- if (!openBracePos || openBracePos.row == row) return 0;
250
-
251
- var indent = this.$getIndent(doc.getLine(openBracePos.row));
252
- doc.replace(new Range(row, 0, row, column-1), indent);
253
- };
254
-
255
- this.$getIndent = function(line) {
256
- var match = line.match(/^(\s+)/);
257
- if (match) {
258
- return match[1];
259
- }
260
-
261
- return "";
262
- };
263
-
264
- }).call(MatchingBraceOutdent.prototype);
265
-
266
- exports.MatchingBraceOutdent = MatchingBraceOutdent;
267
- });
268
-
269
- define('ace/mode/behaviour/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/behaviour', 'ace/token_iterator', 'ace/lib/lang'], function(require, exports, module) {
270
-
271
-
272
- var oop = require("../../lib/oop");
273
- var Behaviour = require("../behaviour").Behaviour;
274
- var TokenIterator = require("../../token_iterator").TokenIterator;
275
- var lang = require("../../lib/lang");
276
-
277
- var SAFE_INSERT_IN_TOKENS =
278
- ["text", "paren.rparen", "punctuation.operator"];
279
- var SAFE_INSERT_BEFORE_TOKENS =
280
- ["text", "paren.rparen", "punctuation.operator", "comment"];
281
-
282
-
283
- var autoInsertedBrackets = 0;
284
- var autoInsertedRow = -1;
285
- var autoInsertedLineEnd = "";
286
- var maybeInsertedBrackets = 0;
287
- var maybeInsertedRow = -1;
288
- var maybeInsertedLineStart = "";
289
- var maybeInsertedLineEnd = "";
290
-
291
- var CstyleBehaviour = function () {
292
-
293
- CstyleBehaviour.isSaneInsertion = function(editor, session) {
294
- var cursor = editor.getCursorPosition();
295
- var iterator = new TokenIterator(session, cursor.row, cursor.column);
296
- if (!this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS)) {
297
- var iterator2 = new TokenIterator(session, cursor.row, cursor.column + 1);
298
- if (!this.$matchTokenType(iterator2.getCurrentToken() || "text", SAFE_INSERT_IN_TOKENS))
299
- return false;
300
- }
301
- iterator.stepForward();
302
- return iterator.getCurrentTokenRow() !== cursor.row ||
303
- this.$matchTokenType(iterator.getCurrentToken() || "text", SAFE_INSERT_BEFORE_TOKENS);
304
- };
305
-
306
- CstyleBehaviour.$matchTokenType = function(token, types) {
307
- return types.indexOf(token.type || token) > -1;
308
- };
309
-
310
- CstyleBehaviour.recordAutoInsert = function(editor, session, bracket) {
311
- var cursor = editor.getCursorPosition();
312
- var line = session.doc.getLine(cursor.row);
313
- if (!this.isAutoInsertedClosing(cursor, line, autoInsertedLineEnd[0]))
314
- autoInsertedBrackets = 0;
315
- autoInsertedRow = cursor.row;
316
- autoInsertedLineEnd = bracket + line.substr(cursor.column);
317
- autoInsertedBrackets++;
318
- };
319
-
320
- CstyleBehaviour.recordMaybeInsert = function(editor, session, bracket) {
321
- var cursor = editor.getCursorPosition();
322
- var line = session.doc.getLine(cursor.row);
323
- if (!this.isMaybeInsertedClosing(cursor, line))
324
- maybeInsertedBrackets = 0;
325
- maybeInsertedRow = cursor.row;
326
- maybeInsertedLineStart = line.substr(0, cursor.column) + bracket;
327
- maybeInsertedLineEnd = line.substr(cursor.column);
328
- maybeInsertedBrackets++;
329
- };
330
-
331
- CstyleBehaviour.isAutoInsertedClosing = function(cursor, line, bracket) {
332
- return autoInsertedBrackets > 0 &&
333
- cursor.row === autoInsertedRow &&
334
- bracket === autoInsertedLineEnd[0] &&
335
- line.substr(cursor.column) === autoInsertedLineEnd;
336
- };
337
-
338
- CstyleBehaviour.isMaybeInsertedClosing = function(cursor, line) {
339
- return maybeInsertedBrackets > 0 &&
340
- cursor.row === maybeInsertedRow &&
341
- line.substr(cursor.column) === maybeInsertedLineEnd &&
342
- line.substr(0, cursor.column) == maybeInsertedLineStart;
343
- };
344
-
345
- CstyleBehaviour.popAutoInsertedClosing = function() {
346
- autoInsertedLineEnd = autoInsertedLineEnd.substr(1);
347
- autoInsertedBrackets--;
348
- };
349
-
350
- CstyleBehaviour.clearMaybeInsertedClosing = function() {
351
- maybeInsertedBrackets = 0;
352
- maybeInsertedRow = -1;
353
- };
354
-
355
- this.add("braces", "insertion", function (state, action, editor, session, text) {
356
- var cursor = editor.getCursorPosition();
357
- var line = session.doc.getLine(cursor.row);
358
- if (text == '{') {
359
- var selection = editor.getSelectionRange();
360
- var selected = session.doc.getTextRange(selection);
361
- if (selected !== "" && selected !== "{" && editor.getWrapBehavioursEnabled()) {
362
- return {
363
- text: '{' + selected + '}',
364
- selection: false
365
- };
366
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
367
- if (/[\]\}\)]/.test(line[cursor.column])) {
368
- CstyleBehaviour.recordAutoInsert(editor, session, "}");
369
- return {
370
- text: '{}',
371
- selection: [1, 1]
372
- };
373
- } else {
374
- CstyleBehaviour.recordMaybeInsert(editor, session, "{");
375
- return {
376
- text: '{',
377
- selection: [1, 1]
378
- };
379
- }
380
- }
381
- } else if (text == '}') {
382
- var rightChar = line.substring(cursor.column, cursor.column + 1);
383
- if (rightChar == '}') {
384
- var matching = session.$findOpeningBracket('}', {column: cursor.column + 1, row: cursor.row});
385
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
386
- CstyleBehaviour.popAutoInsertedClosing();
387
- return {
388
- text: '',
389
- selection: [1, 1]
390
- };
391
- }
392
- }
393
- } else if (text == "\n" || text == "\r\n") {
394
- var closing = "";
395
- if (CstyleBehaviour.isMaybeInsertedClosing(cursor, line)) {
396
- closing = lang.stringRepeat("}", maybeInsertedBrackets);
397
- CstyleBehaviour.clearMaybeInsertedClosing();
398
- }
399
- var rightChar = line.substring(cursor.column, cursor.column + 1);
400
- if (rightChar == '}' || closing !== "") {
401
- var openBracePos = session.findMatchingBracket({row: cursor.row, column: cursor.column}, '}');
402
- if (!openBracePos)
403
- return null;
404
-
405
- var indent = this.getNextLineIndent(state, line.substring(0, cursor.column), session.getTabString());
406
- var next_indent = this.$getIndent(line);
407
-
408
- return {
409
- text: '\n' + indent + '\n' + next_indent + closing,
410
- selection: [1, indent.length, 1, indent.length]
411
- };
412
- }
413
- }
414
- });
415
-
416
- this.add("braces", "deletion", function (state, action, editor, session, range) {
417
- var selected = session.doc.getTextRange(range);
418
- if (!range.isMultiLine() && selected == '{') {
419
- var line = session.doc.getLine(range.start.row);
420
- var rightChar = line.substring(range.end.column, range.end.column + 1);
421
- if (rightChar == '}') {
422
- range.end.column++;
423
- return range;
424
- } else {
425
- maybeInsertedBrackets--;
426
- }
427
- }
428
- });
429
-
430
- this.add("parens", "insertion", function (state, action, editor, session, text) {
431
- if (text == '(') {
432
- var selection = editor.getSelectionRange();
433
- var selected = session.doc.getTextRange(selection);
434
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
435
- return {
436
- text: '(' + selected + ')',
437
- selection: false
438
- };
439
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
440
- CstyleBehaviour.recordAutoInsert(editor, session, ")");
441
- return {
442
- text: '()',
443
- selection: [1, 1]
444
- };
445
- }
446
- } else if (text == ')') {
447
- var cursor = editor.getCursorPosition();
448
- var line = session.doc.getLine(cursor.row);
449
- var rightChar = line.substring(cursor.column, cursor.column + 1);
450
- if (rightChar == ')') {
451
- var matching = session.$findOpeningBracket(')', {column: cursor.column + 1, row: cursor.row});
452
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
453
- CstyleBehaviour.popAutoInsertedClosing();
454
- return {
455
- text: '',
456
- selection: [1, 1]
457
- };
458
- }
459
- }
460
- }
461
- });
462
-
463
- this.add("parens", "deletion", function (state, action, editor, session, range) {
464
- var selected = session.doc.getTextRange(range);
465
- if (!range.isMultiLine() && selected == '(') {
466
- var line = session.doc.getLine(range.start.row);
467
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
468
- if (rightChar == ')') {
469
- range.end.column++;
470
- return range;
471
- }
472
- }
473
- });
474
-
475
- this.add("brackets", "insertion", function (state, action, editor, session, text) {
476
- if (text == '[') {
477
- var selection = editor.getSelectionRange();
478
- var selected = session.doc.getTextRange(selection);
479
- if (selected !== "" && editor.getWrapBehavioursEnabled()) {
480
- return {
481
- text: '[' + selected + ']',
482
- selection: false
483
- };
484
- } else if (CstyleBehaviour.isSaneInsertion(editor, session)) {
485
- CstyleBehaviour.recordAutoInsert(editor, session, "]");
486
- return {
487
- text: '[]',
488
- selection: [1, 1]
489
- };
490
- }
491
- } else if (text == ']') {
492
- var cursor = editor.getCursorPosition();
493
- var line = session.doc.getLine(cursor.row);
494
- var rightChar = line.substring(cursor.column, cursor.column + 1);
495
- if (rightChar == ']') {
496
- var matching = session.$findOpeningBracket(']', {column: cursor.column + 1, row: cursor.row});
497
- if (matching !== null && CstyleBehaviour.isAutoInsertedClosing(cursor, line, text)) {
498
- CstyleBehaviour.popAutoInsertedClosing();
499
- return {
500
- text: '',
501
- selection: [1, 1]
502
- };
503
- }
504
- }
505
- }
506
- });
507
-
508
- this.add("brackets", "deletion", function (state, action, editor, session, range) {
509
- var selected = session.doc.getTextRange(range);
510
- if (!range.isMultiLine() && selected == '[') {
511
- var line = session.doc.getLine(range.start.row);
512
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
513
- if (rightChar == ']') {
514
- range.end.column++;
515
- return range;
516
- }
517
- }
518
- });
519
-
520
- this.add("string_dquotes", "insertion", function (state, action, editor, session, text) {
521
- if (text == '"' || text == "'") {
522
- var quote = text;
523
- var selection = editor.getSelectionRange();
524
- var selected = session.doc.getTextRange(selection);
525
- if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) {
526
- return {
527
- text: quote + selected + quote,
528
- selection: false
529
- };
530
- } else {
531
- var cursor = editor.getCursorPosition();
532
- var line = session.doc.getLine(cursor.row);
533
- var leftChar = line.substring(cursor.column-1, cursor.column);
534
- if (leftChar == '\\') {
535
- return null;
536
- }
537
- var tokens = session.getTokens(selection.start.row);
538
- var col = 0, token;
539
- var quotepos = -1; // Track whether we're inside an open quote.
540
-
541
- for (var x = 0; x < tokens.length; x++) {
542
- token = tokens[x];
543
- if (token.type == "string") {
544
- quotepos = -1;
545
- } else if (quotepos < 0) {
546
- quotepos = token.value.indexOf(quote);
547
- }
548
- if ((token.value.length + col) > selection.start.column) {
549
- break;
550
- }
551
- col += tokens[x].value.length;
552
- }
553
- 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)))) {
554
- if (!CstyleBehaviour.isSaneInsertion(editor, session))
555
- return;
556
- return {
557
- text: quote + quote,
558
- selection: [1,1]
559
- };
560
- } else if (token && token.type === "string") {
561
- var rightChar = line.substring(cursor.column, cursor.column + 1);
562
- if (rightChar == quote) {
563
- return {
564
- text: '',
565
- selection: [1, 1]
566
- };
567
- }
568
- }
569
- }
570
- }
571
- });
572
-
573
- this.add("string_dquotes", "deletion", function (state, action, editor, session, range) {
574
- var selected = session.doc.getTextRange(range);
575
- if (!range.isMultiLine() && (selected == '"' || selected == "'")) {
576
- var line = session.doc.getLine(range.start.row);
577
- var rightChar = line.substring(range.start.column + 1, range.start.column + 2);
578
- if (rightChar == '"') {
579
- range.end.column++;
580
- return range;
581
- }
582
- }
583
- });
584
-
585
- };
586
-
587
- oop.inherits(CstyleBehaviour, Behaviour);
588
-
589
- exports.CstyleBehaviour = CstyleBehaviour;
590
- });
591
-
592
- define('ace/mode/folding/cstyle', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/range', 'ace/mode/folding/fold_mode'], function(require, exports, module) {
593
-
594
-
595
- var oop = require("../../lib/oop");
596
- var Range = require("../../range").Range;
597
- var BaseFoldMode = require("./fold_mode").FoldMode;
598
-
599
- var FoldMode = exports.FoldMode = function() {};
600
- oop.inherits(FoldMode, BaseFoldMode);
601
-
602
- (function() {
603
-
604
- this.foldingStartMarker = /(\{|\[)[^\}\]]*$|^\s*(\/\*)/;
605
- this.foldingStopMarker = /^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/;
606
-
607
- this.getFoldWidgetRange = function(session, foldStyle, row) {
608
- var line = session.getLine(row);
609
- var match = line.match(this.foldingStartMarker);
610
- if (match) {
611
- var i = match.index;
612
-
613
- if (match[1])
614
- return this.openingBracketBlock(session, match[1], row, i);
615
-
616
- return session.getCommentFoldRange(row, i + match[0].length, 1);
617
- }
618
-
619
- if (foldStyle !== "markbeginend")
620
- return;
621
-
622
- var match = line.match(this.foldingStopMarker);
623
- if (match) {
624
- var i = match.index + match[0].length;
625
-
626
- if (match[1])
627
- return this.closingBracketBlock(session, match[1], row, i);
628
-
629
- return session.getCommentFoldRange(row, i, -1);
630
- }
631
- };
632
-
633
- }).call(FoldMode.prototype);
634
-
635
- });