bedrock_sass 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (466) hide show
  1. checksums.yaml +4 -4
  2. data/assets/_vendor/ace/ace.js +255 -589
  3. data/assets/_vendor/ace/ext-beautify.js +1 -2
  4. data/assets/_vendor/ace/ext-elastic_tabstops_lite.js +2 -2
  5. data/assets/_vendor/ace/ext-emmet.js +4 -4
  6. data/assets/_vendor/ace/ext-error_marker.js +1 -2
  7. data/assets/_vendor/ace/ext-keybinding_menu.js +1 -2
  8. data/assets/_vendor/ace/ext-language_tools.js +5 -9
  9. data/assets/_vendor/ace/ext-linking.js +1 -2
  10. data/assets/_vendor/ace/ext-modelist.js +9 -5
  11. data/assets/_vendor/ace/ext-options.js +10 -7
  12. data/assets/_vendor/ace/ext-rtl.js +1 -2
  13. data/assets/_vendor/ace/ext-searchbox.js +8 -4
  14. data/assets/_vendor/ace/ext-settings_menu.js +10 -7
  15. data/assets/_vendor/ace/ext-spellcheck.js +1 -2
  16. data/assets/_vendor/ace/ext-split.js +1 -2
  17. data/assets/_vendor/ace/ext-static_highlight.js +11 -8
  18. data/assets/_vendor/ace/ext-statusbar.js +1 -2
  19. data/assets/_vendor/ace/ext-textarea.js +1 -5
  20. data/assets/_vendor/ace/ext-themelist.js +2 -4
  21. data/assets/_vendor/ace/ext-whitespace.js +1 -2
  22. data/assets/_vendor/ace/keybinding-emacs.js +6 -2
  23. data/assets/_vendor/ace/keybinding-vim.js +13 -25
  24. data/assets/_vendor/ace/mode-abap.js +2 -3
  25. data/assets/_vendor/ace/mode-abc.js +3 -2
  26. data/assets/_vendor/ace/mode-actionscript.js +2 -2
  27. data/assets/_vendor/ace/mode-ada.js +1 -2
  28. data/assets/_vendor/ace/mode-apache_conf.js +2 -2
  29. data/assets/_vendor/ace/mode-apex.js +457 -0
  30. data/assets/_vendor/ace/mode-applescript.js +1 -2
  31. data/assets/_vendor/ace/mode-asciidoc.js +2 -2
  32. data/assets/_vendor/ace/mode-asl.js +1 -2
  33. data/assets/_vendor/ace/mode-assembly_x86.js +2 -2
  34. data/assets/_vendor/ace/mode-autohotkey.js +1 -2
  35. data/assets/_vendor/ace/mode-batchfile.js +2 -2
  36. data/assets/_vendor/ace/mode-bro.js +2 -2
  37. data/assets/_vendor/ace/mode-c9search.js +1 -2
  38. data/assets/_vendor/ace/mode-c_cpp.js +2 -2
  39. data/assets/_vendor/ace/mode-cirru.js +1 -2
  40. data/assets/_vendor/ace/mode-clojure.js +2 -2
  41. data/assets/_vendor/ace/mode-cobol.js +1 -2
  42. data/assets/_vendor/ace/mode-coffee.js +1 -2
  43. data/assets/_vendor/ace/mode-coldfusion.js +3 -2
  44. data/assets/_vendor/ace/mode-csharp.js +3 -3
  45. data/assets/_vendor/ace/mode-csound_document.js +319 -80
  46. data/assets/_vendor/ace/mode-csound_orchestra.js +323 -86
  47. data/assets/_vendor/ace/mode-csound_score.js +1 -2
  48. data/assets/_vendor/ace/mode-csp.js +1 -2
  49. data/assets/_vendor/ace/mode-css.js +2 -2
  50. data/assets/_vendor/ace/mode-curly.js +3 -2
  51. data/assets/_vendor/ace/mode-d.js +2 -2
  52. data/assets/_vendor/ace/mode-dart.js +24 -14
  53. data/assets/_vendor/ace/mode-diff.js +4 -4
  54. data/assets/_vendor/ace/mode-django.js +3 -2
  55. data/assets/_vendor/ace/mode-dockerfile.js +3 -2
  56. data/assets/_vendor/ace/mode-dot.js +1 -2
  57. data/assets/_vendor/ace/mode-drools.js +3 -2
  58. data/assets/_vendor/ace/mode-edifact.js +2 -2
  59. data/assets/_vendor/ace/mode-eiffel.js +1 -2
  60. data/assets/_vendor/ace/mode-ejs.js +5 -2
  61. data/assets/_vendor/ace/mode-elixir.js +2 -2
  62. data/assets/_vendor/ace/mode-elm.js +1 -2
  63. data/assets/_vendor/ace/mode-erlang.js +2 -2
  64. data/assets/_vendor/ace/mode-forth.js +2 -2
  65. data/assets/_vendor/ace/mode-fortran.js +1 -2
  66. data/assets/_vendor/ace/mode-fsharp.js +1 -2
  67. data/assets/_vendor/ace/mode-fsl.js +258 -0
  68. data/assets/_vendor/ace/mode-ftl.js +3 -2
  69. data/assets/_vendor/ace/mode-gcode.js +1 -2
  70. data/assets/_vendor/ace/mode-gherkin.js +2 -4
  71. data/assets/_vendor/ace/mode-gitignore.js +1 -2
  72. data/assets/_vendor/ace/mode-glsl.js +2 -2
  73. data/assets/_vendor/ace/mode-gobstones.js +3 -2
  74. data/assets/_vendor/ace/mode-golang.js +1 -2
  75. data/assets/_vendor/ace/mode-graphqlschema.js +1 -2
  76. data/assets/_vendor/ace/mode-groovy.js +4 -2
  77. data/assets/_vendor/ace/mode-haml.js +5 -2
  78. data/assets/_vendor/ace/mode-handlebars.js +3 -2
  79. data/assets/_vendor/ace/mode-haskell.js +2 -2
  80. data/assets/_vendor/ace/mode-haskell_cabal.js +1 -2
  81. data/assets/_vendor/ace/mode-haxe.js +2 -2
  82. data/assets/_vendor/ace/mode-hjson.js +2 -2
  83. data/assets/_vendor/ace/mode-html.js +3 -2
  84. data/assets/_vendor/ace/mode-html_elixir.js +4 -2
  85. data/assets/_vendor/ace/mode-html_ruby.js +5 -2
  86. data/assets/_vendor/ace/mode-ini.js +1 -2
  87. data/assets/_vendor/ace/mode-io.js +2 -2
  88. data/assets/_vendor/ace/mode-jack.js +1 -2
  89. data/assets/_vendor/ace/mode-jade.js +14 -115
  90. data/assets/_vendor/ace/mode-java.js +64 -3
  91. data/assets/_vendor/ace/mode-javascript.js +2 -2
  92. data/assets/_vendor/ace/mode-json.js +1 -2
  93. data/assets/_vendor/ace/mode-jsoniq.js +8 -2317
  94. data/assets/_vendor/ace/mode-jsp.js +4 -2
  95. data/assets/_vendor/ace/mode-jssm.js +2 -2
  96. data/assets/_vendor/ace/mode-jsx.js +1 -2
  97. data/assets/_vendor/ace/mode-julia.js +2 -2
  98. data/assets/_vendor/ace/mode-kotlin.js +2 -2
  99. data/assets/_vendor/ace/mode-latex.js +1 -2
  100. data/assets/_vendor/ace/mode-less.js +4 -2
  101. data/assets/_vendor/ace/mode-liquid.js +2026 -477
  102. data/assets/_vendor/ace/mode-lisp.js +2 -2
  103. data/assets/_vendor/ace/mode-livescript.js +1 -2
  104. data/assets/_vendor/ace/mode-logiql.js +2 -2
  105. data/assets/_vendor/ace/mode-logtalk.js +352 -0
  106. data/assets/_vendor/ace/mode-lsl.js +1 -2
  107. data/assets/_vendor/ace/mode-lua.js +1 -2
  108. data/assets/_vendor/ace/mode-luapage.js +3 -2
  109. data/assets/_vendor/ace/mode-lucene.js +2 -3
  110. data/assets/_vendor/ace/mode-makefile.js +3 -2
  111. data/assets/_vendor/ace/mode-markdown.js +5 -2
  112. data/assets/_vendor/ace/mode-mask.js +3 -2
  113. data/assets/_vendor/ace/mode-matlab.js +1 -2
  114. data/assets/_vendor/ace/mode-maze.js +2 -2
  115. data/assets/_vendor/ace/mode-mel.js +2 -2
  116. data/assets/_vendor/ace/mode-mixal.js +1 -2
  117. data/assets/_vendor/ace/mode-mushcode.js +2 -2
  118. data/assets/_vendor/ace/mode-mysql.js +3 -4
  119. data/assets/_vendor/ace/mode-nix.js +2 -2
  120. data/assets/_vendor/ace/mode-nsis.js +2 -2
  121. data/assets/_vendor/ace/mode-objectivec.js +3 -2
  122. data/assets/_vendor/ace/mode-ocaml.js +1 -2
  123. data/assets/_vendor/ace/mode-pascal.js +2 -2
  124. data/assets/_vendor/ace/mode-perl.js +2 -2
  125. data/assets/_vendor/ace/mode-perl6.js +593 -0
  126. data/assets/_vendor/ace/mode-pgsql.js +304 -69
  127. data/assets/_vendor/ace/mode-php.js +844 -1029
  128. data/assets/_vendor/ace/mode-php_laravel_blade.js +844 -1029
  129. data/assets/_vendor/ace/mode-pig.js +2 -2
  130. data/assets/_vendor/ace/mode-plain_text.js +1 -2
  131. data/assets/_vendor/ace/mode-powershell.js +2 -2
  132. data/assets/_vendor/ace/mode-praat.js +2 -2
  133. data/assets/_vendor/ace/mode-prolog.js +2 -2
  134. data/assets/_vendor/ace/mode-properties.js +1 -2
  135. data/assets/_vendor/ace/mode-protobuf.js +2 -2
  136. data/assets/_vendor/ace/mode-puppet.js +1 -2
  137. data/assets/_vendor/ace/mode-python.js +297 -63
  138. data/assets/_vendor/ace/mode-r.js +3 -2
  139. data/assets/_vendor/ace/mode-razor.js +9 -3
  140. data/assets/_vendor/ace/mode-rdoc.js +2 -2
  141. data/assets/_vendor/ace/mode-red.js +2 -2
  142. data/assets/_vendor/ace/mode-redshift.js +1 -2
  143. data/assets/_vendor/ace/mode-rhtml.js +5 -2
  144. data/assets/_vendor/ace/mode-rst.js +1 -2
  145. data/assets/_vendor/ace/mode-ruby.js +3 -2
  146. data/assets/_vendor/ace/mode-rust.js +2 -2
  147. data/assets/_vendor/ace/mode-sass.js +205 -117
  148. data/assets/_vendor/ace/mode-scad.js +2 -2
  149. data/assets/_vendor/ace/mode-scala.js +3 -2
  150. data/assets/_vendor/ace/mode-scheme.js +2 -2
  151. data/assets/_vendor/ace/mode-scss.js +204 -115
  152. data/assets/_vendor/ace/mode-sh.js +3 -2
  153. data/assets/_vendor/ace/mode-sjs.js +2 -2
  154. data/assets/_vendor/ace/mode-slim.js +18 -117
  155. data/assets/_vendor/ace/mode-smarty.js +3 -2
  156. data/assets/_vendor/ace/mode-snippets.js +1 -2
  157. data/assets/_vendor/ace/mode-soy_template.js +4 -2
  158. data/assets/_vendor/ace/mode-space.js +1 -2
  159. data/assets/_vendor/ace/mode-sparql.js +2 -2
  160. data/assets/_vendor/ace/mode-sql.js +2 -3
  161. data/assets/_vendor/ace/mode-sqlserver.js +2 -2
  162. data/assets/_vendor/ace/mode-stylus.js +3 -2
  163. data/assets/_vendor/ace/mode-svg.js +2 -2
  164. data/assets/_vendor/ace/mode-swift.js +1 -2
  165. data/assets/_vendor/ace/mode-tcl.js +2 -2
  166. data/assets/_vendor/ace/mode-terraform.js +1 -2
  167. data/assets/_vendor/ace/mode-tex.js +2 -2
  168. data/assets/_vendor/ace/mode-text.js +1 -2
  169. data/assets/_vendor/ace/mode-textile.js +1 -2
  170. data/assets/_vendor/ace/mode-toml.js +1 -2
  171. data/assets/_vendor/ace/mode-tsx.js +2 -2
  172. data/assets/_vendor/ace/mode-turtle.js +2 -2
  173. data/assets/_vendor/ace/mode-twig.js +3 -2
  174. data/assets/_vendor/ace/mode-typescript.js +2 -2
  175. data/assets/_vendor/ace/mode-vala.js +2 -2
  176. data/assets/_vendor/ace/mode-vbscript.js +1 -2
  177. data/assets/_vendor/ace/mode-velocity.js +4 -2
  178. data/assets/_vendor/ace/mode-verilog.js +1 -2
  179. data/assets/_vendor/ace/mode-vhdl.js +1 -2
  180. data/assets/_vendor/ace/mode-visualforce.js +2641 -0
  181. data/assets/_vendor/ace/mode-wollok.js +3 -2
  182. data/assets/_vendor/ace/mode-xml.js +1 -2
  183. data/assets/_vendor/ace/mode-xquery.js +8 -2287
  184. data/assets/_vendor/ace/mode-yaml.js +1 -2
  185. data/assets/_vendor/ace/snippets/abap.js +2 -3
  186. data/assets/_vendor/ace/snippets/abc.js +1 -2
  187. data/assets/_vendor/ace/snippets/actionscript.js +1 -2
  188. data/assets/_vendor/ace/snippets/ada.js +2 -3
  189. data/assets/_vendor/ace/snippets/apache_conf.js +2 -3
  190. data/assets/_vendor/ace/snippets/apex.js +14 -0
  191. data/assets/_vendor/ace/snippets/applescript.js +2 -3
  192. data/assets/_vendor/ace/snippets/asciidoc.js +2 -3
  193. data/assets/_vendor/ace/snippets/asl.js +2 -3
  194. data/assets/_vendor/ace/snippets/assembly_x86.js +2 -3
  195. data/assets/_vendor/ace/snippets/autohotkey.js +2 -3
  196. data/assets/_vendor/ace/snippets/batchfile.js +2 -3
  197. data/assets/_vendor/ace/snippets/bro.js +1 -2
  198. data/assets/_vendor/ace/snippets/c9search.js +2 -3
  199. data/assets/_vendor/ace/snippets/c_cpp.js +1 -2
  200. data/assets/_vendor/ace/snippets/cirru.js +2 -3
  201. data/assets/_vendor/ace/snippets/clojure.js +1 -2
  202. data/assets/_vendor/ace/snippets/cobol.js +2 -3
  203. data/assets/_vendor/ace/snippets/coffee.js +1 -2
  204. data/assets/_vendor/ace/snippets/coldfusion.js +2 -3
  205. data/assets/_vendor/ace/snippets/csharp.js +2 -3
  206. data/assets/_vendor/ace/snippets/csound_document.js +1 -2
  207. data/assets/_vendor/ace/snippets/csound_orchestra.js +1 -2
  208. data/assets/_vendor/ace/snippets/csound_score.js +2 -3
  209. data/assets/_vendor/ace/snippets/csp.js +1 -2
  210. data/assets/_vendor/ace/snippets/css.js +1 -2
  211. data/assets/_vendor/ace/snippets/curly.js +2 -3
  212. data/assets/_vendor/ace/snippets/d.js +2 -3
  213. data/assets/_vendor/ace/snippets/dart.js +1 -2
  214. data/assets/_vendor/ace/snippets/diff.js +1 -2
  215. data/assets/_vendor/ace/snippets/django.js +1 -2
  216. data/assets/_vendor/ace/snippets/dockerfile.js +2 -3
  217. data/assets/_vendor/ace/snippets/dot.js +2 -3
  218. data/assets/_vendor/ace/snippets/drools.js +1 -2
  219. data/assets/_vendor/ace/snippets/edifact.js +1 -2
  220. data/assets/_vendor/ace/snippets/eiffel.js +2 -3
  221. data/assets/_vendor/ace/snippets/ejs.js +2 -3
  222. data/assets/_vendor/ace/snippets/elixir.js +1 -2
  223. data/assets/_vendor/ace/snippets/elm.js +2 -3
  224. data/assets/_vendor/ace/snippets/erlang.js +1 -2
  225. data/assets/_vendor/ace/snippets/forth.js +2 -3
  226. data/assets/_vendor/ace/snippets/fortran.js +2 -3
  227. data/assets/_vendor/ace/snippets/fsharp.js +2 -3
  228. data/assets/_vendor/ace/snippets/fsl.js +14 -0
  229. data/assets/_vendor/ace/snippets/ftl.js +2 -3
  230. data/assets/_vendor/ace/snippets/gcode.js +2 -3
  231. data/assets/_vendor/ace/snippets/gherkin.js +2 -3
  232. data/assets/_vendor/ace/snippets/gitignore.js +2 -3
  233. data/assets/_vendor/ace/snippets/glsl.js +2 -3
  234. data/assets/_vendor/ace/snippets/gobstones.js +1 -2
  235. data/assets/_vendor/ace/snippets/golang.js +2 -3
  236. data/assets/_vendor/ace/snippets/graphqlschema.js +1 -2
  237. data/assets/_vendor/ace/snippets/groovy.js +2 -3
  238. data/assets/_vendor/ace/snippets/haml.js +1 -2
  239. data/assets/_vendor/ace/snippets/handlebars.js +2 -3
  240. data/assets/_vendor/ace/snippets/haskell.js +1 -2
  241. data/assets/_vendor/ace/snippets/haskell_cabal.js +2 -3
  242. data/assets/_vendor/ace/snippets/haxe.js +2 -3
  243. data/assets/_vendor/ace/snippets/hjson.js +1 -2
  244. data/assets/_vendor/ace/snippets/html.js +1 -2
  245. data/assets/_vendor/ace/snippets/html_elixir.js +2 -3
  246. data/assets/_vendor/ace/snippets/html_ruby.js +2 -3
  247. data/assets/_vendor/ace/snippets/ini.js +2 -3
  248. data/assets/_vendor/ace/snippets/io.js +1 -2
  249. data/assets/_vendor/ace/snippets/jack.js +2 -3
  250. data/assets/_vendor/ace/snippets/jade.js +2 -3
  251. data/assets/_vendor/ace/snippets/java.js +1 -2
  252. data/assets/_vendor/ace/snippets/javascript.js +1 -2
  253. data/assets/_vendor/ace/snippets/json.js +2 -3
  254. data/assets/_vendor/ace/snippets/jsoniq.js +1 -2
  255. data/assets/_vendor/ace/snippets/jsp.js +1 -2
  256. data/assets/_vendor/ace/snippets/jssm.js +1 -2
  257. data/assets/_vendor/ace/snippets/jsx.js +2 -3
  258. data/assets/_vendor/ace/snippets/julia.js +2 -3
  259. data/assets/_vendor/ace/snippets/kotlin.js +1 -2
  260. data/assets/_vendor/ace/snippets/latex.js +2 -3
  261. data/assets/_vendor/ace/snippets/less.js +2 -3
  262. data/assets/_vendor/ace/snippets/liquid.js +883 -3
  263. data/assets/_vendor/ace/snippets/lisp.js +2 -3
  264. data/assets/_vendor/ace/snippets/livescript.js +2 -3
  265. data/assets/_vendor/ace/snippets/logiql.js +2 -3
  266. data/assets/_vendor/ace/snippets/logtalk.js +14 -0
  267. data/assets/_vendor/ace/snippets/lsl.js +1 -2
  268. data/assets/_vendor/ace/snippets/lua.js +1 -2
  269. data/assets/_vendor/ace/snippets/luapage.js +2 -3
  270. data/assets/_vendor/ace/snippets/lucene.js +2 -3
  271. data/assets/_vendor/ace/snippets/makefile.js +1 -2
  272. data/assets/_vendor/ace/snippets/markdown.js +1 -2
  273. data/assets/_vendor/ace/snippets/mask.js +2 -3
  274. data/assets/_vendor/ace/snippets/matlab.js +2 -3
  275. data/assets/_vendor/ace/snippets/maze.js +1 -2
  276. data/assets/_vendor/ace/snippets/mel.js +2 -3
  277. data/assets/_vendor/ace/snippets/mixal.js +2 -3
  278. data/assets/_vendor/ace/snippets/mushcode.js +2 -3
  279. data/assets/_vendor/ace/snippets/mysql.js +2 -3
  280. data/assets/_vendor/ace/snippets/nix.js +2 -3
  281. data/assets/_vendor/ace/snippets/nsis.js +1 -2
  282. data/assets/_vendor/ace/snippets/objectivec.js +2 -3
  283. data/assets/_vendor/ace/snippets/ocaml.js +2 -3
  284. data/assets/_vendor/ace/snippets/pascal.js +2 -3
  285. data/assets/_vendor/ace/snippets/perl.js +1 -2
  286. data/assets/_vendor/ace/snippets/perl6.js +14 -0
  287. data/assets/_vendor/ace/snippets/pgsql.js +2 -3
  288. data/assets/_vendor/ace/snippets/php.js +1 -2
  289. data/assets/_vendor/ace/snippets/php_laravel_blade.js +2 -3
  290. data/assets/_vendor/ace/snippets/pig.js +2 -3
  291. data/assets/_vendor/ace/snippets/plain_text.js +2 -3
  292. data/assets/_vendor/ace/snippets/powershell.js +2 -3
  293. data/assets/_vendor/ace/snippets/praat.js +2 -3
  294. data/assets/_vendor/ace/snippets/prolog.js +2 -3
  295. data/assets/_vendor/ace/snippets/properties.js +2 -3
  296. data/assets/_vendor/ace/snippets/protobuf.js +1 -2
  297. data/assets/_vendor/ace/snippets/puppet.js +2 -3
  298. data/assets/_vendor/ace/snippets/python.js +1 -2
  299. data/assets/_vendor/ace/snippets/r.js +1 -2
  300. data/assets/_vendor/ace/snippets/razor.js +1 -2
  301. data/assets/_vendor/ace/snippets/rdoc.js +2 -3
  302. data/assets/_vendor/ace/snippets/red.js +1 -2
  303. data/assets/_vendor/ace/snippets/redshift.js +2 -3
  304. data/assets/_vendor/ace/snippets/rhtml.js +2 -3
  305. data/assets/_vendor/ace/snippets/rst.js +1 -2
  306. data/assets/_vendor/ace/snippets/ruby.js +1 -2
  307. data/assets/_vendor/ace/snippets/rust.js +2 -3
  308. data/assets/_vendor/ace/snippets/sass.js +2 -3
  309. data/assets/_vendor/ace/snippets/scad.js +2 -3
  310. data/assets/_vendor/ace/snippets/scala.js +2 -3
  311. data/assets/_vendor/ace/snippets/scheme.js +2 -3
  312. data/assets/_vendor/ace/snippets/scss.js +2 -3
  313. data/assets/_vendor/ace/snippets/sh.js +1 -2
  314. data/assets/_vendor/ace/snippets/sjs.js +2 -3
  315. data/assets/_vendor/ace/snippets/slim.js +2 -3
  316. data/assets/_vendor/ace/snippets/smarty.js +2 -3
  317. data/assets/_vendor/ace/snippets/snippets.js +1 -2
  318. data/assets/_vendor/ace/snippets/soy_template.js +2 -3
  319. data/assets/_vendor/ace/snippets/space.js +2 -3
  320. data/assets/_vendor/ace/snippets/sparql.js +1 -2
  321. data/assets/_vendor/ace/snippets/sql.js +1 -2
  322. data/assets/_vendor/ace/snippets/sqlserver.js +1 -2
  323. data/assets/_vendor/ace/snippets/stylus.js +2 -3
  324. data/assets/_vendor/ace/snippets/svg.js +2 -3
  325. data/assets/_vendor/ace/snippets/swift.js +2 -3
  326. data/assets/_vendor/ace/snippets/tcl.js +1 -2
  327. data/assets/_vendor/ace/snippets/terraform.js +2 -3
  328. data/assets/_vendor/ace/snippets/tex.js +1 -2
  329. data/assets/_vendor/ace/snippets/text.js +2 -3
  330. data/assets/_vendor/ace/snippets/textile.js +1 -2
  331. data/assets/_vendor/ace/snippets/toml.js +2 -3
  332. data/assets/_vendor/ace/snippets/tsx.js +2 -3
  333. data/assets/_vendor/ace/snippets/turtle.js +1 -2
  334. data/assets/_vendor/ace/snippets/twig.js +2 -3
  335. data/assets/_vendor/ace/snippets/typescript.js +2 -3
  336. data/assets/_vendor/ace/snippets/vala.js +1 -2
  337. data/assets/_vendor/ace/snippets/vbscript.js +2 -3
  338. data/assets/_vendor/ace/snippets/velocity.js +1 -2
  339. data/assets/_vendor/ace/snippets/verilog.js +2 -3
  340. data/assets/_vendor/ace/snippets/vhdl.js +2 -3
  341. data/assets/_vendor/ace/snippets/visualforce.js +14 -0
  342. data/assets/_vendor/ace/snippets/wollok.js +1 -2
  343. data/assets/_vendor/ace/snippets/xml.js +2 -3
  344. data/assets/_vendor/ace/snippets/xquery.js +1 -2
  345. data/assets/_vendor/ace/snippets/yaml.js +2 -3
  346. data/assets/_vendor/ace/theme-ambiance.js +1 -2
  347. data/assets/_vendor/ace/theme-chaos.js +1 -2
  348. data/assets/_vendor/ace/theme-chrome.js +1 -2
  349. data/assets/_vendor/ace/theme-clouds.js +1 -2
  350. data/assets/_vendor/ace/theme-clouds_midnight.js +1 -2
  351. data/assets/_vendor/ace/theme-cobalt.js +1 -2
  352. data/assets/_vendor/ace/theme-crimson_editor.js +1 -2
  353. data/assets/_vendor/ace/theme-dawn.js +1 -2
  354. data/assets/_vendor/ace/theme-dracula.js +1 -2
  355. data/assets/_vendor/ace/theme-dreamweaver.js +1 -2
  356. data/assets/_vendor/ace/theme-eclipse.js +1 -2
  357. data/assets/_vendor/ace/theme-github.js +3 -3
  358. data/assets/_vendor/ace/theme-gob.js +1 -2
  359. data/assets/_vendor/ace/theme-gruvbox.js +1 -2
  360. data/assets/_vendor/ace/theme-idle_fingers.js +1 -2
  361. data/assets/_vendor/ace/theme-iplastic.js +1 -2
  362. data/assets/_vendor/ace/theme-katzenmilch.js +1 -2
  363. data/assets/_vendor/ace/theme-kr_theme.js +1 -2
  364. data/assets/_vendor/ace/theme-kuroir.js +1 -2
  365. data/assets/_vendor/ace/theme-merbivore.js +1 -2
  366. data/assets/_vendor/ace/theme-merbivore_soft.js +1 -2
  367. data/assets/_vendor/ace/theme-mono_industrial.js +1 -2
  368. data/assets/_vendor/ace/theme-monokai.js +1 -2
  369. data/assets/_vendor/ace/theme-pastel_on_dark.js +1 -2
  370. data/assets/_vendor/ace/theme-solarized_dark.js +1 -2
  371. data/assets/_vendor/ace/theme-solarized_light.js +1 -2
  372. data/assets/_vendor/ace/theme-sqlserver.js +1 -2
  373. data/assets/_vendor/ace/theme-terminal.js +1 -2
  374. data/assets/_vendor/ace/theme-textmate.js +1 -2
  375. data/assets/_vendor/ace/theme-tomorrow.js +1 -2
  376. data/assets/_vendor/ace/theme-tomorrow_night.js +1 -2
  377. data/assets/_vendor/ace/theme-tomorrow_night_blue.js +1 -2
  378. data/assets/_vendor/ace/theme-tomorrow_night_bright.js +1 -2
  379. data/assets/_vendor/ace/theme-tomorrow_night_eighties.js +1 -2
  380. data/assets/_vendor/ace/theme-twilight.js +1 -2
  381. data/assets/_vendor/ace/theme-vibrant_ink.js +1 -2
  382. data/assets/_vendor/ace/theme-xcode.js +1 -2
  383. data/assets/_vendor/ace/worker-coffee.js +11 -20
  384. data/assets/_vendor/ace/worker-css.js +23 -20
  385. data/assets/_vendor/ace/worker-html.js +25 -31
  386. data/assets/_vendor/ace/worker-javascript.js +76 -36
  387. data/assets/_vendor/ace/worker-json.js +25 -20
  388. data/assets/_vendor/ace/worker-lua.js +68 -69
  389. data/assets/_vendor/ace/worker-php.js +12 -20
  390. data/assets/_vendor/ace/worker-xml.js +12 -22
  391. data/assets/_vendor/ace/worker-xquery.js +44 -12378
  392. data/assets/_vendor/tinymce/plugins/advlist/plugin.js +137 -137
  393. data/assets/_vendor/tinymce/plugins/anchor/plugin.js +102 -102
  394. data/assets/_vendor/tinymce/plugins/autolink/plugin.js +154 -154
  395. data/assets/_vendor/tinymce/plugins/autoresize/plugin.js +145 -145
  396. data/assets/_vendor/tinymce/plugins/autosave/plugin.js +207 -217
  397. data/assets/_vendor/tinymce/plugins/autosave/plugin.min.js +1 -1
  398. data/assets/_vendor/tinymce/plugins/bbcode/plugin.js +89 -89
  399. data/assets/_vendor/tinymce/plugins/charmap/plugin.js +1246 -1246
  400. data/assets/_vendor/tinymce/plugins/code/plugin.js +80 -80
  401. data/assets/_vendor/tinymce/plugins/codesample/plugin.js +852 -852
  402. data/assets/_vendor/tinymce/plugins/colorpicker/plugin.js +109 -109
  403. data/assets/_vendor/tinymce/plugins/contextmenu/plugin.js +144 -144
  404. data/assets/_vendor/tinymce/plugins/directionality/plugin.js +53 -53
  405. data/assets/_vendor/tinymce/plugins/emoticons/plugin.js +74 -74
  406. data/assets/_vendor/tinymce/plugins/fullpage/plugin.js +464 -464
  407. data/assets/_vendor/tinymce/plugins/fullscreen/plugin.js +152 -152
  408. data/assets/_vendor/tinymce/plugins/help/plugin.js +639 -678
  409. data/assets/_vendor/tinymce/plugins/help/plugin.min.js +1 -1
  410. data/assets/_vendor/tinymce/plugins/hr/plugin.js +29 -29
  411. data/assets/_vendor/tinymce/plugins/image/plugin.js +1119 -1126
  412. data/assets/_vendor/tinymce/plugins/image/plugin.min.js +1 -1
  413. data/assets/_vendor/tinymce/plugins/imagetools/plugin.js +3414 -3445
  414. data/assets/_vendor/tinymce/plugins/imagetools/plugin.min.js +1 -1
  415. data/assets/_vendor/tinymce/plugins/importcss/plugin.js +230 -230
  416. data/assets/_vendor/tinymce/plugins/insertdatetime/plugin.js +152 -152
  417. data/assets/_vendor/tinymce/plugins/legacyoutput/plugin.js +193 -193
  418. data/assets/_vendor/tinymce/plugins/link/plugin.js +646 -646
  419. data/assets/_vendor/tinymce/plugins/lists/plugin.js +2103 -1037
  420. data/assets/_vendor/tinymce/plugins/lists/plugin.min.js +1 -1
  421. data/assets/_vendor/tinymce/plugins/media/plugin.js +1050 -1050
  422. data/assets/_vendor/tinymce/plugins/nonbreaking/plugin.js +69 -69
  423. data/assets/_vendor/tinymce/plugins/noneditable/plugin.js +98 -98
  424. data/assets/_vendor/tinymce/plugins/pagebreak/plugin.js +91 -91
  425. data/assets/_vendor/tinymce/plugins/paste/plugin.js +1725 -1364
  426. data/assets/_vendor/tinymce/plugins/paste/plugin.min.js +1 -1
  427. data/assets/_vendor/tinymce/plugins/preview/plugin.js +107 -107
  428. data/assets/_vendor/tinymce/plugins/print/plugin.js +28 -28
  429. data/assets/_vendor/tinymce/plugins/save/plugin.js +101 -101
  430. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.js +535 -537
  431. data/assets/_vendor/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  432. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.js +683 -681
  433. data/assets/_vendor/tinymce/plugins/spellchecker/plugin.min.js +1 -1
  434. data/assets/_vendor/tinymce/plugins/tabfocus/plugin.js +95 -95
  435. data/assets/_vendor/tinymce/plugins/table/plugin.js +8927 -9805
  436. data/assets/_vendor/tinymce/plugins/table/plugin.min.js +1 -1
  437. data/assets/_vendor/tinymce/plugins/template/plugin.js +305 -311
  438. data/assets/_vendor/tinymce/plugins/template/plugin.min.js +1 -1
  439. data/assets/_vendor/tinymce/plugins/textcolor/plugin.js +317 -317
  440. data/assets/_vendor/tinymce/plugins/textpattern/plugin.js +575 -329
  441. data/assets/_vendor/tinymce/plugins/textpattern/plugin.min.js +1 -1
  442. data/assets/_vendor/tinymce/plugins/toc/plugin.js +201 -201
  443. data/assets/_vendor/tinymce/plugins/visualblocks/plugin.js +113 -113
  444. data/assets/_vendor/tinymce/plugins/visualchars/plugin.js +419 -471
  445. data/assets/_vendor/tinymce/plugins/visualchars/plugin.min.js +1 -1
  446. data/assets/_vendor/tinymce/plugins/wordcount/plugin.js +371 -308
  447. data/assets/_vendor/tinymce/plugins/wordcount/plugin.min.js +1 -1
  448. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.eot +0 -0
  449. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.svg +1 -0
  450. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.ttf +0 -0
  451. data/assets/_vendor/tinymce/skins/lightgray/fonts/tinymce.woff +0 -0
  452. data/assets/_vendor/tinymce/skins/lightgray/skin.min.css +1 -1
  453. data/assets/_vendor/tinymce/themes/inlite/theme.js +9272 -9686
  454. data/assets/_vendor/tinymce/themes/inlite/theme.min.js +1 -1
  455. data/assets/_vendor/tinymce/themes/mobile/theme.js +12130 -13042
  456. data/assets/_vendor/tinymce/themes/mobile/theme.min.js +1 -1
  457. data/assets/_vendor/tinymce/themes/modern/theme.js +9090 -9504
  458. data/assets/_vendor/tinymce/themes/modern/theme.min.js +1 -1
  459. data/assets/_vendor/tinymce/tinymce.js +24914 -25218
  460. data/assets/bedrock/js/bedrock.js +1 -1
  461. data/assets/bedrock/scss/components/no-content.scss +5 -0
  462. data/assets/bedrock/scss/components/select-box.scss +1 -1
  463. data/lib/bedrock_sass.rb +51 -16
  464. data/lib/bedrock_sass/engine.rb +3 -2
  465. data/lib/bedrock_sass/version.rb +1 -1
  466. metadata +17 -7
