gollum 3.1.2 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of gollum might be problematic. Click here for more details.

Files changed (911) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +4 -5
  3. data/gollum.gemspec +560 -28
  4. data/lib/gollum.rb +1 -1
  5. data/lib/gollum/app.rb +16 -10
  6. data/lib/gollum/public/gollum/javascript/editor/gollum.editor.js +1 -1
  7. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ace.js +33 -11
  8. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/anchor.js +77 -80
  9. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +46 -0
  10. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/autocomplete.js +497 -0
  11. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/autocomplete/popup.js +341 -0
  12. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/autocomplete/text_completer.js +78 -0
  13. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/autocomplete/util.js +74 -0
  14. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +28 -32
  15. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +5 -5
  16. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +17 -20
  17. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +1 -1
  18. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +312 -58
  19. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/incremental_search_commands.js +232 -0
  20. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +17 -1
  21. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/commands/occur_commands.js +110 -0
  22. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/config.js +70 -7
  23. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/config_test.js +67 -3
  24. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +123 -69
  25. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/document.js +118 -71
  26. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +507 -392
  27. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +4 -2
  28. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +37 -5
  29. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +30 -29
  30. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +210 -102
  31. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +82 -8
  32. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor.js +1006 -465
  33. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +2 -2
  34. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +36 -34
  35. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/beautify.js +57 -0
  36. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/beautify/php_rules.js +366 -0
  37. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/chromevox.js +980 -0
  38. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/elastic_tabstops_lite.js +319 -0
  39. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/emmet.js +434 -0
  40. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/error_marker.js +214 -0
  41. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/keybinding_menu.js +86 -0
  42. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/language_tools.js +226 -0
  43. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/linking.js +78 -0
  44. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/add_editor_menu_options.js +109 -0
  45. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/element_generator.js +148 -0
  46. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/generate_settings_menu.js +264 -0
  47. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/get_editor_keyboard_shortcuts.js +91 -0
  48. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/get_set_functions.js +141 -0
  49. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/overlay_page.js +116 -0
  50. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/menu_tools/settings_menu.css +48 -0
  51. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/modelist.js +195 -0
  52. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/old_ie.js +114 -0
  53. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/old_ie_test.js +77 -0
  54. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/searchbox.css +153 -0
  55. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/searchbox.js +308 -0
  56. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/settings_menu.js +76 -0
  57. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/spellcheck.js +69 -0
  58. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/{keyboard/vim/registers.js → ext/split.js} +8 -10
  59. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/static.css +18 -9
  60. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +128 -26
  61. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +56 -36
  62. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/statusbar.js +48 -0
  63. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +112 -117
  64. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/themelist.js +100 -0
  65. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/whitespace.js +213 -0
  66. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/ext/whitespace_test.js +116 -0
  67. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/incremental_search.js +317 -0
  68. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/incremental_search_test.js +213 -0
  69. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +369 -92
  70. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs_test.js +151 -0
  71. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +109 -41
  72. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +35 -24
  73. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding_test.js +69 -0
  74. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +1 -2
  75. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textarea.js +82 -0
  76. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +337 -208
  77. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +5987 -120
  78. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim_test.js +3866 -0
  79. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +48 -25
  80. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/font_metrics.js +176 -0
  81. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +110 -44
  82. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +29 -14
  83. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +69 -150
  84. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +11 -10
  85. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/app_config.js +157 -0
  86. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +33 -31
  87. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +284 -304
  88. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +147 -95
  89. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +64 -23
  90. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +35 -9
  91. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +30 -13
  92. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +21 -39
  93. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +12 -9
  94. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +8 -4
  95. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/line_widgets.js +297 -0
  96. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/Readme.md +9 -0
  97. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/highlight_rules_test.js +210 -0
  98. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_asciidoc.txt +111 -0
  99. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_coffee.txt +57 -0
  100. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_curly.txt +9 -0
  101. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_html.txt +10 -0
  102. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +34 -0
  103. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_livescript.txt +1 -0
  104. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_lucene.txt +16 -0
  105. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_markdown.txt +22 -0
  106. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_php.txt +24 -0
  107. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_ruby.txt +34 -0
  108. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_xml.txt +7 -0
  109. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_abap.json +189 -0
  110. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_abc.json +2207 -0
  111. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_actionscript.json +263 -0
  112. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ada.json +39 -0
  113. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_asciidoc.json +422 -0
  114. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_assembly_x86.json +114 -0
  115. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_autohotkey.json +261 -0
  116. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_batchfile.json +70 -0
  117. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +131 -175
  118. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +190 -124
  119. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_cirru.json +267 -0
  120. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +162 -248
  121. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_cobol.json +4 -0
  122. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +545 -188
  123. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +26 -41
  124. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +31 -42
  125. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +148 -231
  126. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_curly.json +56 -0
  127. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_d.json +111 -0
  128. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_dart.json +368 -0
  129. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +262 -732
  130. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_dot.json +2254 -0
  131. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_eiffel.json +141 -0
  132. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ejs.json +296 -0
  133. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_elixir.json +196 -0
  134. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_elm.json +198 -0
  135. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_erlang.json +166 -0
  136. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_forth.json +219 -0
  137. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ftl.json +341 -0
  138. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_gcode.json +296 -0
  139. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_gherkin.json +142 -0
  140. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_gitignore.json +33 -0
  141. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +127 -185
  142. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +256 -362
  143. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +410 -529
  144. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haml.json +174 -0
  145. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_handlebars.json +81 -0
  146. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haskell.json +156 -0
  147. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +143 -195
  148. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +63 -150
  149. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html_ruby.json +257 -0
  150. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ini.json +23 -0
  151. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_io.json +49 -0
  152. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jack.json +1786 -0
  153. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jade.json +188 -0
  154. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +95 -139
  155. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +593 -555
  156. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +412 -611
  157. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsoniq.json +4 -0
  158. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsp.json +435 -0
  159. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +51 -79
  160. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_julia.json +111 -0
  161. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +127 -196
  162. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +204 -292
  163. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +551 -698
  164. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lisp.json +248 -0
  165. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_livescript.json +6 -0
  166. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_logiql.json +190 -0
  167. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lsl.json +503 -0
  168. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +348 -451
  169. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +633 -824
  170. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lucene.json +92 -0
  171. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +114 -1202
  172. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_mask.json +302 -0
  173. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_matlab.json +90 -0
  174. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_mel.json +257 -0
  175. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_mushcode.json +790 -0
  176. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_mysql.json +4 -0
  177. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_nix.json +360 -0
  178. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_objectivec.json +793 -0
  179. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +200 -260
  180. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pascal.json +297 -0
  181. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +227 -311
  182. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +889 -1020
  183. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +171 -238
  184. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +184 -255
  185. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_prolog.json +245 -0
  186. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_properties.json +68 -0
  187. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_protobuf.json +136 -0
  188. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +152 -205
  189. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_r.json +235 -0
  190. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_rdoc.json +441 -0
  191. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_rhtml.json +106 -0
  192. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +242 -104
  193. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_rust.json +136 -0
  194. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sass.json +229 -0
  195. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +194 -267
  196. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +542 -748
  197. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scheme.json +216 -0
  198. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +123 -181
  199. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +334 -434
  200. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sjs.json +276 -0
  201. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_smarty.json +98 -0
  202. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_snippets.json +159 -0
  203. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_soy_template.json +286 -0
  204. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_space.json +322 -0
  205. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +54 -73
  206. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_stylus.json +271 -0
  207. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +684 -931
  208. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +385 -536
  209. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tex.json +130 -0
  210. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +29 -58
  211. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +113 -195
  212. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_toml.json +131 -0
  213. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_twig.json +288 -0
  214. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_typescript.json +559 -0
  215. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_vala.json +158 -0
  216. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_vbscript.json +205 -0
  217. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_velocity.json +285 -0
  218. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_verilog.json +113 -0
  219. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_vhdl.json +271 -0
  220. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +43 -705
  221. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +44 -64
  222. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +150 -260
  223. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +2 -2
  224. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +7 -6
  225. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/abc.js +58 -0
  226. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/abc_highlight_rules.js +114 -0
  227. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/actionscript.js +58 -0
  228. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/actionscript_highlight_rules.js +141 -0
  229. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ada.js +54 -0
  230. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ada_highlight_rules.js +93 -0
  231. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/apache_conf.js +62 -0
  232. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/apache_conf_highlight_rules.js +231 -0
  233. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/applescript.js +55 -0
  234. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/applescript_highlight_rules.js +139 -0
  235. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +3 -3
  236. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +11 -11
  237. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/assembly_x86.js +56 -0
  238. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/assembly_x86_highlight_rules.js +114 -0
  239. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/autohotkey.js +57 -0
  240. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/autohotkey_highlight_rules.js +107 -0
  241. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/batchfile.js +61 -0
  242. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/batchfile_highlight_rules.js +97 -0
  243. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/behaviour_test.js +139 -0
  244. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/css.js +108 -0
  245. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +164 -137
  246. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +4 -48
  247. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +141 -44
  248. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +76 -52
  249. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +2 -2
  250. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +127 -4
  251. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +7 -30
  252. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +60 -51
  253. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/cirru.js +51 -0
  254. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/cirru_highlight_rules.js +125 -0
  255. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +62 -46
  256. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +4 -21
  257. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/cobol.js +53 -0
  258. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/cobol_highlight_rules.js +100 -0
  259. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +28 -7
  260. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +13 -7
  261. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +160 -4
  262. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +228 -108
  263. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +778 -670
  264. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +377 -347
  265. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +33 -6
  266. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +275 -135
  267. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +5 -4
  268. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +72 -167
  269. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +12 -24
  270. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +11 -14
  271. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +5 -84
  272. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +3 -3
  273. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/csharp.js +7 -4
  274. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +13 -10
  275. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +7 -6
  276. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +2325 -1216
  277. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +72 -102
  278. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +2 -2
  279. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +11 -5
  280. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/curly.js +63 -0
  281. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/curly_highlight_rules.js +66 -0
  282. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/d.js +56 -0
  283. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/d_highlight_rules.js +334 -0
  284. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +8 -8
  285. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +70 -76
  286. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +2 -2
  287. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +24 -18
  288. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/django.js +119 -0
  289. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +12 -19
  290. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dockerfile.js +52 -0
  291. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dockerfile_highlight_rules.js +57 -0
  292. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dot.js +55 -0
  293. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/dot_highlight_rules.js +126 -0
  294. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/eiffel.js +52 -0
  295. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/eiffel_highlight_rules.js +136 -0
  296. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ejs.js +109 -0
  297. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/elixir.js +58 -0
  298. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/elixir_highlight_rules.js +433 -0
  299. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/elm.js +58 -0
  300. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/elm_highlight_rules.js +162 -0
  301. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/erlang.js +57 -0
  302. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/erlang_highlight_rules.js +876 -0
  303. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +12 -6
  304. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/csharp.js +137 -0
  305. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +118 -6
  306. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +24 -0
  307. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +1 -1
  308. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +2 -33
  309. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +30 -6
  310. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/ini.js +80 -0
  311. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +9 -9
  312. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +4 -4
  313. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +2 -0
  314. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/velocity.js +120 -0
  315. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +110 -87
  316. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/forth.js +58 -0
  317. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/forth_highlight_rules.js +164 -0
  318. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ftl.js +49 -0
  319. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ftl_highlight_rules.js +195 -0
  320. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gcode.js +51 -0
  321. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gcode_highlight_rules.js +94 -0
  322. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gherkin.js +80 -0
  323. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gherkin_highlight_rules.js +113 -0
  324. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gitignore.js +20 -0
  325. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/gitignore_highlight_rules.js +31 -0
  326. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +6 -2
  327. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +42 -67
  328. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +25 -39
  329. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/groovy.js +2 -2
  330. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +0 -2
  331. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +5 -6
  332. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +43 -43
  333. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/handlebars.js +29 -0
  334. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/handlebars_highlight_rules.js +72 -0
  335. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haskell.js +62 -0
  336. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haskell_highlight_rules.js +246 -0
  337. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +7 -4
  338. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +0 -2
  339. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +42 -12
  340. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html/saxparser.js +10430 -0
  341. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_completions.js +305 -0
  342. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +43 -85
  343. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_ruby.js +59 -0
  344. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_ruby_highlight_rules.js +84 -0
  345. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +3 -3
  346. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/{lib/browser_focus.js → mode/html_worker.js} +48 -51
  347. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ini.js +53 -0
  348. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ini_highlight_rules.js +112 -0
  349. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/io.js +58 -0
  350. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/io_highlight_rules.js +120 -0
  351. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jack.js +79 -0
  352. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jack_highlight_rules.js +142 -0
  353. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +4 -5
  354. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +94 -100
  355. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/java.js +2 -3
  356. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +0 -5
  357. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +15 -40
  358. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +10824 -4816
  359. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +113 -97
  360. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +61 -6
  361. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +5 -7
  362. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +11 -2
  363. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/js_regex_highlight_rules.js +94 -0
  364. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +5 -5
  365. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +3 -6
  366. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +6 -35
  367. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +12 -11
  368. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jsoniq.js +203 -0
  369. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +2 -3
  370. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +36 -30
  371. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jsx.js +26 -23
  372. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/jsx_highlight_rules.js +113 -115
  373. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/julia.js +62 -0
  374. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/julia_highlight_rules.js +170 -0
  375. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +5 -37
  376. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +44 -9
  377. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +8 -3
  378. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +2 -2
  379. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +4 -31
  380. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +15 -89
  381. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +5 -9
  382. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +25 -28
  383. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/livescript.js +246 -0
  384. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/logiql.js +139 -0
  385. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/logiql_highlight_rules.js +119 -0
  386. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/logiql_test.js +98 -0
  387. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lsl.js +92 -0
  388. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lsl_highlight_rules.js +123 -0
  389. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +27 -6
  390. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lua/luaparse.js +1989 -0
  391. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +55 -272
  392. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lua_worker.js +70 -0
  393. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/luapage.js +6 -4
  394. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/luapage_highlight_rules.js +21 -14
  395. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +5 -2
  396. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +6 -10
  397. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +22 -22
  398. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +12 -11
  399. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +130 -89
  400. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mask.js +84 -0
  401. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mask_highlight_rules.js +309 -0
  402. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +1 -6
  403. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/matlab.js +55 -0
  404. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/matlab_highlight_rules.js +262 -0
  405. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mel.js +56 -0
  406. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mel_highlight_rules.js +133 -0
  407. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mushcode.js +116 -0
  408. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mushcode_highlight_rules.js +569 -0
  409. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mysql.js +51 -0
  410. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/mysql_highlight_rules.js +122 -0
  411. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/nix.js +62 -0
  412. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/nix_highlight_rules.js +119 -0
  413. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +4 -5
  414. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +137 -149
  415. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +4 -3
  416. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +0 -4
  417. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/pascal.js +67 -0
  418. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/pascal_highlight_rules.js +127 -0
  419. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +10 -30
  420. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +17 -7
  421. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +23 -51
  422. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +334 -302
  423. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +59 -38
  424. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php/php.js +5031 -0
  425. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +72 -52
  426. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php_test.js +65 -0
  427. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/php_worker.js +77 -0
  428. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/plain_text.js +55 -0
  429. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/{keyboard/vim/maps/aliases.js → mode/plain_text_test.js} +21 -59
  430. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/powershell.js +7 -4
  431. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +0 -3
  432. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/{xquery/JSONParseTreeHandler.js → praat.js} +45 -53
  433. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/praat_highlight_rules.js +262 -0
  434. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/prolog.js +62 -0
  435. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/prolog_highlight_rules.js +238 -0
  436. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/properties.js +48 -0
  437. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/properties_highlight_rules.js +86 -0
  438. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/protobuf.js +63 -0
  439. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/protobuf_highlight_rules.js +66 -0
  440. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +5 -31
  441. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +50 -24
  442. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +37 -18
  443. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +29 -11
  444. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -11
  445. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +27 -7
  446. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +31 -11
  447. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +31 -14
  448. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +26 -36
  449. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +153 -33
  450. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/{css_highlight_rules_test.js → ruby_test.js} +24 -39
  451. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rust.js +58 -0
  452. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/rust_highlight_rules.js +158 -0
  453. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sass.js +52 -0
  454. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sass_highlight_rules.js +79 -0
  455. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +5 -30
  456. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +0 -4
  457. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scala.js +2 -2
  458. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +1 -6
  459. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scheme.js +56 -0
  460. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scheme_highlight_rules.js +123 -0
  461. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +9 -4
  462. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +7 -8
  463. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +10 -31
  464. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +85 -11
  465. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sjs.js +56 -0
  466. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sjs_highlight_rules.js +233 -0
  467. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/smarty.js +51 -0
  468. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/smarty_highlight_rules.js +139 -0
  469. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/snippets.js +113 -0
  470. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/soy_template.js +60 -0
  471. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/soy_template_highlight_rules.js +356 -0
  472. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/space.js +21 -0
  473. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/space_highlight_rules.js +56 -0
  474. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +3 -30
  475. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +6 -1
  476. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +5 -5
  477. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +32 -42
  478. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +3 -5
  479. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +3 -18
  480. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +4 -30
  481. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +5 -13
  482. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +30 -10
  483. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +27 -7
  484. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +266 -29
  485. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +129 -15
  486. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +2 -2
  487. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +3 -2
  488. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/toml.js +56 -0
  489. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/toml_highlight_rules.js +103 -0
  490. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/twig.js +81 -0
  491. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/twig_highlight_rules.js +166 -0
  492. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +2 -8
  493. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +16 -16
  494. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vala.js +105 -0
  495. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vala_highlight_rules.js +457 -0
  496. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vbscript.js +60 -0
  497. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vbscript_highlight_rules.js +246 -0
  498. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/velocity.js +58 -0
  499. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/velocity_highlight_rules.js +177 -0
  500. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/verilog.js +54 -0
  501. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/verilog_highlight_rules.js +101 -0
  502. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vhdl.js +52 -0
  503. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/vhdl_highlight_rules.js +115 -0
  504. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -8
  505. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml/dom-parser.js +260 -0
  506. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml/dom.js +1138 -0
  507. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml/sax.js +592 -0
  508. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +185 -45
  509. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +3 -3
  510. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_worker.js +92 -0
  511. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +107 -88
  512. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Readme.md +1 -6
  513. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/jsoniq_lexer.js +4453 -0
  514. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xqlint.js +78911 -0
  515. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery_lexer.js +4422 -0
  516. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +66 -29
  517. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +5 -3
  518. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +2 -13
  519. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +50 -28
  520. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +70 -137
  521. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop_handler.js +428 -0
  522. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +6 -23
  523. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +6 -9
  524. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +83 -39
  525. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/{mode/liquid_highlight_rules_test.js → mouse/mouse_handler_test.js} +27 -34
  526. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +94 -38
  527. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +192 -115
  528. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +124 -18
  529. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/occur.js +193 -0
  530. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/occur_test.js +154 -0
  531. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +9 -4
  532. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +2 -1
  533. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/range.js +81 -102
  534. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/range_list.js +38 -21
  535. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +20 -1
  536. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/range_test.js +1 -1
  537. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +1 -1
  538. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +9 -8
  539. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/requirejs/text_build.js +60 -0
  540. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +163 -32
  541. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/search.js +38 -19
  542. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +1 -3
  543. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/search_test.js +33 -0
  544. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/selection.js +167 -83
  545. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +22 -7
  546. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets.js +949 -0
  547. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/_.snippets +240 -0
  548. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/_all_modes.js +7 -0
  549. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/_all_modes.snippets +0 -0
  550. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/abap.js +7 -0
  551. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/abap.snippets +0 -0
  552. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/abc.js +7 -0
  553. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/abc.snippets +31 -0
  554. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/actionscript.js +7 -0
  555. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/actionscript.snippets +157 -0
  556. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ada.js +7 -0
  557. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ada.snippets +0 -0
  558. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/all_modes.js +7 -0
  559. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/all_modes.snippets +0 -0
  560. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/apache.snippets +35 -0
  561. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/apache_conf.js +7 -0
  562. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/apache_conf.snippets +0 -0
  563. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/applescript.js +7 -0
  564. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/applescript.snippets +0 -0
  565. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/asciidoc.js +7 -0
  566. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/asciidoc.snippets +0 -0
  567. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/assembly_x86.js +7 -0
  568. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/assembly_x86.snippets +0 -0
  569. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autohotkey.js +7 -0
  570. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autohotkey.snippets +0 -0
  571. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/autoit.snippets +66 -0
  572. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/batchfile.js +7 -0
  573. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/batchfile.snippets +0 -0
  574. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/c.snippets +235 -0
  575. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/c9search.js +7 -0
  576. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/c9search.snippets +0 -0
  577. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/c_cpp.js +7 -0
  578. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/c_cpp.snippets +131 -0
  579. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/chef.snippets +204 -0
  580. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cirru.js +7 -0
  581. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cirru.snippets +0 -0
  582. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/clojure.js +7 -0
  583. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/clojure.snippets +90 -0
  584. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cmake.snippets +58 -0
  585. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cobol.js +7 -0
  586. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cobol.snippets +0 -0
  587. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/coffee.js +7 -0
  588. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/coffee.snippets +95 -0
  589. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/coldfusion.js +7 -0
  590. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/coldfusion.snippets +0 -0
  591. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/cs.snippets +374 -0
  592. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/csharp.js +7 -0
  593. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/csharp.snippets +0 -0
  594. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/css.js +7 -0
  595. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/css.snippets +967 -0
  596. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/curly.js +7 -0
  597. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/curly.snippets +0 -0
  598. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/d.js +7 -0
  599. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/d.snippets +0 -0
  600. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dart.js +7 -0
  601. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dart.snippets +83 -0
  602. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/diff.js +7 -0
  603. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/diff.snippets +11 -0
  604. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/django.js +7 -0
  605. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/django.snippets +108 -0
  606. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dockerfile.js +7 -0
  607. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dockerfile.snippets +0 -0
  608. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dot.js +7 -0
  609. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dot.snippets +0 -0
  610. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dummy.js +7 -0
  611. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/dummy_syntax.js +7 -0
  612. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/eiffel.js +7 -0
  613. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/eiffel.snippets +0 -0
  614. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ejs.js +7 -0
  615. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ejs.snippets +0 -0
  616. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/elixir.js +7 -0
  617. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/elixir.snippets +0 -0
  618. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/elm.js +7 -0
  619. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/elm.snippets +0 -0
  620. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/erlang.js +7 -0
  621. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/erlang.snippets +160 -0
  622. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/eruby.snippets +113 -0
  623. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/falcon.snippets +71 -0
  624. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/forth.js +7 -0
  625. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/forth.snippets +0 -0
  626. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ftl.js +7 -0
  627. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ftl.snippets +0 -0
  628. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gcode.js +7 -0
  629. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gcode.snippets +0 -0
  630. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gherkin.js +7 -0
  631. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gherkin.snippets +0 -0
  632. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gitignore.js +7 -0
  633. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/gitignore.snippets +0 -0
  634. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/glsl.js +7 -0
  635. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/glsl.snippets +0 -0
  636. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/go.snippets +201 -0
  637. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/golang.js +7 -0
  638. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/golang.snippets +0 -0
  639. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/groovy.js +7 -0
  640. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/groovy.snippets +0 -0
  641. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haml.js +7 -0
  642. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haml.snippets +20 -0
  643. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/handlebars.js +7 -0
  644. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/handlebars.snippets +0 -0
  645. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haskell.js +7 -0
  646. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haskell.snippets +82 -0
  647. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haxe.js +7 -0
  648. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/haxe.snippets +0 -0
  649. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/html.js +7 -0
  650. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/html.snippets +828 -0
  651. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/html_ruby.js +7 -0
  652. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/html_ruby.snippets +0 -0
  653. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmldjango.snippets +136 -0
  654. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/htmltornado.snippets +55 -0
  655. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ini.js +7 -0
  656. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ini.snippets +0 -0
  657. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/io.js +69 -0
  658. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/io.snippets +0 -0
  659. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jack.js +7 -0
  660. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jack.snippets +0 -0
  661. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jade.js +7 -0
  662. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jade.snippets +0 -0
  663. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/java.js +7 -0
  664. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/java.snippets +240 -0
  665. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/javascript-jquery.snippets +589 -0
  666. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/javascript.js +7 -0
  667. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/javascript.snippets +195 -0
  668. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/json.js +7 -0
  669. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/json.snippets +0 -0
  670. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsoniq.js +7 -0
  671. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsoniq.snippets +61 -0
  672. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsp.js +7 -0
  673. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsp.snippets +99 -0
  674. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsx.js +7 -0
  675. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/jsx.snippets +0 -0
  676. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/julia.js +7 -0
  677. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/julia.snippets +0 -0
  678. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/latex.js +7 -0
  679. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/latex.snippets +0 -0
  680. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ledger.snippets +5 -0
  681. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/less.js +7 -0
  682. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/less.snippets +0 -0
  683. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/liquid.js +7 -0
  684. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/liquid.snippets +0 -0
  685. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lisp.js +7 -0
  686. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lisp.snippets +0 -0
  687. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/livescript.js +7 -0
  688. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/livescript.snippets +0 -0
  689. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/logiql.js +7 -0
  690. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/logiql.snippets +0 -0
  691. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lsl.js +7 -0
  692. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lsl.snippets +1066 -0
  693. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lua.js +7 -0
  694. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lua.snippets +21 -0
  695. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/luapage.js +7 -0
  696. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/luapage.snippets +0 -0
  697. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lucene.js +7 -0
  698. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/lucene.snippets +0 -0
  699. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/makefile.js +7 -0
  700. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/makefile.snippets +4 -0
  701. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mako.snippets +54 -0
  702. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/markdown.js +7 -0
  703. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/markdown.snippets +88 -0
  704. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/matlab.js +7 -0
  705. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/matlab.snippets +0 -0
  706. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mel.js +7 -0
  707. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mel.snippets +0 -0
  708. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mushcode.js +7 -0
  709. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mushcode.snippets +0 -0
  710. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mushcode_high_rules.js +7 -0
  711. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mushcode_high_rules.snippets +0 -0
  712. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mysql.js +7 -0
  713. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/mysql.snippets +0 -0
  714. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/nix.js +7 -0
  715. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/nix.snippets +0 -0
  716. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/objc.snippets +247 -0
  717. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/objectivec.js +7 -0
  718. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/objectivec.snippets +0 -0
  719. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ocaml.js +7 -0
  720. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ocaml.snippets +0 -0
  721. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/pascal.js +7 -0
  722. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/pascal.snippets +0 -0
  723. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/perl.js +7 -0
  724. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/perl.snippets +347 -0
  725. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/pgsql.js +7 -0
  726. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/pgsql.snippets +0 -0
  727. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/php.js +7 -0
  728. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/php.snippets +377 -0
  729. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/plain_text.js +7 -0
  730. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/plain_text.snippets +0 -0
  731. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/powershell.js +7 -0
  732. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/powershell.snippets +0 -0
  733. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/praat.js +7 -0
  734. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/praat.snippets +0 -0
  735. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/prolog.js +7 -0
  736. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/prolog.snippets +0 -0
  737. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/properties.js +7 -0
  738. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/properties.snippets +0 -0
  739. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/protobuf.js +7 -0
  740. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/protobuf.snippets +0 -0
  741. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/python.js +7 -0
  742. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/python.snippets +158 -0
  743. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/r.js +7 -0
  744. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/r.snippets +121 -0
  745. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rdoc.js +7 -0
  746. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rdoc.snippets +0 -0
  747. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rhtml.js +7 -0
  748. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rhtml.snippets +0 -0
  749. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rst.snippets +22 -0
  750. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ruby.js +7 -0
  751. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/ruby.snippets +928 -0
  752. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rust.js +7 -0
  753. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/rust.snippets +0 -0
  754. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sass.js +7 -0
  755. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sass.snippets +0 -0
  756. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scad.js +7 -0
  757. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scad.snippets +0 -0
  758. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scala.js +7 -0
  759. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scala.snippets +0 -0
  760. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scheme.js +7 -0
  761. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scheme.snippets +0 -0
  762. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scss.js +7 -0
  763. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/scss.snippets +0 -0
  764. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sh.js +7 -0
  765. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sh.snippets +83 -0
  766. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sjs.js +7 -0
  767. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sjs.snippets +0 -0
  768. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/smarty.js +7 -0
  769. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/smarty.snippets +0 -0
  770. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/snippets.js +7 -0
  771. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/snippets.snippets +9 -0
  772. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/soy_template.js +7 -0
  773. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/soy_template.snippets +0 -0
  774. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/space.js +7 -0
  775. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/space.snippets +0 -0
  776. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sql.js +7 -0
  777. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/sql.snippets +26 -0
  778. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/stylus.js +7 -0
  779. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/stylus.snippets +0 -0
  780. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/svg.js +7 -0
  781. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/svg.snippets +0 -0
  782. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/tcl.js +7 -0
  783. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/tcl.snippets +92 -0
  784. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/tex.js +7 -0
  785. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/tex.snippets +191 -0
  786. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/text.js +7 -0
  787. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/text.snippets +0 -0
  788. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/textile.js +7 -0
  789. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/textile.snippets +30 -0
  790. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/tmsnippet.snippets +0 -0
  791. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/toml.js +7 -0
  792. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/toml.snippets +0 -0
  793. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/twig.js +7 -0
  794. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/twig.snippets +0 -0
  795. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/typescript.js +7 -0
  796. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/typescript.snippets +0 -0
  797. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vala.js +195 -0
  798. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vala.snippets +0 -0
  799. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vbscript.js +7 -0
  800. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vbscript.snippets +0 -0
  801. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/velocity.js +8 -0
  802. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/velocity.snippets +28 -0
  803. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/verilog.js +7 -0
  804. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/verilog.snippets +0 -0
  805. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vhdl.js +7 -0
  806. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/vhdl.snippets +0 -0
  807. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/xml.js +7 -0
  808. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/xml.snippets +0 -0
  809. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/xquery.js +7 -0
  810. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/xquery.snippets +61 -0
  811. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/xslt.snippets +97 -0
  812. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/yaml.js +7 -0
  813. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets/yaml.snippets +0 -0
  814. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/snippets_test.js +131 -0
  815. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/split.js +3 -3
  816. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +20 -7
  817. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/test/asyncjs/assert.js +2 -2
  818. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +8 -0
  819. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +6 -2
  820. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/chaos.css +154 -0
  821. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/chaos.js +33 -0
  822. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +5 -9
  823. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +3 -15
  824. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +1 -1
  825. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +4 -16
  826. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +1 -1
  827. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +16 -26
  828. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +1 -1
  829. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +2 -10
  830. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +10 -20
  831. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +1 -1
  832. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +9 -12
  833. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +16 -9
  834. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +3 -10
  835. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +5 -17
  836. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +1 -1
  837. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/katzenmilch.css +140 -0
  838. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/katzenmilch.js +39 -0
  839. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +9 -20
  840. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +1 -1
  841. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/kuroir.css +67 -0
  842. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/kuroir.js +39 -0
  843. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +4 -16
  844. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +1 -1
  845. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +4 -16
  846. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +1 -1
  847. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +5 -17
  848. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +1 -1
  849. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +14 -20
  850. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +1 -1
  851. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +4 -16
  852. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +1 -1
  853. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +8 -20
  854. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +1 -1
  855. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +6 -18
  856. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +1 -1
  857. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/terminal.css +132 -0
  858. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/terminal.js +39 -0
  859. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +5 -9
  860. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +4 -15
  861. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +1 -1
  862. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +5 -16
  863. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +1 -1
  864. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +6 -17
  865. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +1 -1
  866. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +21 -16
  867. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +1 -1
  868. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +10 -17
  869. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +1 -1
  870. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +6 -16
  871. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +1 -1
  872. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +4 -12
  873. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +1 -1
  874. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +4 -12
  875. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +1 -1
  876. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +4 -3
  877. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +246 -78
  878. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +71 -93
  879. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/tokenizer_test.js +97 -0
  880. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/tooltip.js +138 -0
  881. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +63 -30
  882. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +788 -403
  883. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/mirror.js +9 -3
  884. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +92 -55
  885. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +90 -52
  886. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker_test.js +125 -0
  887. data/lib/gollum/public/gollum/livepreview/js/livepreview.js +18 -12
  888. data/lib/gollum/public/gollum/livepreview/readme.md +1 -1
  889. data/lib/gollum/templates/layout.mustache +1 -1
  890. data/lib/gollum/{public/gollum/livepreview/index.html → templates/livepreview.mustache} +23 -1
  891. data/lib/gollum/views/livepreview.rb +13 -0
  892. metadata +569 -37
  893. data/lib/gollum/editing_auth.rb +0 -34
  894. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +0 -561
  895. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +0 -593
  896. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +0 -196
  897. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +0 -134
  898. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +0 -144
  899. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +0 -266
  900. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +0 -186
  901. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +0 -218
  902. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +0 -99
  903. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +0 -100
  904. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +0 -108
  905. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +0 -208
  906. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +0 -112
  907. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +0 -32982
  908. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +0 -316
  909. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +0 -145
  910. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +0 -98
  911. data/lib/gollum/public/gollum/livepreview/js/ace/lib/ace/worker/worker_sourcemint.js +0 -73