@@ -46,8 +46,7 @@ var StatusBar = function(editor, parentNode) {
46
46
 
47
47
  exports.StatusBar = StatusBar;
48
48
 
49
- });
50
- (function() {
49
+ }); (function() {
51
50
  window.require(["ace/ext/statusbar"], function(m) {
52
51
  if (typeof module == "object" && typeof exports == "object" && module) {
53
52
  module.exports = m;
@@ -170,7 +170,6 @@ function setupContainer(element, getValue) {
170
170
 
171
171
  var parentNode = element.parentNode;
172
172
  var container = document.createElement('div');
173
- //
174
173
  var resizeEvent = function() {
175
174
  var style = 'position:relative;';
176
175
  [
@@ -212,8 +211,6 @@ exports.transformTextarea = function(element, options) {
212
211
  });
213
212
  element.style.display = 'none';
214
213
  container.style.background = 'white';
215
-
216
- //
217
214
  var editorDiv = document.createElement("div");
218
215
  applyStyles(editorDiv, {
219
216
  top: "0px",
@@ -556,8 +553,7 @@ exports.defaultOptions = {
556
553
  showInvisibles: "false"
557
554
  };
558
555
 
559
- });
560
- (function() {
556
+ }); (function() {
561
557
  window.require(["ace/ext/textarea"], function(m) {
562
558
  if (typeof module == "object" && typeof exports == "object" && module) {
563
559
  module.exports = m;
@@ -1,6 +1,5 @@
1
- define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(require, exports, module) {
1
+ define("ace/ext/themelist",["require","exports","module"], function(require, exports, module) {
2
2
  "use strict";
3
- require("ace/lib/fixoldbrowsers");
4
3
 
5
4
  var themeData = [
6
5
  ["Chrome" ],
@@ -56,8 +55,7 @@ exports.themes = themeData.map(function(data) {
56
55
  return theme;
57
56
  });
58
57
 
59
- });
60
- (function() {
58
+ }); (function() {
61
59
  window.require(["ace/ext/themelist"], function(m) {
62
60
  if (typeof module == "object" && typeof exports == "object" && module) {
63
61
  module.exports = m;
@@ -199,8 +199,7 @@ exports.commands = [{
199
199
  }
200
200
  }];
201
201
 
202
- });
203
- (function() {
202
+ }); (function() {
204
203
  window.require(["ace/ext/whitespace"], function(m) {
205
204
  if (typeof module == "object" && typeof exports == "object" && module) {
206
205
  module.exports = m;
@@ -379,6 +379,7 @@ function IncrementalSearch() {
379
379
  }
380
380
 
381
381
  oop.inherits(IncrementalSearch, Search);
382
+
382
383
  function isRegExp(obj) {
383
384
  return obj instanceof RegExp;
384
385
  }
@@ -402,6 +403,7 @@ function stringToRegExp(string, flags) {
402
403
  function objectToRegExp(obj) {
403
404
  return stringToRegExp(obj.expression, obj.flags);
404
405
  }
406
+
405
407
  (function() {
406
408
 
407
409
  this.activate = function(ed, backwards) {
@@ -969,6 +971,7 @@ exports.handler.addCommands({
969
971
  },
970
972
  setMark: {
971
973
  exec: function(editor, args) {
974
+
972
975
  if (args && args.count) {
973
976
  if (editor.inMultiSelectMode) editor.forEachSelection(moveToMark);
974
977
  else moveToMark();
@@ -993,6 +996,7 @@ exports.handler.addCommands({
993
996
  editor.setEmacsMark(rangePositions[rangePositions.length-1]);
994
997
  return;
995
998
  }
999
+
996
1000
  function moveToMark() {
997
1001
  var mark = editor.popEmacsMark();
998
1002
  mark && editor.moveCursorToPosition(mark);
@@ -1089,6 +1093,7 @@ exports.handler.addCommands({
1089
1093
  },
1090
1094
  killRingSave: {
1091
1095
  exec: function(editor) {
1096
+
1092
1097
  editor.$handlesEmacsOnCopy = true;
1093
1098
  var marks = editor.session.$emacsMarkRing.slice(),
1094
1099
  deselectedMarks = [];
@@ -1154,8 +1159,7 @@ exports.killRing = {
1154
1159
  }
1155
1160
  };
1156
1161
 
1157
- });
1158
- (function() {
1162
+ }); (function() {
1159
1163
  window.require(["ace/keyboard/emacs"], function(m) {
1160
1164
  if (typeof module == "object" && typeof exports == "object" && module) {
1161
1165
  module.exports = m;
@@ -121,7 +121,6 @@ define("ace/keyboard/vim",["require","exports","module","ace/range","ace/lib/eve
121
121
  var curOp = this.curOp = this.curOp || {};
122
122
  if (!curOp.changeHandlers)
123
123
  curOp.changeHandlers = this._eventRegistry["change"] && this._eventRegistry["change"].slice();
124
- if (this.virtualSelectionMode()) return;
125
124
  if (!curOp.lastChange) {
126
125
  curOp.lastChange = curOp.change = change;
127
126
  } else {
@@ -667,12 +666,13 @@ CodeMirror.defineExtension = function(name, fn) {
667
666
  CodeMirror.prototype[name] = fn;
668
667
  };
669
668
  dom.importCssString(".normal-mode .ace_cursor{\
670
- border: 1px solid red;\
671
- background-color: red;\
672
- opacity: 0.5;\
669
+ border: none;\
670
+ background-color: rgba(255,0,0,0.5);\
673
671
  }\
674
672
  .normal-mode .ace_hidden-cursors .ace_cursor{\
675
673
  background-color: transparent;\
674
+ border: 1px solid red;\
675
+ opacity: 0.7\
676
676
  }\
677
677
  .ace_dialog {\
678
678
  position: absolute;\
@@ -766,12 +766,12 @@ dom.importCssString(".normal-mode .ace_cursor{\
766
766
 
767
767
  CodeMirror.on(inp, "keydown", function(e) {
768
768
  if (options && options.onKeyDown && options.onKeyDown(e, inp.value, close)) { return; }
769
+ if (e.keyCode == 13) callback(inp.value);
769
770
  if (e.keyCode == 27 || (options.closeOnEnter !== false && e.keyCode == 13)) {
770
771
  inp.blur();
771
772
  CodeMirror.e_stop(e);
772
773
  close();
773
774
  }
774
- if (e.keyCode == 13) callback(inp.value);
775
775
  });
776
776
 
777
777
  if (options.closeOnBlur !== false) CodeMirror.on(inp, "blur", close);
@@ -1862,7 +1862,6 @@ dom.importCssString(".normal-mode .ace_cursor{\
1862
1862
  });
1863
1863
  }
1864
1864
  function onPromptClose(query) {
1865
- cm.scrollTo(originalScrollPos.left, originalScrollPos.top);
1866
1865
  handleQuery(query, true /** ignoreCase */, true /** smartCase */);
1867
1866
  var macroModeState = vimGlobalState.macroModeState;
1868
1867
  if (macroModeState.isRecording) {
@@ -5062,22 +5061,7 @@ dom.importCssString(".normal-mode .ace_cursor{\
5062
5061
  var insertModeChangeRegister = vimGlobalState.registerController.getRegister('.');
5063
5062
  var isPlaying = macroModeState.isPlaying;
5064
5063
  var lastChange = macroModeState.lastInsertModeChanges;
5065
- var text = [];
5066
5064
  if (!isPlaying) {
5067
- var selLength = lastChange.inVisualBlock && vim.lastSelection ?
5068
- vim.lastSelection.visualBlock.height : 1;
5069
- var changes = lastChange.changes;
5070
- var text = [];
5071
- var i = 0;
5072
- while (i < changes.length) {
5073
- text.push(changes[i]);
5074
- if (changes[i] instanceof InsertModeKey) {
5075
- i++;
5076
- } else {
5077
- i+= selLength;
5078
- }
5079
- }
5080
- lastChange.changes = text;
5081
5065
  cm.off('change', onChange);
5082
5066
  CodeMirror.off(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);
5083
5067
  }
@@ -5200,8 +5184,13 @@ dom.importCssString(".normal-mode .ace_cursor{\
5200
5184
  if (!macroModeState.isPlaying) {
5201
5185
  while(changeObj) {
5202
5186
  lastChange.expectCursorActivityForChange = true;
5203
- if (changeObj.origin == '+input' || changeObj.origin == 'paste'
5187
+ if (lastChange.ignoreCount > 1) {
5188
+ lastChange.ignoreCount--;
5189
+ } else if (changeObj.origin == '+input' || changeObj.origin == 'paste'
5204
5190
  || changeObj.origin === undefined /* only in testing */) {
5191
+ var selectionCount = cm.listSelections().length;
5192
+ if (selectionCount > 1)
5193
+ lastChange.ignoreCount = selectionCount;
5205
5194
  var text = changeObj.text.join('\n');
5206
5195
  if (lastChange.maybeReset) {
5207
5196
  lastChange.changes = [];
@@ -5455,7 +5444,7 @@ dom.importCssString(".normal-mode .ace_cursor{\
5455
5444
  cm.curOp.cursorActivity = false;
5456
5445
  }, true);
5457
5446
  }
5458
- if (isHandled)
5447
+ if (isHandled && !vim.visualMode && !vim.insert)
5459
5448
  handleExternalSelection(cm, vim);
5460
5449
  return isHandled;
5461
5450
  }
@@ -5662,8 +5651,7 @@ dom.importCssString(".normal-mode .ace_cursor{\
5662
5651
  exports.Vim = Vim;
5663
5652
 
5664
5653
  Vim.map("Y", "yy", "normal");
5665
- });
5666
- (function() {
5654
+ }); (function() {
5667
5655
  window.require(["ace/keyboard/vim"], function(m) {
5668
5656
  if (typeof module == "object" && typeof exports == "object" && module) {
5669
5657
  module.exports = m;
@@ -73,7 +73,7 @@ var AbapHighlightRules = function() {
73
73
  {token : "constant.numeric", regex: "[+-]?\\d+\\b"},
74
74
  {token : "variable.parameter", regex : /sy|pa?\d\d\d\d\|t\d\d\d\.|innnn/},
75
75
  {token : "keyword", regex : compoundKeywords},
76
- {token : "variable.parameter", regex : /\w+-\w+(?:-\w+)*/},
76
+ {token : "variable.parameter", regex : /\w+-\w[\-\w]*/},
77
77
  {token : keywordMapper, regex : "\\b\\w+\\b"},
78
78
  {caseInsensitive: true}
79
79
  ],
@@ -211,8 +211,7 @@ oop.inherits(Mode, TextMode);
211
211
 
212
212
  exports.Mode = Mode;
213
213
 
214
- });
215
- (function() {
214
+ }); (function() {
216
215
  window.require(["ace/mode/abap"], function(m) {
217
216
  if (typeof module == "object" && typeof exports == "object" && module) {
218
217
  module.exports = m;
@@ -5,6 +5,7 @@ define("ace/mode/abc_highlight_rules",["require","exports","module","ace/lib/oop
5
5
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
6
 
7
7
  var ABCHighlightRules = function () {
8
+
8
9
  this.$rules = {
9
10
  start: [
10
11
  {
@@ -81,6 +82,7 @@ define("ace/mode/abc_highlight_rules",["require","exports","module","ace/lib/oop
81
82
 
82
83
  ]
83
84
  };
85
+
84
86
  this.normalizeRules();
85
87
  };
86
88
 
@@ -256,8 +258,7 @@ define("ace/mode/abc",["require","exports","module","ace/lib/oop","ace/mode/text
256
258
  }).call(Mode.prototype);
257
259
 
258
260
  exports.Mode = Mode;
259
- });
260
- (function() {
261
+ }); (function() {
261
262
  window.require(["ace/mode/abc"], function(m) {
262
263
  if (typeof module == "object" && typeof exports == "object" && module) {
263
264
  module.exports = m;
@@ -5,6 +5,7 @@ var oop = require("../lib/oop");
5
5
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
6
 
7
7
  var ActionScriptHighlightRules = function() {
8
+
8
9
  this.$rules = { start:
9
10
  [ { token: 'support.class.actionscript.2',
10
11
  regex: '\\b(?:R(?:ecordset|DBMSResolver|adioButton(?:Group)?)|X(?:ML(?:Socket|Node|Connector)?|UpdateResolverDataHolder)|M(?:M(?:Save|Execute)|icrophoneMicrophone|o(?:use|vieClip(?:Loader)?)|e(?:nu(?:Bar)?|dia(?:Controller|Display|Playback))|ath)|B(?:yName|inding|utton)|S(?:haredObject|ystem|crollPane|t(?:yleSheet|age|ream)|ound|e(?:ndEvent|rviceObject)|OAPCall|lide)|N(?:umericStepper|et(?:stream|S(?:tream|ervices)|Connection|Debug(?:Config)?))|C(?:heckBox|o(?:ntextMenu(?:Item)?|okie|lor|m(?:ponentMixins|boBox))|ustomActions|lient|amera)|T(?:ypedValue|ext(?:Snapshot|Input|F(?:ield|ormat)|Area)|ree|AB)|Object|D(?:ownload|elta(?:Item|Packet)?|at(?:e(?:Chooser|Field)?|a(?:G(?:lue|rid)|Set|Type)))|U(?:RL|TC|IScrollBar)|P(?:opUpManager|endingCall|r(?:intJob|o(?:duct|gressBar)))|E(?:ndPoint|rror)|Video|Key|F(?:RadioButton|GridColumn|MessageBox|BarChart|S(?:croll(?:Bar|Pane)|tyleFormat|plitView)|orm|C(?:heckbox|omboBox|alendar)|unction|T(?:icker|ooltip(?:Lite)?|ree(?:Node)?)|IconButton|D(?:ataGrid|raggablePane)|P(?:ieChart|ushButton|ro(?:gressBar|mptBox))|L(?:i(?:stBox|neChart)|oadingBox)|AdvancedMessageBox)|W(?:indow|SDLURL|ebService(?:Connector)?)|L(?:ist|o(?:calConnection|ad(?:er|Vars)|g)|a(?:unch|bel))|A(?:sBroadcaster|cc(?:ordion|essibility)|S(?:Set(?:Native|PropFlags)|N(?:ew|ative)|C(?:onstructor|lamp(?:2)?)|InstanceOf)|pplication|lert|rray))\\b' },
@@ -263,8 +264,7 @@ oop.inherits(Mode, TextMode);
263
264
  }).call(Mode.prototype);
264
265
 
265
266
  exports.Mode = Mode;
266
- });
267
- (function() {
267
+ }); (function() {
268
268
  window.require(["ace/mode/actionscript"], function(m) {
269
269
  if (typeof module == "object" && typeof exports == "object" && module) {
270
270
  module.exports = m;
@@ -127,8 +127,7 @@ oop.inherits(Mode, TextMode);
127
127
 
128
128
  exports.Mode = Mode;
129
129
 
130
- });
131
- (function() {
130
+ }); (function() {
132
131
  window.require(["ace/mode/ada"], function(m) {
133
132
  if (typeof module == "object" && typeof exports == "object" && module) {
134
133
  module.exports = m;
@@ -5,6 +5,7 @@ var oop = require("../lib/oop");
5
5
  var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
6
 
7
7
  var ApacheConfHighlightRules = function() {
8
+
8
9
  this.$rules = { start:
9
10
  [ { token:
10
11
  [ 'punctuation.definition.comment.apacheconf',
@@ -352,8 +353,7 @@ oop.inherits(Mode, TextMode);
352
353
  }).call(Mode.prototype);
353
354
 
354
355
  exports.Mode = Mode;
355
- });
356
- (function() {
356
+ }); (function() {
357
357
  window.require(["ace/mode/apache_conf"], function(m) {
358
358
  if (typeof module == "object" && typeof exports == "object" && module) {
359
359
  module.exports = m;
@@ -0,0 +1,457 @@
1
+ define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module) {
2
+ "use strict";
3
+
4
+ var oop = require("../lib/oop");
5
+ var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules;
6
+
7
+ var DocCommentHighlightRules = function() {
8
+ this.$rules = {
9
+ "start" : [ {
10
+ token : "comment.doc.tag",
11
+ regex : "@[\\w\\d_]+" // TODO: fix email addresses
12
+ },
13
+ DocCommentHighlightRules.getTagRule(),
14
+ {
15
+ defaultToken : "comment.doc",
16
+ caseInsensitive: true
17
+ }]
18
+ };
19
+ };
20
+
21
+ oop.inherits(DocCommentHighlightRules, TextHighlightRules);
22
+
23
+ DocCommentHighlightRules.getTagRule = function(start) {
24
+ return {
25
+ token : "comment.doc.tag.storage.type",
26
+ regex : "\\b(?:TODO|FIXME|XXX|HACK)\\b"
27
+ };
28
+ };
29
+
30
+ DocCommentHighlightRules.getStartRule = function(start) {
31
+ return {
32
+ token : "comment.doc", // doc comment
33
+ regex : "\\/\\*(?=\\*)",
34
+ next : start
35
+ };
36
+ };
37
+
38
+ DocCommentHighlightRules.getEndRule = function (start) {
39
+ return {
40
+ token : "comment.doc", // closing comment
41
+ regex : "\\*\\/",
42
+ next : start
43
+ };
44
+ };
45
+
46
+
47
+ exports.DocCommentHighlightRules = DocCommentHighlightRules;
48
+
49
+ });
50
+
51
+ define("ace/mode/apex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules","ace/mode/doc_comment_highlight_rules"], function(require, exports, module) {
52
+ "use strict";
53
+
54
+ var oop = require("../lib/oop");
55
+ var TextHighlightRules = require("../mode/text_highlight_rules").TextHighlightRules;
56
+ var DocCommentHighlightRules = require("../mode/doc_comment_highlight_rules").DocCommentHighlightRules;
57
+
58
+ var ApexHighlightRules = function() {
59
+ var mainKeywordMapper = this.createKeywordMapper({
60
+ "variable.language": "activate|any|autonomous|begin|bigdecimal|byte|cast|char|collect|const"
61
+ + "|end|exit|export|float|goto|group|having|hint|import|inner|into|join|loop|number|object|of|outer"
62
+ + "|parallel|pragma|retrieve|returning|search|short|stat|synchronized|then|this_month"
63
+ + "|transaction|type|when",
64
+ "keyword": "private|protected|public|native|synchronized|abstract|threadsafe|transient|static|final"
65
+ + "|and|array|as|asc|break|bulk|by|catch|class|commit|continue|convertcurrency"
66
+ + "|delete|desc|do|else|enum|extends|false|final|finally|for|from|future|global"
67
+ + "|if|implements|in|insert|instanceof|interface|last_90_days|last_month"
68
+ + "|last_n_days|last_week|like|limit|list|map|merge|new|next_90_days|next_month|next_n_days"
69
+ + "|next_week|not|null|nulls|on|or|override|package|return"
70
+ + "|rollback|savepoint|select|set|sort|super|testmethod|this|this_week|throw|today"
71
+ + "|tolabel|tomorrow|trigger|true|try|undelete|update|upsert|using|virtual|webservice"
72
+ + "|where|while|yesterday|switch|case|default",
73
+ "storage.type":
74
+ "def|boolean|byte|char|short|int|float|pblob|date|datetime|decimal|double|id|integer|long|string|time|void|blob|Object",
75
+ "constant.language":
76
+ "true|false|null|after|before|count|excludes|first|includes|last|order|sharing|with",
77
+ "support.function":
78
+ "system|apex|label|apexpages|userinfo|schema"
79
+ }, "identifier", true);
80
+ function keywordMapper(value) {
81
+ if (value.slice(-3) == "__c") return "support.function";
82
+ return mainKeywordMapper(value);
83
+ }
84
+
85
+ function string(start, options) {
86
+ return {
87
+ regex: start + (options.multiline ? "" : "(?=.)"),
88
+ token: "string.start",
89
+ next: [{
90
+ regex: options.escape,
91
+ token: "character.escape"
92
+ }, {
93
+ regex: options.error,
94
+ token: "error.invalid"
95
+ }, {
96
+ regex: start + (options.multiline ? "" : "|$"),
97
+ token: "string.end",
98
+ next: options.next || "start"
99
+ }, {
100
+ defaultToken: "string"
101
+ }]
102
+ };
103
+ }
104
+
105
+ function comments() {
106
+ return [{
107
+ token : "comment",
108
+ regex : "\\/\\/(?=.)",
109
+ next : [
110
+ DocCommentHighlightRules.getTagRule(),
111
+ {token : "comment", regex : "$|^", next : "start"},
112
+ {defaultToken : "comment", caseInsensitive: true}
113
+ ]
114
+ },
115
+ DocCommentHighlightRules.getStartRule("doc-start"),
116
+ {
117
+ token : "comment", // multi line comment
118
+ regex : /\/\*/,
119
+ next : [
120
+ DocCommentHighlightRules.getTagRule(),
121
+ {token : "comment", regex : "\\*\\/", next : "start"},
122
+ {defaultToken : "comment", caseInsensitive: true}
123
+ ]
124
+ }
125
+ ];
126
+ }
127
+
128
+ this.$rules = {
129
+ start: [
130
+ string("'", {
131
+ escape: /\\[nb'"\\]/,
132
+ error: /\\./,
133
+ multiline: false
134
+ }),
135
+ comments("c"),
136
+ {
137
+ type: "decoration",
138
+ token: [
139
+ "meta.package.apex",
140
+ "keyword.other.package.apex",
141
+ "meta.package.apex",
142
+ "storage.modifier.package.apex",
143
+ "meta.package.apex",
144
+ "punctuation.terminator.apex"
145
+ ],
146
+ regex: /^(\s*)(package)\b(?:(\s*)([^ ;$]+)(\s*)((?:;)?))?/
147
+ }, {
148
+ regex: /@[a-zA-Z_$][a-zA-Z_$\d\u0080-\ufffe]*/,
149
+ token: "constant.language"
150
+ },
151
+ {
152
+ regex: /[a-zA-Z_$][a-zA-Z_$\d\u0080-\ufffe]*/,
153
+ token: keywordMapper
154
+ },
155
+ {
156
+ regex: "`#%",
157
+ token: "error.invalid"
158
+ }, {
159
+ token : "constant.numeric", // float
160
+ regex : /[+-]?\d+(?:(?:\.\d*)?(?:[LlDdEe][+-]?\d+)?)\b|\.\d+[LlDdEe]/
161
+ }, {
162
+ token : "keyword.operator",
163
+ regex : /--|\+\+|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\|\||\?\:|[!$%&*+\-~\/^]=?/,
164
+ next : "start"
165
+ }, {
166
+ token : "punctuation.operator",
167
+ regex : /[?:,;.]/,
168
+ next : "start"
169
+ }, {
170
+ token : "paren.lparen",
171
+ regex : /[\[]/,
172
+ next : "maybe_soql",
173
+ merge : false
174
+ }, {
175
+ token : "paren.lparen",
176
+ regex : /[\[({]/,
177
+ next : "start",
178
+ merge : false
179
+ }, {
180
+ token : "paren.rparen",
181
+ regex : /[\])}]/,
182
+ merge : false
183
+ }
184
+ ],
185
+ maybe_soql: [{
186
+ regex: /\s+/,
187
+ token: "text"
188
+ }, {
189
+ regex: /(SELECT|FIND)\b/,
190
+ token: "keyword",
191
+ caseInsensitive: true,
192
+ next: "soql"
193
+ }, {
194
+ regex: "",
195
+ token: "none",
196
+ next: "start"
197
+ }],
198
+ soql: [{
199
+ regex: "(:?ASC|BY|CATEGORY|CUBE|DATA|DESC|END|FIND|FIRST|FOR|FROM|GROUP|HAVING|IN|LAST"
200
+ + "|LIMIT|NETWORK|NULLS|OFFSET|ORDER|REFERENCE|RETURNING|ROLLUP|SCOPE|SELECT"
201
+ + "|SNIPPET|TRACKING|TYPEOF|UPDATE|USING|VIEW|VIEWSTAT|WHERE|WITH|AND|OR)\\b",
202
+ token: "keyword",
203
+ caseInsensitive: true
204
+ }, {
205
+ regex: "(:?target_length|toLabel|convertCurrency|count|Contact|Account|User|FIELDS)\\b",
206
+ token: "support.function",
207
+ caseInsensitive: true
208
+ }, {
209
+ token : "paren.rparen",
210
+ regex : /[\]]/,
211
+ next : "start",
212
+ merge : false
213
+ },
214
+ string("'", {
215
+ escape: /\\[nb'"\\]/,
216
+ error: /\\./,
217
+ multiline: false,
218
+ next: "soql"
219
+ }),
220
+ string('"', {
221
+ escape: /\\[nb'"\\]/,
222
+ error: /\\./,
223
+ multiline: false,
224
+ next: "soql"
225
+ }),
226
+ {
227
+ regex: /\\./,
228
+ token: "character.escape"
229
+ },
230
+ {
231
+ regex : /[\?\&\|\!\{\}\[\]\(\)\^\~\*\:\"\'\+\-\,\.=\\\/]/,
232
+ token : "keyword.operator"
233
+ }],
234
+
235
+ "log-start" : [ {
236
+ token : "timestamp.invisible",
237
+ regex : /^[\d:.() ]+\|/,
238
+ next: "log-header"
239
+ }, {
240
+ token : "timestamp.invisible",
241
+ regex : /^ (Number of|Maximum)[^:]*:/,
242
+ next: "log-comment"
243
+ }, {
244
+ token : "invisible",
245
+ regex : /^Execute Anonymous:/,
246
+ next: "log-comment"
247
+ }, {
248
+ defaultToken: "text"
249
+ }],
250
+ "log-comment": [{
251
+ token : "log-comment",
252
+ regex : /.*$/,
253
+ next: "log-start"
254
+ }],
255
+ "log-header": [{
256
+ token : "timestamp.invisible",
257
+ regex : /((USER_DEBUG|\[\d+\]|DEBUG)\|)+/
258
+ },
259
+ {
260
+ token : "keyword",
261
+ regex: "(?:EXECUTION_FINISHED|EXECUTION_STARTED|CODE_UNIT_STARTED"
262
+ + "|CUMULATIVE_LIMIT_USAGE|LIMIT_USAGE_FOR_NS"
263
+ + "|CUMULATIVE_LIMIT_USAGE_END|CODE_UNIT_FINISHED)"
264
+ }, {
265
+ regex: "",
266
+ next: "log-start"
267
+ }]
268
+ };
269
+ this.embedRules(DocCommentHighlightRules, "doc-",
270
+ [ DocCommentHighlightRules.getEndRule("start") ]);
271
+
272
+
273
+ this.normalizeRules();
274
+ };
275
+
276
+
277
+ oop.inherits(ApexHighlightRules, TextHighlightRules);
278
+
279
+ exports.ApexHighlightRules = ApexHighlightRules;
280
+ });
281
+
282
+ define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module) {
283
+ "use strict";
284
+
285
+ var oop = require("../../lib/oop");
286
+ var Range = require("../../range").Range;
287
+ var BaseFoldMode = require("./fold_mode").FoldMode;
288
+
289
+ var FoldMode = exports.FoldMode = function(commentRegex) {
290
+ if (commentRegex) {
291
+ this.foldingStartMarker = new RegExp(
292
+ this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)
293
+ );
294
+ this.foldingStopMarker = new RegExp(
295
+ this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)
296
+ );
297
+ }
298
+ };
299
+ oop.inherits(FoldMode, BaseFoldMode);
300
+
301
+ (function() {
302
+
303
+ this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;
304
+ this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;
305
+ this.singleLineBlockCommentRe= /^\s*(\/\*).*\*\/\s*$/;
306
+ this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/;
307
+ this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/;
308
+ this._getFoldWidgetBase = this.getFoldWidget;
309
+ this.getFoldWidget = function(session, foldStyle, row) {
310
+ var line = session.getLine(row);
311
+
312
+ if (this.singleLineBlockCommentRe.test(line)) {
313
+ if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))
314
+ return "";
315
+ }
316
+
317
+ var fw = this._getFoldWidgetBase(session, foldStyle, row);
318
+
319
+ if (!fw && this.startRegionRe.test(line))
320
+ return "start"; // lineCommentRegionStart
321
+
322
+ return fw;
323
+ };
324
+
325
+ this.getFoldWidgetRange = function(session, foldStyle, row, forceMultiline) {
326
+ var line = session.getLine(row);
327
+
328
+ if (this.startRegionRe.test(line))
329
+ return this.getCommentRegionBlock(session, line, row);
330
+
331
+ var match = line.match(this.foldingStartMarker);
332
+ if (match) {
333
+ var i = match.index;
334
+
335
+ if (match[1])
336
+ return this.openingBracketBlock(session, match[1], row, i);
337
+
338
+ var range = session.getCommentFoldRange(row, i + match[0].length, 1);
339
+
340
+ if (range && !range.isMultiLine()) {
341
+ if (forceMultiline) {
342
+ range = this.getSectionRange(session, row);
343
+ } else if (foldStyle != "all")
344
+ range = null;
345
+ }
346
+
347
+ return range;
348
+ }
349
+
350
+ if (foldStyle === "markbegin")
351
+ return;
352
+
353
+ var match = line.match(this.foldingStopMarker);
354
+ if (match) {
355
+ var i = match.index + match[0].length;
356
+
357
+ if (match[1])
358
+ return this.closingBracketBlock(session, match[1], row, i);
359
+
360
+ return session.getCommentFoldRange(row, i, -1);
361
+ }
362
+ };
363
+
364
+ this.getSectionRange = function(session, row) {
365
+ var line = session.getLine(row);
366
+ var startIndent = line.search(/\S/);
367
+ var startRow = row;
368
+ var startColumn = line.length;
369
+ row = row + 1;
370
+ var endRow = row;
371
+ var maxRow = session.getLength();
372
+ while (++row < maxRow) {
373
+ line = session.getLine(row);
374
+ var indent = line.search(/\S/);
375
+ if (indent === -1)
376
+ continue;
377
+ if (startIndent > indent)
378
+ break;
379
+ var subRange = this.getFoldWidgetRange(session, "all", row);
380
+
381
+ if (subRange) {
382
+ if (subRange.start.row <= startRow) {
383
+ break;
384
+ } else if (subRange.isMultiLine()) {
385
+ row = subRange.end.row;
386
+ } else if (startIndent == indent) {
387
+ break;
388
+ }
389
+ }
390
+ endRow = row;
391
+ }
392
+
393
+ return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);
394
+ };
395
+ this.getCommentRegionBlock = function(session, line, row) {
396
+ var startColumn = line.search(/\s*$/);
397
+ var maxRow = session.getLength();
398
+ var startRow = row;
399
+
400
+ var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;
401
+ var depth = 1;
402
+ while (++row < maxRow) {
403
+ line = session.getLine(row);
404
+ var m = re.exec(line);
405
+ if (!m) continue;
406
+ if (m[1]) depth--;
407
+ else depth++;
408
+
409
+ if (!depth) break;
410
+ }
411
+
412
+ var endRow = row;
413
+ if (endRow > startRow) {
414
+ return new Range(startRow, startColumn, endRow, line.length);
415
+ }
416
+ };
417
+
418
+ }).call(FoldMode.prototype);
419
+
420
+ });
421
+
422
+ define("ace/mode/apex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/apex_highlight_rules","ace/mode/folding/cstyle","ace/mode/behaviour/cstyle"], function(require, exports, module) {
423
+ "use strict";
424
+
425
+ var oop = require("../lib/oop");
426
+ var TextMode = require("../mode/text").Mode;
427
+ var ApexHighlightRules = require("./apex_highlight_rules").ApexHighlightRules;
428
+ var FoldMode = require("../mode/folding/cstyle").FoldMode;
429
+ var CstyleBehaviour = require("../mode/behaviour/cstyle").CstyleBehaviour;
430
+
431
+ function ApexMode() {
432
+ TextMode.call(this);
433
+
434
+ this.HighlightRules = ApexHighlightRules;
435
+ this.foldingRules = new FoldMode();
436
+ this.$behaviour = new CstyleBehaviour();
437
+ }
438
+
439
+ oop.inherits(ApexMode, TextMode);
440
+
441
+ ApexMode.prototype.lineCommentStart = "//";
442
+
443
+ ApexMode.prototype.blockComment = {
444
+ start: "/*",
445
+ end: "*/"
446
+ };
447
+
448
+ exports.Mode = ApexMode;
449
+
450
+ }); (function() {
451
+ window.require(["ace/mode/apex"], function(m) {
452
+ if (typeof module == "object" && typeof exports == "object" && module) {
453
+ module.exports = m;
454
+ }
455
+ });
456
+ })();
457
+