@@ -1,1020 +1,889 @@
1
- [
2
- {
3
- "state": "start",
4
- "data": []
5
- },
6
- {
7
- "state": "start",
8
- "data": [
9
- [ "keyword.statementBegin", "BEGIN" ],
10
- [ "statementEnd", ";" ]
11
- ]
12
- },
13
- {
14
- "state": "start",
15
- "data": []
16
- },
17
- {
18
- "state": "doc-start",
19
- "data": [
20
- [ "comment.doc", "/**" ]
21
- ]
22
- },
23
- {
24
- "state": "doc-start",
25
- "data": [
26
- [ "comment.doc", "* Samples from PostgreSQL src/tutorial/basics.source" ]
27
- ]
28
- },
29
- {
30
- "state": "start",
31
- "data": [
32
- [ "comment.doc", "*/" ]
33
- ]
34
- },
35
- {
36
- "state": "statement",
37
- "data": [
38
- [ "keyword.statementBegin", "CREATE" ],
39
- [ "text", " " ],
40
- [ "keyword", "TABLE" ],
41
- [ "text", " " ],
42
- [ "identifier", "weather" ],
43
- [ "text", " " ],
44
- [ "paren.lparen", "(" ]
45
- ]
46
- },
47
- {
48
- "state": "statement",
49
- "data": [
50
- [ "text", "\t" ],
51
- [ "identifier", "city" ],
52
- [ "text", "\t\t" ],
53
- [ "keyword", "varchar" ],
54
- [ "paren.lparen", "(" ],
55
- [ "constant.numeric", "80" ],
56
- [ "paren.rparen", ")" ],
57
- [ "text", "," ]
58
- ]
59
- },
60
- {
61
- "state": "statement",
62
- "data": [
63
- [ "text", "\t" ],
64
- [ "identifier", "temp_lo" ],
65
- [ "text", "\t\t" ],
66
- [ "keyword", "int" ],
67
- [ "text", ",\t\t" ],
68
- [ "comment", "-- low temperature" ]
69
- ]
70
- },
71
- {
72
- "state": "statement",
73
- "data": [
74
- [ "text", "\t" ],
75
- [ "identifier", "temp_hi" ],
76
- [ "text", "\t\t" ],
77
- [ "keyword", "int" ],
78
- [ "text", ",\t\t" ],
79
- [ "comment", "-- high temperature" ]
80
- ]
81
- },
82
- {
83
- "state": "statement",
84
- "data": [
85
- [ "text", "\t" ],
86
- [ "identifier", "prcp" ],
87
- [ "text", "\t\t" ],
88
- [ "keyword", "real" ],
89
- [ "text", ",\t\t" ],
90
- [ "comment", "-- precipitation" ]
91
- ]
92
- },
93
- {
94
- "state": "statement",
95
- "data": [
96
- [ "text", "\t" ],
97
- [ "variable.language", "\"date\"" ],
98
- [ "text", "\t\t" ],
99
- [ "keyword", "date" ]
100
- ]
101
- },
102
- {
103
- "state": "start",
104
- "data": [
105
- [ "paren.rparen", ")" ],
106
- [ "statementEnd", ";" ]
107
- ]
108
- },
109
- {
110
- "state": "start",
111
- "data": []
112
- },
113
- {
114
- "state": "statement",
115
- "data": [
116
- [ "keyword.statementBegin", "CREATE" ],
117
- [ "text", " " ],
118
- [ "keyword", "TABLE" ],
119
- [ "text", " " ],
120
- [ "identifier", "cities" ],
121
- [ "text", " " ],
122
- [ "paren.lparen", "(" ]
123
- ]
124
- },
125
- {
126
- "state": "statement",
127
- "data": [
128
- [ "text", "\t" ],
129
- [ "keyword", "name" ],
130
- [ "text", "\t\t" ],
131
- [ "keyword", "varchar" ],
132
- [ "paren.lparen", "(" ],
133
- [ "constant.numeric", "80" ],
134
- [ "paren.rparen", ")" ],
135
- [ "text", "," ]
136
- ]
137
- },
138
- {
139
- "state": "statement",
140
- "data": [
141
- [ "text", "\t" ],
142
- [ "keyword", "location" ],
143
- [ "text", "\t" ],
144
- [ "keyword", "point" ]
145
- ]
146
- },
147
- {
148
- "state": "start",
149
- "data": [
150
- [ "paren.rparen", ")" ],
151
- [ "statementEnd", ";" ]
152
- ]
153
- },
154
- {
155
- "state": "start",
156
- "data": []
157
- },
158
- {
159
- "state": "start",
160
- "data": []
161
- },
162
- {
163
- "state": "statement",
164
- "data": [
165
- [ "keyword.statementBegin", "INSERT" ],
166
- [ "text", " " ],
167
- [ "keyword", "INTO" ],
168
- [ "text", " " ],
169
- [ "identifier", "weather" ]
170
- ]
171
- },
172
- {
173
- "state": "start",
174
- "data": [
175
- [ "text", " " ],
176
- [ "keyword", "VALUES" ],
177
- [ "text", " " ],
178
- [ "paren.lparen", "(" ],
179
- [ "string", "'San Francisco'" ],
180
- [ "text", ", " ],
181
- [ "constant.numeric", "46" ],
182
- [ "text", ", " ],
183
- [ "constant.numeric", "50" ],
184
- [ "text", ", " ],
185
- [ "constant.numeric", "0.25" ],
186
- [ "text", ", " ],
187
- [ "string", "'1994-11-27'" ],
188
- [ "paren.rparen", ")" ],
189
- [ "statementEnd", ";" ]
190
- ]
191
- },
192
- {
193
- "state": "start",
194
- "data": []
195
- },
196
- {
197
- "state": "statement",
198
- "data": [
199
- [ "keyword.statementBegin", "INSERT" ],
200
- [ "text", " " ],
201
- [ "keyword", "INTO" ],
202
- [ "text", " " ],
203
- [ "identifier", "cities" ]
204
- ]
205
- },
206
- {
207
- "state": "start",
208
- "data": [
209
- [ "text", " " ],
210
- [ "keyword", "VALUES" ],
211
- [ "text", " " ],
212
- [ "paren.lparen", "(" ],
213
- [ "string", "'San Francisco'" ],
214
- [ "text", ", " ],
215
- [ "string", "'(-194.0, 53.0)'" ],
216
- [ "paren.rparen", ")" ],
217
- [ "statementEnd", ";" ]
218
- ]
219
- },
220
- {
221
- "state": "start",
222
- "data": []
223
- },
224
- {
225
- "state": "statement",
226
- "data": [
227
- [ "keyword.statementBegin", "INSERT" ],
228
- [ "text", " " ],
229
- [ "keyword", "INTO" ],
230
- [ "text", " " ],
231
- [ "identifier", "weather" ],
232
- [ "text", " " ],
233
- [ "paren.lparen", "(" ],
234
- [ "identifier", "city" ],
235
- [ "text", ", " ],
236
- [ "identifier", "temp_lo" ],
237
- [ "text", ", " ],
238
- [ "identifier", "temp_hi" ],
239
- [ "text", ", " ],
240
- [ "identifier", "prcp" ],
241
- [ "text", ", " ],
242
- [ "variable.language", "\"date\"" ],
243
- [ "paren.rparen", ")" ]
244
- ]
245
- },
246
- {
247
- "state": "start",
248
- "data": [
249
- [ "text", " " ],
250
- [ "keyword", "VALUES" ],
251
- [ "text", " " ],
252
- [ "paren.lparen", "(" ],
253
- [ "string", "'San Francisco'" ],
254
- [ "text", ", " ],
255
- [ "constant.numeric", "43" ],
256
- [ "text", ", " ],
257
- [ "constant.numeric", "57" ],
258
- [ "text", ", " ],
259
- [ "constant.numeric", "0.0" ],
260
- [ "text", ", " ],
261
- [ "string", "'1994-11-29'" ],
262
- [ "paren.rparen", ")" ],
263
- [ "statementEnd", ";" ]
264
- ]
265
- },
266
- {
267
- "state": "start",
268
- "data": []
269
- },
270
- {
271
- "state": "statement",
272
- "data": [
273
- [ "keyword.statementBegin", "INSERT" ],
274
- [ "text", " " ],
275
- [ "keyword", "INTO" ],
276
- [ "text", " " ],
277
- [ "identifier", "weather" ],
278
- [ "text", " " ],
279
- [ "paren.lparen", "(" ],
280
- [ "keyword", "date" ],
281
- [ "text", ", " ],
282
- [ "identifier", "city" ],
283
- [ "text", ", " ],
284
- [ "identifier", "temp_hi" ],
285
- [ "text", ", " ],
286
- [ "identifier", "temp_lo" ],
287
- [ "paren.rparen", ")" ]
288
- ]
289
- },
290
- {
291
- "state": "start",
292
- "data": [
293
- [ "text", " " ],
294
- [ "keyword", "VALUES" ],
295
- [ "text", " " ],
296
- [ "paren.lparen", "(" ],
297
- [ "string", "'1994-11-29'" ],
298
- [ "text", ", " ],
299
- [ "string", "'Hayward'" ],
300
- [ "text", ", " ],
301
- [ "constant.numeric", "54" ],
302
- [ "text", ", " ],
303
- [ "constant.numeric", "37" ],
304
- [ "paren.rparen", ")" ],
305
- [ "statementEnd", ";" ]
306
- ]
307
- },
308
- {
309
- "state": "start",
310
- "data": []
311
- },
312
- {
313
- "state": "start",
314
- "data": []
315
- },
316
- {
317
- "state": "start",
318
- "data": [
319
- [ "keyword.statementBegin", "SELECT" ],
320
- [ "text", " " ],
321
- [ "identifier", "city" ],
322
- [ "text", ", " ],
323
- [ "paren.lparen", "(" ],
324
- [ "identifier", "temp_hi" ],
325
- [ "keyword.operator", "+" ],
326
- [ "identifier", "temp_lo" ],
327
- [ "paren.rparen", ")" ],
328
- [ "keyword.operator", "/" ],
329
- [ "constant.numeric", "2" ],
330
- [ "text", " " ],
331
- [ "keyword", "AS" ],
332
- [ "text", " " ],
333
- [ "identifier", "temp_avg" ],
334
- [ "text", ", " ],
335
- [ "variable.language", "\"date\"" ],
336
- [ "text", " " ],
337
- [ "keyword", "FROM" ],
338
- [ "text", " " ],
339
- [ "identifier", "weather" ],
340
- [ "statementEnd", ";" ]
341
- ]
342
- },
343
- {
344
- "state": "start",
345
- "data": []
346
- },
347
- {
348
- "state": "statement",
349
- "data": [
350
- [ "keyword.statementBegin", "SELECT" ],
351
- [ "text", " " ],
352
- [ "identifier", "city" ],
353
- [ "text", ", " ],
354
- [ "identifier", "temp_lo" ],
355
- [ "text", ", " ],
356
- [ "identifier", "temp_hi" ],
357
- [ "text", ", " ],
358
- [ "identifier", "prcp" ],
359
- [ "text", ", " ],
360
- [ "variable.language", "\"date\"" ],
361
- [ "text", ", " ],
362
- [ "keyword", "location" ]
363
- ]
364
- },
365
- {
366
- "state": "statement",
367
- "data": [
368
- [ "text", " " ],
369
- [ "keyword", "FROM" ],
370
- [ "text", " " ],
371
- [ "identifier", "weather" ],
372
- [ "text", ", " ],
373
- [ "identifier", "cities" ]
374
- ]
375
- },
376
- {
377
- "state": "start",
378
- "data": [
379
- [ "text", " " ],
380
- [ "keyword", "WHERE" ],
381
- [ "text", " " ],
382
- [ "identifier", "city" ],
383
- [ "text", " " ],
384
- [ "keyword.operator", "=" ],
385
- [ "text", " " ],
386
- [ "keyword", "name" ],
387
- [ "statementEnd", ";" ]
388
- ]
389
- },
390
- {
391
- "state": "start",
392
- "data": []
393
- },
394
- {
395
- "state": "start",
396
- "data": []
397
- },
398
- {
399
- "state": "start",
400
- "data": []
401
- },
402
- {
403
- "state": "doc-start",
404
- "data": [
405
- [ "comment.doc", "/**" ]
406
- ]
407
- },
408
- {
409
- "state": "doc-start",
410
- "data": [
411
- [ "comment.doc", "* Dollar quotes starting at the end of the line are colored as SQL unless" ]
412
- ]
413
- },
414
- {
415
- "state": "doc-start",
416
- "data": [
417
- [ "comment.doc", "* a special language tag is used. Pearl and Python are currently implemented" ]
418
- ]
419
- },
420
- {
421
- "state": "doc-start",
422
- "data": [
423
- [ "comment.doc", "* but lots of others are possible." ]
424
- ]
425
- },
426
- {
427
- "state": "start",
428
- "data": [
429
- [ "comment.doc", "*/" ]
430
- ]
431
- },
432
- {
433
- "state": "statement",
434
- "data": [
435
- [ "keyword.statementBegin", "create" ],
436
- [ "text", " " ],
437
- [ "keyword", "or" ],
438
- [ "text", " " ],
439
- [ "keyword", "replace" ],
440
- [ "text", " " ],
441
- [ "keyword", "function" ],
442
- [ "text", " " ],
443
- [ "identifier", "blob_content_chunked" ],
444
- [ "paren.lparen", "(" ]
445
- ]
446
- },
447
- {
448
- "state": "statement",
449
- "data": [
450
- [ "text", " " ],
451
- [ "keyword", "in" ],
452
- [ "text", " " ],
453
- [ "identifier", "p_data" ],
454
- [ "text", " " ],
455
- [ "keyword", "bytea" ],
456
- [ "text", ", " ]
457
- ]
458
- },
459
- {
460
- "state": "statement",
461
- "data": [
462
- [ "text", " " ],
463
- [ "keyword", "in" ],
464
- [ "text", " " ],
465
- [ "identifier", "p_chunk" ],
466
- [ "text", " " ],
467
- [ "keyword", "integer" ],
468
- [ "paren.rparen", ")" ]
469
- ]
470
- },
471
- {
472
- "state": "dollarSql",
473
- "data": [
474
- [ "keyword", "returns" ],
475
- [ "text", " " ],
476
- [ "keyword", "setof" ],
477
- [ "text", " " ],
478
- [ "keyword", "bytea" ],
479
- [ "text", " " ],
480
- [ "keyword", "as" ],
481
- [ "text", " " ],
482
- [ "string", "$$" ]
483
- ]
484
- },
485
- {
486
- "state": "dollarSql",
487
- "data": [
488
- [ "comment", "-- Still SQL comments" ]
489
- ]
490
- },
491
- {
492
- "state": "dollarSql",
493
- "data": [
494
- [ "keyword", "declare" ]
495
- ]
496
- },
497
- {
498
- "state": "dollarSql",
499
- "data": [
500
- [ "text", "\t" ],
501
- [ "identifier", "v_size" ],
502
- [ "text", " " ],
503
- [ "keyword", "integer" ],
504
- [ "text", " " ],
505
- [ "keyword.operator", "=" ],
506
- [ "text", " " ],
507
- [ "support.function", "octet_length" ],
508
- [ "paren.lparen", "(" ],
509
- [ "identifier", "p_data" ],
510
- [ "paren.rparen", ")" ],
511
- [ "text", ";" ]
512
- ]
513
- },
514
- {
515
- "state": "dollarSql",
516
- "data": [
517
- [ "keyword", "begin" ]
518
- ]
519
- },
520
- {
521
- "state": "dollarSql",
522
- "data": [
523
- [ "text", "\t" ],
524
- [ "keyword", "for" ],
525
- [ "text", " " ],
526
- [ "identifier", "i" ],
527
- [ "text", " " ],
528
- [ "keyword", "in" ],
529
- [ "text", " " ],
530
- [ "constant.numeric", "1" ],
531
- [ "text", ".." ],
532
- [ "identifier", "v_size" ],
533
- [ "text", " " ],
534
- [ "keyword", "by" ],
535
- [ "text", " " ],
536
- [ "identifier", "p_chunk" ],
537
- [ "text", " " ],
538
- [ "identifier", "loop" ]
539
- ]
540
- },
541
- {
542
- "state": "dollarSql",
543
- "data": [
544
- [ "text", "\t\t" ],
545
- [ "identifier", "return" ],
546
- [ "text", " " ],
547
- [ "keyword", "next" ],
548
- [ "text", " " ],
549
- [ "keyword", "substring" ],
550
- [ "paren.lparen", "(" ],
551
- [ "identifier", "p_data" ],
552
- [ "text", " " ],
553
- [ "keyword", "from" ],
554
- [ "text", " " ],
555
- [ "identifier", "i" ],
556
- [ "text", " " ],
557
- [ "keyword", "for" ],
558
- [ "text", " " ],
559
- [ "identifier", "p_chunk" ],
560
- [ "paren.rparen", ")" ],
561
- [ "text", ";" ]
562
- ]
563
- },
564
- {
565
- "state": "dollarSql",
566
- "data": [
567
- [ "text", "\t" ],
568
- [ "keyword", "end" ],
569
- [ "text", " " ],
570
- [ "identifier", "loop" ],
571
- [ "text", ";" ]
572
- ]
573
- },
574
- {
575
- "state": "dollarSql",
576
- "data": [
577
- [ "keyword", "end" ],
578
- [ "text", ";" ]
579
- ]
580
- },
581
- {
582
- "state": "start",
583
- "data": [
584
- [ "string", "$$" ],
585
- [ "text", " " ],
586
- [ "keyword", "language" ],
587
- [ "text", " " ],
588
- [ "identifier", "plpgsql" ],
589
- [ "text", " " ],
590
- [ "keyword", "stable" ],
591
- [ "statementEnd", ";" ]
592
- ]
593
- },
594
- {
595
- "state": "start",
596
- "data": []
597
- },
598
- {
599
- "state": "start",
600
- "data": []
601
- },
602
- {
603
- "state": "start",
604
- "data": [
605
- [ "comment", "-- pl/perl" ]
606
- ]
607
- },
608
- {
609
- "state": "perl-start",
610
- "data": [
611
- [ "keyword.statementBegin", "CREATE" ],
612
- [ "text", " " ],
613
- [ "keyword", "FUNCTION" ],
614
- [ "text", " " ],
615
- [ "identifier", "perl_max" ],
616
- [ "text", " " ],
617
- [ "paren.lparen", "(" ],
618
- [ "keyword", "integer" ],
619
- [ "text", ", " ],
620
- [ "keyword", "integer" ],
621
- [ "paren.rparen", ")" ],
622
- [ "text", " " ],
623
- [ "keyword", "RETURNS" ],
624
- [ "text", " " ],
625
- [ "keyword", "integer" ],
626
- [ "text", " " ],
627
- [ "keyword", "AS" ],
628
- [ "text", " " ],
629
- [ "string", "$perl$" ]
630
- ]
631
- },
632
- {
633
- "state": "perl-start",
634
- "data": [
635
- [ "text", " " ],
636
- [ "comment", "# perl comment..." ]
637
- ]
638
- },
639
- {
640
- "state": "perl-start",
641
- "data": [
642
- [ "text", " " ],
643
- [ "keyword", "my" ],
644
- [ "text", " " ],
645
- [ "lparen", "(" ],
646
- [ "identifier", "$x" ],
647
- [ "keyword.operator", "," ],
648
- [ "identifier", "$y" ],
649
- [ "rparen", ")" ],
650
- [ "text", " " ],
651
- [ "keyword.operator", "=" ],
652
- [ "text", " @" ],
653
- [ "identifier", "_" ],
654
- [ "text", ";" ]
655
- ]
656
- },
657
- {
658
- "state": "perl-start",
659
- "data": [
660
- [ "text", " " ],
661
- [ "keyword", "if" ],
662
- [ "text", " " ],
663
- [ "lparen", "(" ],
664
- [ "keyword.operator", "!" ],
665
- [ "text", " " ],
666
- [ "support.function", "defined" ],
667
- [ "text", " " ],
668
- [ "identifier", "$x" ],
669
- [ "rparen", ")" ],
670
- [ "text", " " ],
671
- [ "lparen", "{" ]
672
- ]
673
- },
674
- {
675
- "state": "perl-start",
676
- "data": [
677
- [ "text", " " ],
678
- [ "keyword", "if" ],
679
- [ "text", " " ],
680
- [ "lparen", "(" ],
681
- [ "keyword.operator", "!" ],
682
- [ "text", " " ],
683
- [ "support.function", "defined" ],
684
- [ "text", " " ],
685
- [ "identifier", "$y" ],
686
- [ "rparen", ")" ],
687
- [ "text", " " ],
688
- [ "lparen", "{" ],
689
- [ "text", " " ],
690
- [ "support.function", "return" ],
691
- [ "text", " " ],
692
- [ "support.function", "undef" ],
693
- [ "text", "; " ],
694
- [ "rparen", "}" ]
695
- ]
696
- },
697
- {
698
- "state": "perl-start",
699
- "data": [
700
- [ "text", " " ],
701
- [ "support.function", "return" ],
702
- [ "text", " " ],
703
- [ "identifier", "$y" ],
704
- [ "text", ";" ]
705
- ]
706
- },
707
- {
708
- "state": "perl-start",
709
- "data": [
710
- [ "text", " " ],
711
- [ "rparen", "}" ]
712
- ]
713
- },
714
- {
715
- "state": "perl-start",
716
- "data": [
717
- [ "text", " " ],
718
- [ "keyword", "if" ],
719
- [ "text", " " ],
720
- [ "lparen", "(" ],
721
- [ "keyword.operator", "!" ],
722
- [ "text", " " ],
723
- [ "support.function", "defined" ],
724
- [ "text", " " ],
725
- [ "identifier", "$y" ],
726
- [ "rparen", ")" ],
727
- [ "text", " " ],
728
- [ "lparen", "{" ],
729
- [ "text", " " ],
730
- [ "support.function", "return" ],
731
- [ "text", " " ],
732
- [ "identifier", "$x" ],
733
- [ "text", "; " ],
734
- [ "rparen", "}" ]
735
- ]
736
- },
737
- {
738
- "state": "perl-start",
739
- "data": [
740
- [ "text", " " ],
741
- [ "keyword", "if" ],
742
- [ "text", " " ],
743
- [ "lparen", "(" ],
744
- [ "identifier", "$x" ],
745
- [ "text", " " ],
746
- [ "keyword.operator", ">" ],
747
- [ "text", " " ],
748
- [ "identifier", "$y" ],
749
- [ "rparen", ")" ],
750
- [ "text", " " ],
751
- [ "lparen", "{" ],
752
- [ "text", " " ],
753
- [ "support.function", "return" ],
754
- [ "text", " " ],
755
- [ "identifier", "$x" ],
756
- [ "text", "; " ],
757
- [ "rparen", "}" ]
758
- ]
759
- },
760
- {
761
- "state": "perl-start",
762
- "data": [
763
- [ "text", " " ],
764
- [ "support.function", "return" ],
765
- [ "text", " " ],
766
- [ "identifier", "$y" ],
767
- [ "text", ";" ]
768
- ]
769
- },
770
- {
771
- "state": "start",
772
- "data": [
773
- [ "string", "$perl$" ],
774
- [ "text", " " ],
775
- [ "keyword", "LANGUAGE" ],
776
- [ "text", " " ],
777
- [ "identifier", "plperl" ],
778
- [ "statementEnd", ";" ]
779
- ]
780
- },
781
- {
782
- "state": "start",
783
- "data": []
784
- },
785
- {
786
- "state": "start",
787
- "data": [
788
- [ "comment", "-- pl/python" ]
789
- ]
790
- },
791
- {
792
- "state": "python-start",
793
- "data": [
794
- [ "keyword.statementBegin", "CREATE" ],
795
- [ "text", " " ],
796
- [ "keyword", "FUNCTION" ],
797
- [ "text", " " ],
798
- [ "identifier", "usesavedplan" ],
799
- [ "paren.lparen", "(" ],
800
- [ "paren.rparen", ")" ],
801
- [ "text", " " ],
802
- [ "keyword", "RETURNS" ],
803
- [ "text", " " ],
804
- [ "keyword", "trigger" ],
805
- [ "text", " " ],
806
- [ "keyword", "AS" ],
807
- [ "text", " " ],
808
- [ "string", "$python$" ]
809
- ]
810
- },
811
- {
812
- "state": "python-start",
813
- "data": [
814
- [ "text", " " ],
815
- [ "comment", "# python comment..." ]
816
- ]
817
- },
818
- {
819
- "state": "python-start",
820
- "data": [
821
- [ "text", " " ],
822
- [ "keyword", "if" ],
823
- [ "text", " " ],
824
- [ "identifier", "SD" ],
825
- [ "text", "." ],
826
- [ "identifier", "has_key" ],
827
- [ "paren.lparen", "(" ],
828
- [ "string", "\"plan\"" ],
829
- [ "paren.rparen", ")" ],
830
- [ "text", ":" ]
831
- ]
832
- },
833
- {
834
- "state": "python-start",
835
- "data": [
836
- [ "text", " " ],
837
- [ "identifier", "plan" ],
838
- [ "text", " " ],
839
- [ "keyword.operator", "=" ],
840
- [ "text", " " ],
841
- [ "identifier", "SD" ],
842
- [ "paren.lparen", "[" ],
843
- [ "string", "\"plan\"" ],
844
- [ "paren.rparen", "]" ]
845
- ]
846
- },
847
- {
848
- "state": "python-start",
849
- "data": [
850
- [ "text", " " ],
851
- [ "keyword", "else" ],
852
- [ "text", ":" ]
853
- ]
854
- },
855
- {
856
- "state": "python-start",
857
- "data": [
858
- [ "text", " " ],
859
- [ "identifier", "plan" ],
860
- [ "text", " " ],
861
- [ "keyword.operator", "=" ],
862
- [ "text", " " ],
863
- [ "identifier", "plpy" ],
864
- [ "text", "." ],
865
- [ "identifier", "prepare" ],
866
- [ "paren.lparen", "(" ],
867
- [ "string", "\"SELECT 1\"" ],
868
- [ "paren.rparen", ")" ]
869
- ]
870
- },
871
- {
872
- "state": "python-start",
873
- "data": [
874
- [ "text", " " ],
875
- [ "identifier", "SD" ],
876
- [ "paren.lparen", "[" ],
877
- [ "string", "\"plan\"" ],
878
- [ "paren.rparen", "]" ],
879
- [ "text", " " ],
880
- [ "keyword.operator", "=" ],
881
- [ "text", " " ],
882
- [ "identifier", "plan" ]
883
- ]
884
- },
885
- {
886
- "state": "start",
887
- "data": [
888
- [ "string", "$python$" ],
889
- [ "text", " " ],
890
- [ "keyword", "LANGUAGE" ],
891
- [ "text", " " ],
892
- [ "identifier", "plpythonu" ],
893
- [ "statementEnd", ";" ]
894
- ]
895
- },
896
- {
897
- "state": "start",
898
- "data": []
899
- },
900
- {
901
- "state": "start",
902
- "data": []
903
- },
904
- {
905
- "state": "start",
906
- "data": [
907
- [ "comment", "-- psql commands" ]
908
- ]
909
- },
910
- {
911
- "state": "start",
912
- "data": [
913
- [ "support.buildin", "\\df cash*" ]
914
- ]
915
- },
916
- {
917
- "state": "start",
918
- "data": []
919
- },
920
- {
921
- "state": "start",
922
- "data": []
923
- },
924
- {
925
- "state": "start",
926
- "data": [
927
- [ "comment", "-- Some string samples." ]
928
- ]
929
- },
930
- {
931
- "state": "start",
932
- "data": [
933
- [ "keyword.statementBegin", "select" ],
934
- [ "text", " " ],
935
- [ "string", "'don'" ],
936
- [ "string", "'t do it now;'" ],
937
- [ "text", " " ],
938
- [ "keyword.operator", "|" ],
939
- [ "keyword.operator", "|" ],
940
- [ "text", " " ],
941
- [ "string", "'maybe later'" ],
942
- [ "statementEnd", ";" ]
943
- ]
944
- },
945
- {
946
- "state": "start",
947
- "data": [
948
- [ "keyword.statementBegin", "select" ],
949
- [ "text", " " ],
950
- [ "identifier", "E" ],
951
- [ "string", "'dont\\'t do it'" ],
952
- [ "statementEnd", ";" ]
953
- ]
954
- },
955
- {
956
- "state": "start",
957
- "data": [
958
- [ "keyword.statementBegin", "select" ],
959
- [ "text", " " ],
960
- [ "support.function", "length" ],
961
- [ "paren.lparen", "(" ],
962
- [ "string", "'some other'" ],
963
- [ "string", "'s stuff'" ],
964
- [ "text", " " ],
965
- [ "keyword.operator", "|" ],
966
- [ "keyword.operator", "|" ],
967
- [ "text", " " ],
968
- [ "string", "$$" ],
969
- [ "string", "cat in hat's stuff $$" ],
970
- [ "paren.rparen", ")" ],
971
- [ "statementEnd", ";" ]
972
- ]
973
- },
974
- {
975
- "state": "start",
976
- "data": []
977
- },
978
- {
979
- "state": "dollarStatementString",
980
- "data": [
981
- [ "keyword.statementBegin", "select" ],
982
- [ "text", " " ],
983
- [ "string", "$$ strings" ]
984
- ]
985
- },
986
- {
987
- "state": "dollarStatementString",
988
- "data": [
989
- [ "string", "over multiple " ]
990
- ]
991
- },
992
- {
993
- "state": "dollarStatementString",
994
- "data": [
995
- [ "string", "lines - use dollar quotes" ]
996
- ]
997
- },
998
- {
999
- "state": "start",
1000
- "data": [
1001
- [ "string", "$$" ],
1002
- [ "statementEnd", ";" ]
1003
- ]
1004
- },
1005
- {
1006
- "state": "start",
1007
- "data": []
1008
- },
1009
- {
1010
- "state": "start",
1011
- "data": [
1012
- [ "keyword.statementBegin", "END" ],
1013
- [ "statementEnd", ";" ]
1014
- ]
1015
- },
1016
- {
1017
- "state": "start",
1018
- "data": []
1019
- }
1020
- ]
1
+ [[
2
+ "start"
3
+ ],[
4
+ "start",
5
+ ["keyword.statementBegin","BEGIN"],
6
+ ["statementEnd",";"]
7
+ ],[
8
+ "start"
9
+ ],[
10
+ "doc-start",
11
+ ["comment.doc","/**"]
12
+ ],[
13
+ "doc-start",
14
+ ["comment.doc","* Samples from PostgreSQL src/tutorial/basics.source"]
15
+ ],[
16
+ "start",
17
+ ["comment.doc","*/"]
18
+ ],[
19
+ "statement",
20
+ ["keyword.statementBegin","CREATE"],
21
+ ["text"," "],
22
+ ["keyword","TABLE"],
23
+ ["text"," "],
24
+ ["identifier","weather"],
25
+ ["text"," "],
26
+ ["paren.lparen","("]
27
+ ],[
28
+ "statement",
29
+ ["text","\t"],
30
+ ["identifier","city"],
31
+ ["text","\t\t"],
32
+ ["keyword","varchar"],
33
+ ["paren.lparen","("],
34
+ ["constant.numeric","80"],
35
+ ["paren.rparen",")"],
36
+ ["text",","]
37
+ ],[
38
+ "statement",
39
+ ["text","\t"],
40
+ ["identifier","temp_lo"],
41
+ ["text","\t\t"],
42
+ ["keyword","int"],
43
+ ["text",",\t\t"],
44
+ ["comment","-- low temperature"]
45
+ ],[
46
+ "statement",
47
+ ["text","\t"],
48
+ ["identifier","temp_hi"],
49
+ ["text","\t\t"],
50
+ ["keyword","int"],
51
+ ["text",",\t\t"],
52
+ ["comment","-- high temperature"]
53
+ ],[
54
+ "statement",
55
+ ["text","\t"],
56
+ ["identifier","prcp"],
57
+ ["text","\t\t"],
58
+ ["keyword","real"],
59
+ ["text",",\t\t"],
60
+ ["comment","-- precipitation"]
61
+ ],[
62
+ "statement",
63
+ ["text","\t"],
64
+ ["variable.language","\"date\""],
65
+ ["text","\t\t"],
66
+ ["keyword","date"]
67
+ ],[
68
+ "start",
69
+ ["paren.rparen",")"],
70
+ ["statementEnd",";"]
71
+ ],[
72
+ "start"
73
+ ],[
74
+ "statement",
75
+ ["keyword.statementBegin","CREATE"],
76
+ ["text"," "],
77
+ ["keyword","TABLE"],
78
+ ["text"," "],
79
+ ["identifier","cities"],
80
+ ["text"," "],
81
+ ["paren.lparen","("]
82
+ ],[
83
+ "statement",
84
+ ["text","\t"],
85
+ ["keyword","name"],
86
+ ["text","\t\t"],
87
+ ["keyword","varchar"],
88
+ ["paren.lparen","("],
89
+ ["constant.numeric","80"],
90
+ ["paren.rparen",")"],
91
+ ["text",","]
92
+ ],[
93
+ "statement",
94
+ ["text","\t"],
95
+ ["keyword","location"],
96
+ ["text","\t"],
97
+ ["keyword","point"]
98
+ ],[
99
+ "start",
100
+ ["paren.rparen",")"],
101
+ ["statementEnd",";"]
102
+ ],[
103
+ "start"
104
+ ],[
105
+ "start"
106
+ ],[
107
+ "statement",
108
+ ["keyword.statementBegin","INSERT"],
109
+ ["text"," "],
110
+ ["keyword","INTO"],
111
+ ["text"," "],
112
+ ["identifier","weather"]
113
+ ],[
114
+ "start",
115
+ ["text"," "],
116
+ ["keyword","VALUES"],
117
+ ["text"," "],
118
+ ["paren.lparen","("],
119
+ ["string","'San Francisco'"],
120
+ ["text",", "],
121
+ ["constant.numeric","46"],
122
+ ["text",", "],
123
+ ["constant.numeric","50"],
124
+ ["text",", "],
125
+ ["constant.numeric","0.25"],
126
+ ["text",", "],
127
+ ["string","'1994-11-27'"],
128
+ ["paren.rparen",")"],
129
+ ["statementEnd",";"]
130
+ ],[
131
+ "start"
132
+ ],[
133
+ "statement",
134
+ ["keyword.statementBegin","INSERT"],
135
+ ["text"," "],
136
+ ["keyword","INTO"],
137
+ ["text"," "],
138
+ ["identifier","cities"]
139
+ ],[
140
+ "start",
141
+ ["text"," "],
142
+ ["keyword","VALUES"],
143
+ ["text"," "],
144
+ ["paren.lparen","("],
145
+ ["string","'San Francisco'"],
146
+ ["text",", "],
147
+ ["string","'(-194.0, 53.0)'"],
148
+ ["paren.rparen",")"],
149
+ ["statementEnd",";"]
150
+ ],[
151
+ "start"
152
+ ],[
153
+ "statement",
154
+ ["keyword.statementBegin","INSERT"],
155
+ ["text"," "],
156
+ ["keyword","INTO"],
157
+ ["text"," "],
158
+ ["identifier","weather"],
159
+ ["text"," "],
160
+ ["paren.lparen","("],
161
+ ["identifier","city"],
162
+ ["text",", "],
163
+ ["identifier","temp_lo"],
164
+ ["text",", "],
165
+ ["identifier","temp_hi"],
166
+ ["text",", "],
167
+ ["identifier","prcp"],
168
+ ["text",", "],
169
+ ["variable.language","\"date\""],
170
+ ["paren.rparen",")"]
171
+ ],[
172
+ "start",
173
+ ["text"," "],
174
+ ["keyword","VALUES"],
175
+ ["text"," "],
176
+ ["paren.lparen","("],
177
+ ["string","'San Francisco'"],
178
+ ["text",", "],
179
+ ["constant.numeric","43"],
180
+ ["text",", "],
181
+ ["constant.numeric","57"],
182
+ ["text",", "],
183
+ ["constant.numeric","0.0"],
184
+ ["text",", "],
185
+ ["string","'1994-11-29'"],
186
+ ["paren.rparen",")"],
187
+ ["statementEnd",";"]
188
+ ],[
189
+ "start"
190
+ ],[
191
+ "statement",
192
+ ["keyword.statementBegin","INSERT"],
193
+ ["text"," "],
194
+ ["keyword","INTO"],
195
+ ["text"," "],
196
+ ["identifier","weather"],
197
+ ["text"," "],
198
+ ["paren.lparen","("],
199
+ ["keyword","date"],
200
+ ["text",", "],
201
+ ["identifier","city"],
202
+ ["text",", "],
203
+ ["identifier","temp_hi"],
204
+ ["text",", "],
205
+ ["identifier","temp_lo"],
206
+ ["paren.rparen",")"]
207
+ ],[
208
+ "start",
209
+ ["text"," "],
210
+ ["keyword","VALUES"],
211
+ ["text"," "],
212
+ ["paren.lparen","("],
213
+ ["string","'1994-11-29'"],
214
+ ["text",", "],
215
+ ["string","'Hayward'"],
216
+ ["text",", "],
217
+ ["constant.numeric","54"],
218
+ ["text",", "],
219
+ ["constant.numeric","37"],
220
+ ["paren.rparen",")"],
221
+ ["statementEnd",";"]
222
+ ],[
223
+ "start"
224
+ ],[
225
+ "start"
226
+ ],[
227
+ "start",
228
+ ["keyword.statementBegin","SELECT"],
229
+ ["text"," "],
230
+ ["identifier","city"],
231
+ ["text",", "],
232
+ ["paren.lparen","("],
233
+ ["identifier","temp_hi"],
234
+ ["keyword.operator","+"],
235
+ ["identifier","temp_lo"],
236
+ ["paren.rparen",")"],
237
+ ["keyword.operator","/"],
238
+ ["constant.numeric","2"],
239
+ ["text"," "],
240
+ ["keyword","AS"],
241
+ ["text"," "],
242
+ ["identifier","temp_avg"],
243
+ ["text",", "],
244
+ ["variable.language","\"date\""],
245
+ ["text"," "],
246
+ ["keyword","FROM"],
247
+ ["text"," "],
248
+ ["identifier","weather"],
249
+ ["statementEnd",";"]
250
+ ],[
251
+ "start"
252
+ ],[
253
+ "statement",
254
+ ["keyword.statementBegin","SELECT"],
255
+ ["text"," "],
256
+ ["identifier","city"],
257
+ ["text",", "],
258
+ ["identifier","temp_lo"],
259
+ ["text",", "],
260
+ ["identifier","temp_hi"],
261
+ ["text",", "],
262
+ ["identifier","prcp"],
263
+ ["text",", "],
264
+ ["variable.language","\"date\""],
265
+ ["text",", "],
266
+ ["keyword","location"]
267
+ ],[
268
+ "statement",
269
+ ["text"," "],
270
+ ["keyword","FROM"],
271
+ ["text"," "],
272
+ ["identifier","weather"],
273
+ ["text",", "],
274
+ ["identifier","cities"]
275
+ ],[
276
+ "start",
277
+ ["text"," "],
278
+ ["keyword","WHERE"],
279
+ ["text"," "],
280
+ ["identifier","city"],
281
+ ["text"," "],
282
+ ["keyword.operator","="],
283
+ ["text"," "],
284
+ ["keyword","name"],
285
+ ["statementEnd",";"]
286
+ ],[
287
+ "start"
288
+ ],[
289
+ "start"
290
+ ],[
291
+ "start"
292
+ ],[
293
+ "doc-start",
294
+ ["comment.doc","/**"]
295
+ ],[
296
+ "doc-start",
297
+ ["comment.doc","* Dollar quotes starting at the end of the line are colored as SQL unless"]
298
+ ],[
299
+ "doc-start",
300
+ ["comment.doc","* a special language tag is used. Dollar quote syntax coloring is implemented"]
301
+ ],[
302
+ "doc-start",
303
+ ["comment.doc","* for Perl, Python, JavaScript, and Json."]
304
+ ],[
305
+ "start",
306
+ ["comment.doc","*/"]
307
+ ],[
308
+ "statement",
309
+ ["keyword.statementBegin","create"],
310
+ ["text"," "],
311
+ ["keyword","or"],
312
+ ["text"," "],
313
+ ["keyword","replace"],
314
+ ["text"," "],
315
+ ["keyword","function"],
316
+ ["text"," "],
317
+ ["identifier","blob_content_chunked"],
318
+ ["paren.lparen","("]
319
+ ],[
320
+ "statement",
321
+ ["text"," "],
322
+ ["keyword","in"],
323
+ ["text"," "],
324
+ ["identifier","p_data"],
325
+ ["text"," "],
326
+ ["keyword","bytea"],
327
+ ["text",", "]
328
+ ],[
329
+ "statement",
330
+ ["text"," "],
331
+ ["keyword","in"],
332
+ ["text"," "],
333
+ ["identifier","p_chunk"],
334
+ ["text"," "],
335
+ ["keyword","integer"],
336
+ ["paren.rparen",")"]
337
+ ],[
338
+ "dollarSql",
339
+ ["keyword","returns"],
340
+ ["text"," "],
341
+ ["keyword","setof"],
342
+ ["text"," "],
343
+ ["keyword","bytea"],
344
+ ["text"," "],
345
+ ["keyword","as"],
346
+ ["text"," "],
347
+ ["string","$$"]
348
+ ],[
349
+ "dollarSql",
350
+ ["comment","-- Still SQL comments"]
351
+ ],[
352
+ "dollarSql",
353
+ ["keyword","declare"]
354
+ ],[
355
+ "dollarSql",
356
+ ["text","\t"],
357
+ ["identifier","v_size"],
358
+ ["text"," "],
359
+ ["keyword","integer"],
360
+ ["text"," "],
361
+ ["keyword.operator","="],
362
+ ["text"," "],
363
+ ["support.function","octet_length"],
364
+ ["paren.lparen","("],
365
+ ["identifier","p_data"],
366
+ ["paren.rparen",")"],
367
+ ["text",";"]
368
+ ],[
369
+ "dollarSql",
370
+ ["keyword","begin"]
371
+ ],[
372
+ "dollarSql",
373
+ ["text","\t"],
374
+ ["keyword","for"],
375
+ ["text"," "],
376
+ ["identifier","i"],
377
+ ["text"," "],
378
+ ["keyword","in"],
379
+ ["text"," "],
380
+ ["constant.numeric","1"],
381
+ ["text",".."],
382
+ ["identifier","v_size"],
383
+ ["text"," "],
384
+ ["keyword","by"],
385
+ ["text"," "],
386
+ ["identifier","p_chunk"],
387
+ ["text"," "],
388
+ ["identifier","loop"]
389
+ ],[
390
+ "dollarSql",
391
+ ["text","\t\t"],
392
+ ["identifier","return"],
393
+ ["text"," "],
394
+ ["keyword","next"],
395
+ ["text"," "],
396
+ ["keyword","substring"],
397
+ ["paren.lparen","("],
398
+ ["identifier","p_data"],
399
+ ["text"," "],
400
+ ["keyword","from"],
401
+ ["text"," "],
402
+ ["identifier","i"],
403
+ ["text"," "],
404
+ ["keyword","for"],
405
+ ["text"," "],
406
+ ["identifier","p_chunk"],
407
+ ["paren.rparen",")"],
408
+ ["text",";"]
409
+ ],[
410
+ "dollarSql",
411
+ ["text","\t"],
412
+ ["keyword","end"],
413
+ ["text"," "],
414
+ ["identifier","loop"],
415
+ ["text",";"]
416
+ ],[
417
+ "dollarSql",
418
+ ["keyword","end"],
419
+ ["text",";"]
420
+ ],[
421
+ "start",
422
+ ["string","$$"],
423
+ ["text"," "],
424
+ ["keyword","language"],
425
+ ["text"," "],
426
+ ["identifier","plpgsql"],
427
+ ["text"," "],
428
+ ["keyword","stable"],
429
+ ["statementEnd",";"]
430
+ ],[
431
+ "start"
432
+ ],[
433
+ "start"
434
+ ],[
435
+ "start",
436
+ ["comment","-- pl/perl"]
437
+ ],[
438
+ "perl-start",
439
+ ["keyword.statementBegin","CREATE"],
440
+ ["text"," "],
441
+ ["keyword","FUNCTION"],
442
+ ["text"," "],
443
+ ["identifier","perl_max"],
444
+ ["text"," "],
445
+ ["paren.lparen","("],
446
+ ["keyword","integer"],
447
+ ["text",", "],
448
+ ["keyword","integer"],
449
+ ["paren.rparen",")"],
450
+ ["text"," "],
451
+ ["keyword","RETURNS"],
452
+ ["text"," "],
453
+ ["keyword","integer"],
454
+ ["text"," "],
455
+ ["keyword","AS"],
456
+ ["text"," "],
457
+ ["string","$perl$"]
458
+ ],[
459
+ "perl-start",
460
+ ["text"," "],
461
+ ["comment","# perl comment..."]
462
+ ],[
463
+ "perl-start",
464
+ ["text"," "],
465
+ ["keyword","my"],
466
+ ["text"," "],
467
+ ["lparen","("],
468
+ ["identifier","$x"],
469
+ ["keyword.operator",","],
470
+ ["identifier","$y"],
471
+ ["rparen",")"],
472
+ ["text"," "],
473
+ ["keyword.operator","="],
474
+ ["text"," @"],
475
+ ["identifier","_"],
476
+ ["text",";"]
477
+ ],[
478
+ "perl-start",
479
+ ["text"," "],
480
+ ["keyword","if"],
481
+ ["text"," "],
482
+ ["lparen","("],
483
+ ["keyword.operator","!"],
484
+ ["text"," "],
485
+ ["support.function","defined"],
486
+ ["text"," "],
487
+ ["identifier","$x"],
488
+ ["rparen",")"],
489
+ ["text"," "],
490
+ ["lparen","{"]
491
+ ],[
492
+ "perl-start",
493
+ ["text"," "],
494
+ ["keyword","if"],
495
+ ["text"," "],
496
+ ["lparen","("],
497
+ ["keyword.operator","!"],
498
+ ["text"," "],
499
+ ["support.function","defined"],
500
+ ["text"," "],
501
+ ["identifier","$y"],
502
+ ["rparen",")"],
503
+ ["text"," "],
504
+ ["lparen","{"],
505
+ ["text"," "],
506
+ ["support.function","return"],
507
+ ["text"," "],
508
+ ["support.function","undef"],
509
+ ["text","; "],
510
+ ["rparen","}"]
511
+ ],[
512
+ "perl-start",
513
+ ["text"," "],
514
+ ["support.function","return"],
515
+ ["text"," "],
516
+ ["identifier","$y"],
517
+ ["text",";"]
518
+ ],[
519
+ "perl-start",
520
+ ["text"," "],
521
+ ["rparen","}"]
522
+ ],[
523
+ "perl-start",
524
+ ["text"," "],
525
+ ["keyword","if"],
526
+ ["text"," "],
527
+ ["lparen","("],
528
+ ["keyword.operator","!"],
529
+ ["text"," "],
530
+ ["support.function","defined"],
531
+ ["text"," "],
532
+ ["identifier","$y"],
533
+ ["rparen",")"],
534
+ ["text"," "],
535
+ ["lparen","{"],
536
+ ["text"," "],
537
+ ["support.function","return"],
538
+ ["text"," "],
539
+ ["identifier","$x"],
540
+ ["text","; "],
541
+ ["rparen","}"]
542
+ ],[
543
+ "perl-start",
544
+ ["text"," "],
545
+ ["keyword","if"],
546
+ ["text"," "],
547
+ ["lparen","("],
548
+ ["identifier","$x"],
549
+ ["text"," "],
550
+ ["keyword.operator",">"],
551
+ ["text"," "],
552
+ ["identifier","$y"],
553
+ ["rparen",")"],
554
+ ["text"," "],
555
+ ["lparen","{"],
556
+ ["text"," "],
557
+ ["support.function","return"],
558
+ ["text"," "],
559
+ ["identifier","$x"],
560
+ ["text","; "],
561
+ ["rparen","}"]
562
+ ],[
563
+ "perl-start",
564
+ ["text"," "],
565
+ ["support.function","return"],
566
+ ["text"," "],
567
+ ["identifier","$y"],
568
+ ["text",";"]
569
+ ],[
570
+ "start",
571
+ ["string","$perl$"],
572
+ ["text"," "],
573
+ ["keyword","LANGUAGE"],
574
+ ["text"," "],
575
+ ["identifier","plperl"],
576
+ ["statementEnd",";"]
577
+ ],[
578
+ "start"
579
+ ],[
580
+ "start",
581
+ ["comment","-- pl/python"]
582
+ ],[
583
+ "python-start",
584
+ ["keyword.statementBegin","CREATE"],
585
+ ["text"," "],
586
+ ["keyword","FUNCTION"],
587
+ ["text"," "],
588
+ ["identifier","usesavedplan"],
589
+ ["paren.lparen","("],
590
+ ["paren.rparen",")"],
591
+ ["text"," "],
592
+ ["keyword","RETURNS"],
593
+ ["text"," "],
594
+ ["keyword","trigger"],
595
+ ["text"," "],
596
+ ["keyword","AS"],
597
+ ["text"," "],
598
+ ["string","$python$"]
599
+ ],[
600
+ "python-start",
601
+ ["text"," "],
602
+ ["comment","# python comment..."]
603
+ ],[
604
+ "python-start",
605
+ ["text"," "],
606
+ ["keyword","if"],
607
+ ["text"," "],
608
+ ["identifier","SD"],
609
+ ["text","."],
610
+ ["identifier","has_key"],
611
+ ["paren.lparen","("],
612
+ ["string","\"plan\""],
613
+ ["paren.rparen",")"],
614
+ ["text",":"]
615
+ ],[
616
+ "python-start",
617
+ ["text"," "],
618
+ ["identifier","plan"],
619
+ ["text"," "],
620
+ ["keyword.operator","="],
621
+ ["text"," "],
622
+ ["identifier","SD"],
623
+ ["paren.lparen","["],
624
+ ["string","\"plan\""],
625
+ ["paren.rparen","]"]
626
+ ],[
627
+ "python-start",
628
+ ["text"," "],
629
+ ["keyword","else"],
630
+ ["text",":"]
631
+ ],[
632
+ "python-start",
633
+ ["text"," "],
634
+ ["identifier","plan"],
635
+ ["text"," "],
636
+ ["keyword.operator","="],
637
+ ["text"," "],
638
+ ["identifier","plpy"],
639
+ ["text","."],
640
+ ["identifier","prepare"],
641
+ ["paren.lparen","("],
642
+ ["string","\"SELECT 1\""],
643
+ ["paren.rparen",")"]
644
+ ],[
645
+ "python-start",
646
+ ["text"," "],
647
+ ["identifier","SD"],
648
+ ["paren.lparen","["],
649
+ ["string","\"plan\""],
650
+ ["paren.rparen","]"],
651
+ ["text"," "],
652
+ ["keyword.operator","="],
653
+ ["text"," "],
654
+ ["identifier","plan"]
655
+ ],[
656
+ "start",
657
+ ["string","$python$"],
658
+ ["text"," "],
659
+ ["keyword","LANGUAGE"],
660
+ ["text"," "],
661
+ ["identifier","plpythonu"],
662
+ ["statementEnd",";"]
663
+ ],[
664
+ "start"
665
+ ],[
666
+ "start",
667
+ ["comment","-- pl/v8 (javascript)"]
668
+ ],[
669
+ "javascript-start",
670
+ ["keyword.statementBegin","CREATE"],
671
+ ["text"," "],
672
+ ["keyword","FUNCTION"],
673
+ ["text"," "],
674
+ ["identifier","plv8_test"],
675
+ ["paren.lparen","("],
676
+ ["identifier","keys"],
677
+ ["text"," "],
678
+ ["keyword","text"],
679
+ ["text","[], "],
680
+ ["identifier","vals"],
681
+ ["text"," "],
682
+ ["keyword","text"],
683
+ ["text","[]"],
684
+ ["paren.rparen",")"],
685
+ ["text"," "],
686
+ ["keyword","RETURNS"],
687
+ ["text"," "],
688
+ ["keyword","text"],
689
+ ["text"," "],
690
+ ["keyword","AS"],
691
+ ["text"," "],
692
+ ["string","$javascript$"]
693
+ ],[
694
+ "javascript-start",
695
+ ["storage.type","var"],
696
+ ["text"," "],
697
+ ["identifier","o"],
698
+ ["text"," "],
699
+ ["keyword.operator","="],
700
+ ["text"," "],
701
+ ["paren.lparen","{"],
702
+ ["paren.rparen","}"],
703
+ ["punctuation.operator",";"]
704
+ ],[
705
+ "javascript-start",
706
+ ["keyword","for"],
707
+ ["paren.lparen","("],
708
+ ["storage.type","var"],
709
+ ["text"," "],
710
+ ["identifier","i"],
711
+ ["keyword.operator","="],
712
+ ["constant.numeric","0"],
713
+ ["punctuation.operator",";"],
714
+ ["text"," "],
715
+ ["identifier","i"],
716
+ ["keyword.operator","<"],
717
+ ["identifier","keys"],
718
+ ["punctuation.operator","."],
719
+ ["support.constant","length"],
720
+ ["punctuation.operator",";"],
721
+ ["text"," "],
722
+ ["identifier","i"],
723
+ ["keyword.operator","++"],
724
+ ["paren.rparen",")"],
725
+ ["paren.lparen","{"]
726
+ ],[
727
+ "javascript-start",
728
+ ["text"," "],
729
+ ["identifier","o"],
730
+ ["paren.lparen","["],
731
+ ["identifier","keys"],
732
+ ["paren.lparen","["],
733
+ ["identifier","i"],
734
+ ["paren.rparen","]]"],
735
+ ["text"," "],
736
+ ["keyword.operator","="],
737
+ ["text"," "],
738
+ ["identifier","vals"],
739
+ ["paren.lparen","["],
740
+ ["identifier","i"],
741
+ ["paren.rparen","]"],
742
+ ["punctuation.operator",";"]
743
+ ],[
744
+ "javascript-no_regex",
745
+ ["paren.rparen","}"]
746
+ ],[
747
+ "javascript-start",
748
+ ["keyword","return"],
749
+ ["text"," "],
750
+ ["variable.language","JSON"],
751
+ ["punctuation.operator","."],
752
+ ["identifier","stringify"],
753
+ ["paren.lparen","("],
754
+ ["identifier","o"],
755
+ ["paren.rparen",")"],
756
+ ["punctuation.operator",";"]
757
+ ],[
758
+ "start",
759
+ ["string","$javascript$"],
760
+ ["text"," "],
761
+ ["keyword","LANGUAGE"],
762
+ ["text"," "],
763
+ ["identifier","plv8"],
764
+ ["text"," "],
765
+ ["keyword","IMMUTABLE"],
766
+ ["text"," "],
767
+ ["keyword","STRICT"],
768
+ ["statementEnd",";"]
769
+ ],[
770
+ "start"
771
+ ],[
772
+ "start",
773
+ ["comment","-- json"]
774
+ ],[
775
+ "json-start",
776
+ ["keyword.statementBegin","select"],
777
+ ["text"," "],
778
+ ["keyword.operator","*"],
779
+ ["text"," "],
780
+ ["keyword","from"],
781
+ ["text"," "],
782
+ ["support.function","json_object_keys"],
783
+ ["paren.lparen","("],
784
+ ["string","$json$"]
785
+ ],[
786
+ "json-start",
787
+ ["paren.lparen","{"]
788
+ ],[
789
+ "json-start",
790
+ ["text"," "],
791
+ ["variable","\"f1\""],
792
+ ["text",": "],
793
+ ["constant.numeric","5"],
794
+ ["text",","]
795
+ ],[
796
+ "json-start",
797
+ ["text"," "],
798
+ ["variable","\"f2\""],
799
+ ["text",": "],
800
+ ["string","\"test\""],
801
+ ["text",","]
802
+ ],[
803
+ "json-start",
804
+ ["text"," "],
805
+ ["variable","\"f3\""],
806
+ ["text",": "],
807
+ ["paren.lparen","{"],
808
+ ["paren.rparen","}"]
809
+ ],[
810
+ "json-start",
811
+ ["paren.rparen","}"]
812
+ ],[
813
+ "start",
814
+ ["string","$json$"],
815
+ ["paren.rparen",")"],
816
+ ["statementEnd",";"]
817
+ ],[
818
+ "start"
819
+ ],[
820
+ "start"
821
+ ],[
822
+ "start",
823
+ ["comment","-- psql commands"]
824
+ ],[
825
+ "start",
826
+ ["support.buildin","\\df cash*"]
827
+ ],[
828
+ "start"
829
+ ],[
830
+ "start"
831
+ ],[
832
+ "start",
833
+ ["comment","-- Some string samples."]
834
+ ],[
835
+ "start",
836
+ ["keyword.statementBegin","select"],
837
+ ["text"," "],
838
+ ["string","'don''t do it now;'"],
839
+ ["text"," "],
840
+ ["keyword.operator","||"],
841
+ ["text"," "],
842
+ ["string","'maybe later'"],
843
+ ["statementEnd",";"]
844
+ ],[
845
+ "start",
846
+ ["keyword.statementBegin","select"],
847
+ ["text"," "],
848
+ ["identifier","E"],
849
+ ["string","'dont\\'t do it'"],
850
+ ["statementEnd",";"]
851
+ ],[
852
+ "start",
853
+ ["keyword.statementBegin","select"],
854
+ ["text"," "],
855
+ ["support.function","length"],
856
+ ["paren.lparen","("],
857
+ ["string","'some other''s stuff'"],
858
+ ["text"," "],
859
+ ["keyword.operator","||"],
860
+ ["text"," "],
861
+ ["string","$$cat in hat's stuff $$"],
862
+ ["paren.rparen",")"],
863
+ ["statementEnd",";"]
864
+ ],[
865
+ "start"
866
+ ],[
867
+ "dollarStatementString",
868
+ ["keyword.statementBegin","select"],
869
+ ["text"," "],
870
+ ["string","$$ strings"]
871
+ ],[
872
+ "dollarStatementString",
873
+ ["string","over multiple "]
874
+ ],[
875
+ "dollarStatementString",
876
+ ["string","lines - use dollar quotes"]
877
+ ],[
878
+ "start",
879
+ ["string","$$"],
880
+ ["statementEnd",";"]
881
+ ],[
882
+ "start"
883
+ ],[
884
+ "start",
885
+ ["keyword.statementBegin","END"],
886
+ ["statementEnd",";"]
887
+ ],[
888
+ "start"
889
+ ]]