gollum 2.4.4 → 2.4.5

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 (391) hide show
  1. data/gollum.gemspec +100 -19
  2. data/lib/gollum.rb +2 -3
  3. data/lib/gollum/frontend/public/gollum/css/gollum.css +3 -1
  4. data/lib/gollum/frontend/public/gollum/css/template.css +8 -12
  5. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +64 -60
  6. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +56 -62
  7. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +25 -32
  8. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +56 -63
  9. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +25 -32
  10. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +11 -11
  11. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +59 -53
  12. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +46 -39
  13. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +32 -36
  14. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +62 -47
  15. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js +71 -0
  16. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +82 -41
  17. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +126 -145
  18. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +25 -33
  19. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +484 -467
  20. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +30 -63
  21. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +29 -37
  22. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +27 -35
  23. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +47 -55
  24. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +61 -41
  25. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +506 -517
  26. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +25 -32
  27. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +26 -34
  28. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +25 -32
  29. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +25 -32
  30. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +28 -38
  31. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +9 -14
  32. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +26 -36
  33. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +44 -36
  34. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +45 -52
  35. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +25 -34
  36. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +26 -33
  37. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +230 -165
  38. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +76 -49
  39. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +66 -61
  40. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +36 -43
  41. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +138 -156
  42. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +35 -32
  43. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +18 -18
  44. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +25 -32
  45. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +116 -101
  46. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +117 -83
  47. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +60 -71
  48. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +163 -102
  49. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +60 -41
  50. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +26 -36
  51. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +26 -36
  52. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +24 -1
  53. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +52 -54
  54. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +32 -39
  55. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +25 -32
  56. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +9 -1
  57. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +73 -33
  58. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +10 -3
  59. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +25 -32
  60. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +2 -2
  61. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +55 -58
  62. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +8 -0
  63. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +144 -0
  64. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +52 -0
  65. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +175 -0
  66. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +124 -0
  67. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +248 -0
  68. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +188 -0
  69. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +41 -0
  70. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +42 -0
  71. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +231 -0
  72. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +732 -0
  73. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +185 -0
  74. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +362 -0
  75. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +529 -0
  76. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +195 -0
  77. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +150 -0
  78. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +139 -0
  79. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +555 -0
  80. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +611 -0
  81. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +79 -0
  82. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +196 -0
  83. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +292 -0
  84. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +698 -0
  85. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +451 -0
  86. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +824 -0
  87. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +1202 -0
  88. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +260 -0
  89. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +311 -0
  90. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +1020 -0
  91. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +238 -0
  92. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +255 -0
  93. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +205 -0
  94. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +104 -0
  95. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +267 -0
  96. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +748 -0
  97. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +181 -0
  98. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +434 -0
  99. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +73 -0
  100. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +931 -0
  101. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +536 -0
  102. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +58 -0
  103. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +195 -0
  104. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +705 -0
  105. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +64 -0
  106. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +260 -0
  107. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +77 -0
  108. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +133 -0
  109. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +64 -0
  110. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +234 -0
  111. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +26 -34
  112. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +195 -55
  113. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +26 -34
  114. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +26 -34
  115. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +31 -31
  116. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +25 -32
  117. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +25 -32
  118. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +25 -33
  119. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +67 -60
  120. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +25 -34
  121. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +112 -130
  122. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +29 -36
  123. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +25 -32
  124. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +22 -7
  125. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +140 -64
  126. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +479 -237
  127. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +321 -230
  128. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +25 -32
  129. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +62 -28
  130. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +39 -20
  131. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +183 -82
  132. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +226 -32
  133. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +25 -32
  134. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +25 -32
  135. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +28 -35
  136. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +25 -32
  137. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +7 -21
  138. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +36 -47
  139. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +202 -697
  140. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +51 -84
  141. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +25 -32
  142. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +25 -32
  143. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +68 -40
  144. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +25 -32
  145. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +62 -0
  146. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +192 -0
  147. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +25 -31
  148. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +27 -33
  149. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +25 -32
  150. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +142 -0
  151. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +31 -37
  152. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +26 -33
  153. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +25 -32
  154. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +30 -51
  155. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +25 -32
  156. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +28 -35
  157. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +35 -30
  158. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +25 -32
  159. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +25 -32
  160. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +162 -0
  161. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +163 -0
  162. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +125 -0
  163. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +25 -32
  164. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +25 -32
  165. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +26 -33
  166. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +25 -32
  167. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +25 -32
  168. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +52 -0
  169. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +81 -0
  170. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -1
  171. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +15 -22
  172. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +28 -36
  173. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +62 -0
  174. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +132 -0
  175. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +20 -25
  176. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +11 -15
  177. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +25 -32
  178. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +32 -38
  179. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +162 -69
  180. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +25 -32
  181. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +58 -0
  182. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +347 -0
  183. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +18 -29
  184. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +28 -51
  185. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +4838 -0
  186. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +98 -180
  187. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +26 -33
  188. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +25 -32
  189. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +163 -64
  190. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +38 -40
  191. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +26 -33
  192. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +26 -34
  193. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +25 -32
  194. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +25 -32
  195. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +56 -0
  196. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +85 -0
  197. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +3 -2
  198. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +1 -1
  199. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +25 -33
  200. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +25 -33
  201. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +25 -32
  202. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +146 -161
  203. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +25 -32
  204. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +60 -0
  205. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +127 -0
  206. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +116 -56
  207. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +75 -101
  208. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +16 -0
  209. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +49 -0
  210. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +99 -0
  211. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +62 -0
  212. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +75 -0
  213. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +35 -41
  214. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +29 -37
  215. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +100 -0
  216. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +25 -32
  217. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +25 -32
  218. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +62 -0
  219. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +343 -0
  220. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +25 -32
  221. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +39 -53
  222. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +25 -32
  223. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +39 -52
  224. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +33 -24
  225. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +55 -51
  226. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +57 -36
  227. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +53 -153
  228. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +31 -21
  229. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +28 -36
  230. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +44 -61
  231. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +25 -32
  232. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +135 -0
  233. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +190 -0
  234. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -0
  235. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +99 -0
  236. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +67 -0
  237. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +49 -0
  238. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +27 -33
  239. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +102 -90
  240. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +29 -37
  241. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +25 -33
  242. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +32 -54
  243. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +18 -32
  244. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +25 -32
  245. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +25 -32
  246. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +28 -35
  247. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +48 -64
  248. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +28 -18
  249. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +41 -36
  250. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +62 -0
  251. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +175 -0
  252. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +25 -32
  253. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +26 -33
  254. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +110 -0
  255. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +180 -0
  256. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +48 -0
  257. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +107 -0
  258. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +26 -36
  259. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +57 -46
  260. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +25 -32
  261. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +25 -32
  262. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +26 -33
  263. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +68 -0
  264. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +98 -0
  265. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -32
  266. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +27 -34
  267. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +183 -78
  268. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +25 -32
  269. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +30 -38
  270. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +32 -37
  271. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +92 -0
  272. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +32954 -42497
  273. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +316 -0
  274. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +31 -44
  275. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +48 -57
  276. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +30 -18
  277. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +48 -40
  278. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +26 -34
  279. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +126 -40
  280. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +35 -43
  281. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +28 -35
  282. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +78 -39
  283. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +26 -34
  284. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +39 -36
  285. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +26 -34
  286. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +234 -103
  287. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +26 -34
  288. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +30 -39
  289. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +27 -35
  290. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +190 -201
  291. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +25 -32
  292. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +25 -32
  293. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +25 -32
  294. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +31 -49
  295. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +27 -34
  296. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +52 -55
  297. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +91 -105
  298. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +31 -34
  299. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +47 -37
  300. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +138 -153
  301. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +25 -32
  302. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +67 -105
  303. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +25 -32
  304. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +3 -2
  305. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +25 -32
  306. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +25 -32
  307. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +30 -34
  308. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +217 -0
  309. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +33 -0
  310. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +37 -38
  311. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +27 -34
  312. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +53 -47
  313. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +28 -35
  314. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +54 -48
  315. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +28 -35
  316. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +58 -59
  317. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +28 -35
  318. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +33 -33
  319. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +26 -33
  320. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +52 -64
  321. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +28 -35
  322. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +33 -36
  323. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +26 -33
  324. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +29 -25
  325. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +26 -33
  326. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +14 -21
  327. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +26 -33
  328. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +48 -60
  329. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +28 -35
  330. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +52 -57
  331. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +28 -35
  332. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +53 -71
  333. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +28 -35
  334. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +54 -77
  335. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +28 -35
  336. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +60 -70
  337. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +28 -35
  338. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +55 -72
  339. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +28 -35
  340. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +55 -64
  341. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +28 -35
  342. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +48 -66
  343. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +28 -35
  344. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +49 -61
  345. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +28 -35
  346. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +38 -44
  347. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +26 -33
  348. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +59 -87
  349. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +28 -35
  350. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +59 -87
  351. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +28 -35
  352. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +59 -90
  353. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +28 -35
  354. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +59 -87
  355. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +28 -35
  356. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +57 -85
  357. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +28 -35
  358. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +54 -78
  359. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +28 -35
  360. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +45 -68
  361. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +28 -35
  362. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +111 -0
  363. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +39 -0
  364. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +37 -50
  365. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +26 -33
  366. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +40 -41
  367. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +205 -0
  368. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +48 -55
  369. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +254 -277
  370. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +25 -32
  371. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +22 -4
  372. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +97 -56
  373. data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +24 -476
  374. data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +2 -2
  375. data/lib/gollum/frontend/views/page.rb +3 -2
  376. metadata +102 -21
  377. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +0 -59
  378. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +0 -1686
  379. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +0 -2993
  380. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +0 -69
  381. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +0 -63
  382. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +0 -10363
  383. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +0 -165
  384. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +0 -6177
  385. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +0 -55
  386. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +0 -696
  387. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +0 -598
  388. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +0 -61
  389. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +0 -2072
  390. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +0 -4469
  391. data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +0 -6396
@@ -0,0 +1,451 @@
1
+ [
2
+ {
3
+ "state": "qcomment",
4
+ "data": [
5
+ [ "comment", "--[[--" ]
6
+ ]
7
+ },
8
+ {
9
+ "state": "qcomment",
10
+ "data": [
11
+ [ "comment", "num_args takes in 5.1 byte code and extracts the number of arguments" ]
12
+ ]
13
+ },
14
+ {
15
+ "state": "qcomment",
16
+ "data": [
17
+ [ "comment", "from its function header." ]
18
+ ]
19
+ },
20
+ {
21
+ "state": "start",
22
+ "data": [
23
+ [ "comment", "--]]" ],
24
+ [ "comment", "--" ]
25
+ ]
26
+ },
27
+ {
28
+ "state": "start",
29
+ "data": []
30
+ },
31
+ {
32
+ "state": "start",
33
+ "data": [
34
+ [ "keyword", "function" ],
35
+ [ "text", " " ],
36
+ [ "identifier", "int" ],
37
+ [ "paren.lparen", "(" ],
38
+ [ "identifier", "t" ],
39
+ [ "paren.rparen", ")" ]
40
+ ]
41
+ },
42
+ {
43
+ "state": "start",
44
+ "data": [
45
+ [ "text", "\t" ],
46
+ [ "keyword", "return" ],
47
+ [ "text", " " ],
48
+ [ "identifier", "t" ],
49
+ [ "keyword.operator", ":" ],
50
+ [ "support.function", "byte" ],
51
+ [ "paren.lparen", "(" ],
52
+ [ "constant.numeric", "1" ],
53
+ [ "paren.rparen", ")" ],
54
+ [ "keyword.operator", "+" ],
55
+ [ "identifier", "t" ],
56
+ [ "keyword.operator", ":" ],
57
+ [ "support.function", "byte" ],
58
+ [ "paren.lparen", "(" ],
59
+ [ "constant.numeric", "2" ],
60
+ [ "paren.rparen", ")" ],
61
+ [ "keyword.operator", "*" ],
62
+ [ "constant.numeric", "0x100" ],
63
+ [ "keyword.operator", "+" ],
64
+ [ "identifier", "t" ],
65
+ [ "keyword.operator", ":" ],
66
+ [ "support.function", "byte" ],
67
+ [ "paren.lparen", "(" ],
68
+ [ "constant.numeric", "3" ],
69
+ [ "paren.rparen", ")" ],
70
+ [ "keyword.operator", "*" ],
71
+ [ "constant.numeric", "0x10000" ],
72
+ [ "keyword.operator", "+" ],
73
+ [ "identifier", "t" ],
74
+ [ "keyword.operator", ":" ],
75
+ [ "support.function", "byte" ],
76
+ [ "paren.lparen", "(" ],
77
+ [ "constant.numeric", "4" ],
78
+ [ "paren.rparen", ")" ],
79
+ [ "keyword.operator", "*" ],
80
+ [ "constant.numeric", "0x1000000" ]
81
+ ]
82
+ },
83
+ {
84
+ "state": "start",
85
+ "data": [
86
+ [ "keyword", "end" ]
87
+ ]
88
+ },
89
+ {
90
+ "state": "start",
91
+ "data": []
92
+ },
93
+ {
94
+ "state": "start",
95
+ "data": [
96
+ [ "keyword", "function" ],
97
+ [ "text", " " ],
98
+ [ "identifier", "num_args" ],
99
+ [ "paren.lparen", "(" ],
100
+ [ "identifier", "func" ],
101
+ [ "paren.rparen", ")" ]
102
+ ]
103
+ },
104
+ {
105
+ "state": "start",
106
+ "data": [
107
+ [ "text", "\t" ],
108
+ [ "keyword", "local" ],
109
+ [ "text", " " ],
110
+ [ "support.function", "dump" ],
111
+ [ "text", " " ],
112
+ [ "keyword.operator", "=" ],
113
+ [ "text", " " ],
114
+ [ "constant.library", "string" ],
115
+ [ "text", "." ],
116
+ [ "support.function", "dump" ],
117
+ [ "paren.lparen", "(" ],
118
+ [ "identifier", "func" ],
119
+ [ "paren.rparen", ")" ]
120
+ ]
121
+ },
122
+ {
123
+ "state": "start",
124
+ "data": [
125
+ [ "text", "\t" ],
126
+ [ "keyword", "local" ],
127
+ [ "text", " " ],
128
+ [ "identifier", "offset" ],
129
+ [ "text", ", " ],
130
+ [ "identifier", "cursor" ],
131
+ [ "text", " " ],
132
+ [ "keyword.operator", "=" ],
133
+ [ "text", " " ],
134
+ [ "identifier", "int" ],
135
+ [ "paren.lparen", "(" ],
136
+ [ "support.function", "dump" ],
137
+ [ "keyword.operator", ":" ],
138
+ [ "support.function", "sub" ],
139
+ [ "paren.lparen", "(" ],
140
+ [ "constant.numeric", "13" ],
141
+ [ "paren.rparen", ")" ],
142
+ [ "paren.rparen", ")" ],
143
+ [ "text", ", " ],
144
+ [ "identifier", "offset" ],
145
+ [ "text", " " ],
146
+ [ "keyword.operator", "+" ],
147
+ [ "text", " " ],
148
+ [ "constant.numeric", "26" ]
149
+ ]
150
+ },
151
+ {
152
+ "state": "start",
153
+ "data": [
154
+ [ "text", "\t" ],
155
+ [ "comment", "--Get the params and var flag (whether there's a ... in the param)" ]
156
+ ]
157
+ },
158
+ {
159
+ "state": "start",
160
+ "data": [
161
+ [ "text", "\t" ],
162
+ [ "keyword", "return" ],
163
+ [ "text", " " ],
164
+ [ "support.function", "dump" ],
165
+ [ "keyword.operator", ":" ],
166
+ [ "support.function", "sub" ],
167
+ [ "paren.lparen", "(" ],
168
+ [ "identifier", "cursor" ],
169
+ [ "paren.rparen", ")" ],
170
+ [ "keyword.operator", ":" ],
171
+ [ "support.function", "byte" ],
172
+ [ "paren.lparen", "(" ],
173
+ [ "paren.rparen", ")" ],
174
+ [ "text", ", " ],
175
+ [ "support.function", "dump" ],
176
+ [ "keyword.operator", ":" ],
177
+ [ "support.function", "sub" ],
178
+ [ "paren.lparen", "(" ],
179
+ [ "identifier", "cursor" ],
180
+ [ "keyword.operator", "+" ],
181
+ [ "constant.numeric", "1" ],
182
+ [ "paren.rparen", ")" ],
183
+ [ "keyword.operator", ":" ],
184
+ [ "support.function", "byte" ],
185
+ [ "paren.lparen", "(" ],
186
+ [ "paren.rparen", ")" ]
187
+ ]
188
+ },
189
+ {
190
+ "state": "start",
191
+ "data": [
192
+ [ "keyword", "end" ]
193
+ ]
194
+ },
195
+ {
196
+ "state": "start",
197
+ "data": []
198
+ },
199
+ {
200
+ "state": "start",
201
+ "data": [
202
+ [ "comment", "-- Usage:" ]
203
+ ]
204
+ },
205
+ {
206
+ "state": "start",
207
+ "data": [
208
+ [ "identifier", "num_args" ],
209
+ [ "paren.lparen", "(" ],
210
+ [ "keyword", "function" ],
211
+ [ "paren.lparen", "(" ],
212
+ [ "identifier", "a" ],
213
+ [ "text", "," ],
214
+ [ "identifier", "b" ],
215
+ [ "text", "," ],
216
+ [ "identifier", "c" ],
217
+ [ "text", "," ],
218
+ [ "identifier", "d" ],
219
+ [ "text", ", " ],
220
+ [ "keyword.operator", "..." ],
221
+ [ "paren.rparen", ")" ],
222
+ [ "text", " " ],
223
+ [ "keyword", "end" ],
224
+ [ "paren.rparen", ")" ],
225
+ [ "text", " " ],
226
+ [ "comment", "-- return 4, 7" ]
227
+ ]
228
+ },
229
+ {
230
+ "state": "start",
231
+ "data": []
232
+ },
233
+ {
234
+ "state": "start",
235
+ "data": [
236
+ [ "comment", "-- Python styled string format operator" ]
237
+ ]
238
+ },
239
+ {
240
+ "state": "start",
241
+ "data": [
242
+ [ "keyword", "local" ],
243
+ [ "text", " " ],
244
+ [ "identifier", "gm" ],
245
+ [ "text", " " ],
246
+ [ "keyword.operator", "=" ],
247
+ [ "text", " " ],
248
+ [ "constant.library", "debug" ],
249
+ [ "text", "." ],
250
+ [ "support.function", "getmetatable" ],
251
+ [ "paren.lparen", "(" ],
252
+ [ "string", "\"\"" ],
253
+ [ "paren.rparen", ")" ]
254
+ ]
255
+ },
256
+ {
257
+ "state": "start",
258
+ "data": []
259
+ },
260
+ {
261
+ "state": "start",
262
+ "data": [
263
+ [ "identifier", "gm" ],
264
+ [ "text", "." ],
265
+ [ "support.function", "__mod" ],
266
+ [ "keyword.operator", "=" ],
267
+ [ "keyword", "function" ],
268
+ [ "paren.lparen", "(" ],
269
+ [ "identifier", "self" ],
270
+ [ "text", ", " ],
271
+ [ "identifier", "other" ],
272
+ [ "paren.rparen", ")" ]
273
+ ]
274
+ },
275
+ {
276
+ "state": "start",
277
+ "data": [
278
+ [ "text", " " ],
279
+ [ "keyword", "if" ],
280
+ [ "text", " " ],
281
+ [ "support.function", "type" ],
282
+ [ "paren.lparen", "(" ],
283
+ [ "identifier", "other" ],
284
+ [ "paren.rparen", ")" ],
285
+ [ "text", " " ],
286
+ [ "keyword.operator", "~" ],
287
+ [ "keyword.operator", "=" ],
288
+ [ "text", " " ],
289
+ [ "string", "\"table\"" ],
290
+ [ "text", " " ],
291
+ [ "keyword", "then" ],
292
+ [ "text", " " ],
293
+ [ "identifier", "other" ],
294
+ [ "text", " " ],
295
+ [ "keyword.operator", "=" ],
296
+ [ "text", " " ],
297
+ [ "paren.lparen", "{" ],
298
+ [ "identifier", "other" ],
299
+ [ "paren.rparen", "}" ],
300
+ [ "text", " " ],
301
+ [ "keyword", "end" ]
302
+ ]
303
+ },
304
+ {
305
+ "state": "start",
306
+ "data": [
307
+ [ "text", " " ],
308
+ [ "keyword", "for" ],
309
+ [ "text", " " ],
310
+ [ "identifier", "i" ],
311
+ [ "text", "," ],
312
+ [ "identifier", "v" ],
313
+ [ "text", " " ],
314
+ [ "keyword", "in" ],
315
+ [ "text", " " ],
316
+ [ "support.function", "ipairs" ],
317
+ [ "paren.lparen", "(" ],
318
+ [ "identifier", "other" ],
319
+ [ "paren.rparen", ")" ],
320
+ [ "text", " " ],
321
+ [ "keyword", "do" ],
322
+ [ "text", " " ],
323
+ [ "identifier", "other" ],
324
+ [ "paren.lparen", "[" ],
325
+ [ "identifier", "i" ],
326
+ [ "paren.rparen", "]" ],
327
+ [ "text", " " ],
328
+ [ "keyword.operator", "=" ],
329
+ [ "text", " " ],
330
+ [ "support.function", "tostring" ],
331
+ [ "paren.lparen", "(" ],
332
+ [ "identifier", "v" ],
333
+ [ "paren.rparen", ")" ],
334
+ [ "text", " " ],
335
+ [ "keyword", "end" ]
336
+ ]
337
+ },
338
+ {
339
+ "state": "start",
340
+ "data": [
341
+ [ "text", " " ],
342
+ [ "keyword", "return" ],
343
+ [ "text", " " ],
344
+ [ "identifier", "self" ],
345
+ [ "keyword.operator", ":" ],
346
+ [ "support.function", "format" ],
347
+ [ "paren.lparen", "(" ],
348
+ [ "support.function", "unpack" ],
349
+ [ "paren.lparen", "(" ],
350
+ [ "identifier", "other" ],
351
+ [ "paren.rparen", ")" ],
352
+ [ "paren.rparen", ")" ]
353
+ ]
354
+ },
355
+ {
356
+ "state": "start",
357
+ "data": [
358
+ [ "keyword", "end" ]
359
+ ]
360
+ },
361
+ {
362
+ "state": "start",
363
+ "data": []
364
+ },
365
+ {
366
+ "state": "qstring3",
367
+ "data": [
368
+ [ "support.function", "print" ],
369
+ [ "paren.lparen", "(" ],
370
+ [ "string", "[===[" ]
371
+ ]
372
+ },
373
+ {
374
+ "state": "qstring3",
375
+ "data": [
376
+ [ "string", " blah blah %s, (%d %d)" ]
377
+ ]
378
+ },
379
+ {
380
+ "state": "start",
381
+ "data": [
382
+ [ "string", "]===]" ],
383
+ [ "keyword.operator", "%" ],
384
+ [ "paren.lparen", "{" ],
385
+ [ "string", "\"blah\"" ],
386
+ [ "text", ", " ],
387
+ [ "identifier", "num_args" ],
388
+ [ "paren.lparen", "(" ],
389
+ [ "identifier", "int" ],
390
+ [ "paren.rparen", ")" ],
391
+ [ "paren.rparen", "}" ],
392
+ [ "paren.rparen", ")" ]
393
+ ]
394
+ },
395
+ {
396
+ "state": "start",
397
+ "data": []
398
+ },
399
+ {
400
+ "state": "qcomment1",
401
+ "data": [
402
+ [ "comment", "--[=[--" ]
403
+ ]
404
+ },
405
+ {
406
+ "state": "qcomment1",
407
+ "data": [
408
+ [ "comment", "table.maxn is deprecated, use # instead." ]
409
+ ]
410
+ },
411
+ {
412
+ "state": "start",
413
+ "data": [
414
+ [ "comment", "--]=]" ],
415
+ [ "comment", "--" ]
416
+ ]
417
+ },
418
+ {
419
+ "state": "start",
420
+ "data": [
421
+ [ "support.function", "print" ],
422
+ [ "paren.lparen", "(" ],
423
+ [ "constant.library", "table" ],
424
+ [ "text", "." ],
425
+ [ "invalid.deprecated", "maxn" ],
426
+ [ "paren.lparen", "{" ],
427
+ [ "constant.numeric", "1" ],
428
+ [ "text", "," ],
429
+ [ "constant.numeric", "2" ],
430
+ [ "text", "," ],
431
+ [ "paren.lparen", "[" ],
432
+ [ "constant.numeric", "4" ],
433
+ [ "paren.rparen", "]" ],
434
+ [ "keyword.operator", "=" ],
435
+ [ "constant.numeric", "4" ],
436
+ [ "text", "," ],
437
+ [ "paren.lparen", "[" ],
438
+ [ "constant.numeric", "8" ],
439
+ [ "paren.rparen", "]" ],
440
+ [ "keyword.operator", "=" ],
441
+ [ "constant.numeric", "8" ],
442
+ [ "paren.rparen", ")" ],
443
+ [ "text", " " ],
444
+ [ "comment", "-- outputs 8 instead of 2" ]
445
+ ]
446
+ },
447
+ {
448
+ "state": "start",
449
+ "data": []
450
+ }
451
+ ]
@@ -0,0 +1,824 @@
1
+ [
2
+ {
3
+ "state": "tag_embed_attribute_list",
4
+ "data": [
5
+ [ "text", "" ],
6
+ [ "meta.tag", "<" ],
7
+ [ "text", "!" ],
8
+ [ "entity.other.attribute-name", "DOCTYPE" ],
9
+ [ "text", " " ],
10
+ [ "entity.other.attribute-name", "html" ],
11
+ [ "text", " " ],
12
+ [ "entity.other.attribute-name", "PUBLIC" ],
13
+ [ "text", " " ],
14
+ [ "string", "\"-//W3C//DTD XHTML 1.0 Strict//EN\"" ]
15
+ ]
16
+ },
17
+ {
18
+ "state": "start",
19
+ "data": [
20
+ [ "text", " " ],
21
+ [ "string", "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"" ],
22
+ [ "meta.tag", ">" ]
23
+ ]
24
+ },
25
+ {
26
+ "state": "start",
27
+ "data": [
28
+ [ "meta.tag", "<" ],
29
+ [ "meta.tag.tag-name", "html" ],
30
+ [ "meta.tag", ">" ]
31
+ ]
32
+ },
33
+ {
34
+ "state": "lua-qcomment",
35
+ "data": [
36
+ [ "keyword", "<%" ],
37
+ [ "text", " " ],
38
+ [ "comment", "--[[--" ]
39
+ ]
40
+ },
41
+ {
42
+ "state": "lua-qcomment",
43
+ "data": [
44
+ [ "comment", " index.lp from the Kepler Project's LuaDoc HTML doclet." ]
45
+ ]
46
+ },
47
+ {
48
+ "state": "lua-qcomment",
49
+ "data": [
50
+ [ "comment", " http://keplerproject.github.com/luadoc/" ]
51
+ ]
52
+ },
53
+ {
54
+ "state": "start",
55
+ "data": [
56
+ [ "comment", "--]]" ],
57
+ [ "text", " " ],
58
+ [ "keyword", "%>" ]
59
+ ]
60
+ },
61
+ {
62
+ "state": "start",
63
+ "data": [
64
+ [ "meta.tag", "<" ],
65
+ [ "meta.tag.tag-name", "head" ],
66
+ [ "meta.tag", ">" ]
67
+ ]
68
+ },
69
+ {
70
+ "state": "start",
71
+ "data": [
72
+ [ "text", " " ],
73
+ [ "meta.tag", "<" ],
74
+ [ "meta.tag.tag-name", "title" ],
75
+ [ "meta.tag", ">" ],
76
+ [ "text", "Reference" ],
77
+ [ "meta.tag", "</" ],
78
+ [ "meta.tag.tag-name", "title" ],
79
+ [ "meta.tag", ">" ]
80
+ ]
81
+ },
82
+ {
83
+ "state": "start",
84
+ "data": [
85
+ [ "text", " " ],
86
+ [ "meta.tag", "<" ],
87
+ [ "meta.tag.tag-name", "link" ],
88
+ [ "text", " " ],
89
+ [ "entity.other.attribute-name", "rel" ],
90
+ [ "keyword.operator", "=" ],
91
+ [ "string", "\"stylesheet\"" ],
92
+ [ "text", " " ],
93
+ [ "entity.other.attribute-name", "href" ],
94
+ [ "keyword.operator", "=" ],
95
+ [ "string", "\"<%=luadoc.doclet.html.link(\"" ],
96
+ [ "entity.other.attribute-name", "luadoc" ],
97
+ [ "text", "." ],
98
+ [ "entity.other.attribute-name", "css" ],
99
+ [ "string", "\")%>\"" ],
100
+ [ "text", " " ],
101
+ [ "entity.other.attribute-name", "type" ],
102
+ [ "keyword.operator", "=" ],
103
+ [ "string", "\"text/css\"" ],
104
+ [ "text", " " ],
105
+ [ "meta.tag", "/>" ]
106
+ ]
107
+ },
108
+ {
109
+ "state": "start",
110
+ "data": [
111
+ [ "text", "\t" ],
112
+ [ "comment", "<!--" ],
113
+ [ "comment", "meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->" ]
114
+ ]
115
+ },
116
+ {
117
+ "state": "start",
118
+ "data": [
119
+ [ "meta.tag", "</" ],
120
+ [ "meta.tag.tag-name", "head" ],
121
+ [ "meta.tag", ">" ]
122
+ ]
123
+ },
124
+ {
125
+ "state": "start",
126
+ "data": []
127
+ },
128
+ {
129
+ "state": "start",
130
+ "data": [
131
+ [ "meta.tag", "<" ],
132
+ [ "meta.tag.tag-name", "body" ],
133
+ [ "meta.tag", ">" ]
134
+ ]
135
+ },
136
+ {
137
+ "state": "start",
138
+ "data": [
139
+ [ "meta.tag", "<" ],
140
+ [ "meta.tag.tag-name", "div" ],
141
+ [ "text", " " ],
142
+ [ "entity.other.attribute-name", "id" ],
143
+ [ "keyword.operator", "=" ],
144
+ [ "string", "\"container\"" ],
145
+ [ "meta.tag", ">" ]
146
+ ]
147
+ },
148
+ {
149
+ "state": "start",
150
+ "data": []
151
+ },
152
+ {
153
+ "state": "start",
154
+ "data": [
155
+ [ "meta.tag", "<" ],
156
+ [ "meta.tag.tag-name", "div" ],
157
+ [ "text", " " ],
158
+ [ "entity.other.attribute-name", "id" ],
159
+ [ "keyword.operator", "=" ],
160
+ [ "string", "\"product\"" ],
161
+ [ "meta.tag", ">" ]
162
+ ]
163
+ },
164
+ {
165
+ "state": "start",
166
+ "data": [
167
+ [ "text", "\t" ],
168
+ [ "meta.tag", "<" ],
169
+ [ "meta.tag.tag-name", "div" ],
170
+ [ "text", " " ],
171
+ [ "entity.other.attribute-name", "id" ],
172
+ [ "keyword.operator", "=" ],
173
+ [ "string", "\"product_logo\"" ],
174
+ [ "meta.tag", ">" ],
175
+ [ "meta.tag", "</" ],
176
+ [ "meta.tag.tag-name", "div" ],
177
+ [ "meta.tag", ">" ]
178
+ ]
179
+ },
180
+ {
181
+ "state": "start",
182
+ "data": [
183
+ [ "text", "\t" ],
184
+ [ "meta.tag", "<" ],
185
+ [ "meta.tag.tag-name", "div" ],
186
+ [ "text", " " ],
187
+ [ "entity.other.attribute-name", "id" ],
188
+ [ "keyword.operator", "=" ],
189
+ [ "string", "\"product_name\"" ],
190
+ [ "meta.tag", ">" ],
191
+ [ "meta.tag", "<" ],
192
+ [ "meta.tag.tag-name", "big" ],
193
+ [ "meta.tag", ">" ],
194
+ [ "meta.tag", "<" ],
195
+ [ "meta.tag.tag-name", "b" ],
196
+ [ "meta.tag", ">" ],
197
+ [ "meta.tag", "</" ],
198
+ [ "meta.tag.tag-name", "b" ],
199
+ [ "meta.tag", ">" ],
200
+ [ "meta.tag", "</" ],
201
+ [ "meta.tag.tag-name", "big" ],
202
+ [ "meta.tag", ">" ],
203
+ [ "meta.tag", "</" ],
204
+ [ "meta.tag.tag-name", "div" ],
205
+ [ "meta.tag", ">" ]
206
+ ]
207
+ },
208
+ {
209
+ "state": "start",
210
+ "data": [
211
+ [ "text", "\t" ],
212
+ [ "meta.tag", "<" ],
213
+ [ "meta.tag.tag-name", "div" ],
214
+ [ "text", " " ],
215
+ [ "entity.other.attribute-name", "id" ],
216
+ [ "keyword.operator", "=" ],
217
+ [ "string", "\"product_description\"" ],
218
+ [ "meta.tag", ">" ],
219
+ [ "meta.tag", "</" ],
220
+ [ "meta.tag.tag-name", "div" ],
221
+ [ "meta.tag", ">" ]
222
+ ]
223
+ },
224
+ {
225
+ "state": "start",
226
+ "data": [
227
+ [ "meta.tag", "</" ],
228
+ [ "meta.tag.tag-name", "div" ],
229
+ [ "meta.tag", ">" ],
230
+ [ "text", " " ],
231
+ [ "comment", "<!--" ],
232
+ [ "comment", " id=\"product\" -->" ]
233
+ ]
234
+ },
235
+ {
236
+ "state": "start",
237
+ "data": []
238
+ },
239
+ {
240
+ "state": "start",
241
+ "data": [
242
+ [ "meta.tag", "<" ],
243
+ [ "meta.tag.tag-name", "div" ],
244
+ [ "text", " " ],
245
+ [ "entity.other.attribute-name", "id" ],
246
+ [ "keyword.operator", "=" ],
247
+ [ "string", "\"main\"" ],
248
+ [ "meta.tag", ">" ]
249
+ ]
250
+ },
251
+ {
252
+ "state": "start",
253
+ "data": []
254
+ },
255
+ {
256
+ "state": "start",
257
+ "data": [
258
+ [ "meta.tag", "<" ],
259
+ [ "meta.tag.tag-name", "div" ],
260
+ [ "text", " " ],
261
+ [ "entity.other.attribute-name", "id" ],
262
+ [ "keyword.operator", "=" ],
263
+ [ "string", "\"navigation\"" ],
264
+ [ "meta.tag", ">" ]
265
+ ]
266
+ },
267
+ {
268
+ "state": "start",
269
+ "data": [
270
+ [ "keyword", "<%=" ],
271
+ [ "identifier", "luadoc" ],
272
+ [ "text", "." ],
273
+ [ "identifier", "doclet" ],
274
+ [ "text", "." ],
275
+ [ "identifier", "html" ],
276
+ [ "text", "." ],
277
+ [ "identifier", "include" ],
278
+ [ "paren.lparen", "(" ],
279
+ [ "string", "\"menu.lp\"" ],
280
+ [ "text", ", " ],
281
+ [ "paren.lparen", "{" ],
282
+ [ "text", " " ],
283
+ [ "identifier", "doc" ],
284
+ [ "keyword.operator", "=" ],
285
+ [ "identifier", "doc" ],
286
+ [ "text", " " ],
287
+ [ "paren.rparen", "}" ],
288
+ [ "paren.rparen", ")" ],
289
+ [ "keyword", "%>" ]
290
+ ]
291
+ },
292
+ {
293
+ "state": "start",
294
+ "data": []
295
+ },
296
+ {
297
+ "state": "start",
298
+ "data": [
299
+ [ "meta.tag", "</" ],
300
+ [ "meta.tag.tag-name", "div" ],
301
+ [ "meta.tag", ">" ],
302
+ [ "text", " " ],
303
+ [ "comment", "<!--" ],
304
+ [ "comment", " id=\"navigation\" -->" ]
305
+ ]
306
+ },
307
+ {
308
+ "state": "start",
309
+ "data": []
310
+ },
311
+ {
312
+ "state": "start",
313
+ "data": [
314
+ [ "meta.tag", "<" ],
315
+ [ "meta.tag.tag-name", "div" ],
316
+ [ "text", " " ],
317
+ [ "entity.other.attribute-name", "id" ],
318
+ [ "keyword.operator", "=" ],
319
+ [ "string", "\"content\"" ],
320
+ [ "meta.tag", ">" ]
321
+ ]
322
+ },
323
+ {
324
+ "state": "start",
325
+ "data": []
326
+ },
327
+ {
328
+ "state": "start",
329
+ "data": []
330
+ },
331
+ {
332
+ "state": "start",
333
+ "data": [
334
+ [ "keyword", "<%" ],
335
+ [ "keyword", "if" ],
336
+ [ "text", " " ],
337
+ [ "keyword", "not" ],
338
+ [ "text", " " ],
339
+ [ "identifier", "options" ],
340
+ [ "text", "." ],
341
+ [ "identifier", "nomodules" ],
342
+ [ "text", " " ],
343
+ [ "keyword", "and" ],
344
+ [ "text", " " ],
345
+ [ "keyword.operator", "#" ],
346
+ [ "identifier", "doc" ],
347
+ [ "text", "." ],
348
+ [ "identifier", "modules" ],
349
+ [ "text", " " ],
350
+ [ "keyword.operator", ">" ],
351
+ [ "text", " " ],
352
+ [ "constant.numeric", "0" ],
353
+ [ "text", " " ],
354
+ [ "keyword", "then" ],
355
+ [ "keyword", "%>" ]
356
+ ]
357
+ },
358
+ {
359
+ "state": "start",
360
+ "data": [
361
+ [ "meta.tag", "<" ],
362
+ [ "meta.tag.tag-name", "h2" ],
363
+ [ "meta.tag", ">" ],
364
+ [ "text", "Modules" ],
365
+ [ "meta.tag", "</" ],
366
+ [ "meta.tag.tag-name", "h2" ],
367
+ [ "meta.tag", ">" ]
368
+ ]
369
+ },
370
+ {
371
+ "state": "start",
372
+ "data": [
373
+ [ "meta.tag", "<" ],
374
+ [ "meta.tag.tag-name.table", "table" ],
375
+ [ "text", " " ],
376
+ [ "entity.other.attribute-name", "class" ],
377
+ [ "keyword.operator", "=" ],
378
+ [ "string", "\"module_list\"" ],
379
+ [ "meta.tag", ">" ]
380
+ ]
381
+ },
382
+ {
383
+ "state": "start",
384
+ "data": [
385
+ [ "comment", "<!--" ],
386
+ [ "comment", "<tr><td colspan=\"2\">Modules</td></tr>-->" ]
387
+ ]
388
+ },
389
+ {
390
+ "state": "start",
391
+ "data": [
392
+ [ "keyword", "<%" ],
393
+ [ "keyword", "for" ],
394
+ [ "text", " " ],
395
+ [ "identifier", "_" ],
396
+ [ "text", ", " ],
397
+ [ "identifier", "modulename" ],
398
+ [ "text", " " ],
399
+ [ "keyword", "in" ],
400
+ [ "text", " " ],
401
+ [ "support.function", "ipairs" ],
402
+ [ "paren.lparen", "(" ],
403
+ [ "identifier", "doc" ],
404
+ [ "text", "." ],
405
+ [ "identifier", "modules" ],
406
+ [ "paren.rparen", ")" ],
407
+ [ "text", " " ],
408
+ [ "keyword", "do" ],
409
+ [ "keyword", "%>" ]
410
+ ]
411
+ },
412
+ {
413
+ "state": "start",
414
+ "data": [
415
+ [ "text", "\t" ],
416
+ [ "meta.tag", "<" ],
417
+ [ "meta.tag.tag-name.table", "tr" ],
418
+ [ "meta.tag", ">" ]
419
+ ]
420
+ },
421
+ {
422
+ "state": "start",
423
+ "data": [
424
+ [ "text", "\t\t" ],
425
+ [ "meta.tag", "<" ],
426
+ [ "meta.tag.tag-name.table", "td" ],
427
+ [ "text", " " ],
428
+ [ "entity.other.attribute-name", "class" ],
429
+ [ "keyword.operator", "=" ],
430
+ [ "string", "\"name\"" ],
431
+ [ "meta.tag", ">" ],
432
+ [ "meta.tag", "<" ],
433
+ [ "meta.tag.tag-name.anchor", "a" ],
434
+ [ "text", " " ],
435
+ [ "entity.other.attribute-name", "href" ],
436
+ [ "keyword.operator", "=" ],
437
+ [ "string", "\"<%=luadoc.doclet.html.module_link(modulename, doc)%>\"" ],
438
+ [ "meta.tag", ">" ],
439
+ [ "keyword", "<%=" ],
440
+ [ "identifier", "modulename" ],
441
+ [ "keyword", "%>" ],
442
+ [ "meta.tag", "</" ],
443
+ [ "meta.tag.tag-name.anchor", "a" ],
444
+ [ "meta.tag", ">" ],
445
+ [ "meta.tag", "</" ],
446
+ [ "meta.tag.tag-name.table", "td" ],
447
+ [ "meta.tag", ">" ]
448
+ ]
449
+ },
450
+ {
451
+ "state": "start",
452
+ "data": [
453
+ [ "text", "\t\t" ],
454
+ [ "meta.tag", "<" ],
455
+ [ "meta.tag.tag-name.table", "td" ],
456
+ [ "text", " " ],
457
+ [ "entity.other.attribute-name", "class" ],
458
+ [ "keyword.operator", "=" ],
459
+ [ "string", "\"summary\"" ],
460
+ [ "meta.tag", ">" ],
461
+ [ "keyword", "<%=" ],
462
+ [ "identifier", "doc" ],
463
+ [ "text", "." ],
464
+ [ "identifier", "modules" ],
465
+ [ "paren.lparen", "[" ],
466
+ [ "identifier", "modulename" ],
467
+ [ "paren.rparen", "]" ],
468
+ [ "text", "." ],
469
+ [ "identifier", "summary" ],
470
+ [ "keyword", "%>" ],
471
+ [ "meta.tag", "</" ],
472
+ [ "meta.tag.tag-name.table", "td" ],
473
+ [ "meta.tag", ">" ]
474
+ ]
475
+ },
476
+ {
477
+ "state": "start",
478
+ "data": [
479
+ [ "text", "\t" ],
480
+ [ "meta.tag", "</" ],
481
+ [ "meta.tag.tag-name.table", "tr" ],
482
+ [ "meta.tag", ">" ]
483
+ ]
484
+ },
485
+ {
486
+ "state": "start",
487
+ "data": [
488
+ [ "keyword", "<%" ],
489
+ [ "keyword", "end" ],
490
+ [ "keyword", "%>" ]
491
+ ]
492
+ },
493
+ {
494
+ "state": "start",
495
+ "data": [
496
+ [ "meta.tag", "</" ],
497
+ [ "meta.tag.tag-name.table", "table" ],
498
+ [ "meta.tag", ">" ]
499
+ ]
500
+ },
501
+ {
502
+ "state": "start",
503
+ "data": [
504
+ [ "keyword", "<%" ],
505
+ [ "keyword", "end" ],
506
+ [ "keyword", "%>" ]
507
+ ]
508
+ },
509
+ {
510
+ "state": "start",
511
+ "data": []
512
+ },
513
+ {
514
+ "state": "start",
515
+ "data": []
516
+ },
517
+ {
518
+ "state": "start",
519
+ "data": []
520
+ },
521
+ {
522
+ "state": "start",
523
+ "data": [
524
+ [ "keyword", "<%" ],
525
+ [ "keyword", "if" ],
526
+ [ "text", " " ],
527
+ [ "keyword", "not" ],
528
+ [ "text", " " ],
529
+ [ "identifier", "options" ],
530
+ [ "text", "." ],
531
+ [ "identifier", "nofiles" ],
532
+ [ "text", " " ],
533
+ [ "keyword", "and" ],
534
+ [ "text", " " ],
535
+ [ "keyword.operator", "#" ],
536
+ [ "identifier", "doc" ],
537
+ [ "text", "." ],
538
+ [ "identifier", "files" ],
539
+ [ "text", " " ],
540
+ [ "keyword.operator", ">" ],
541
+ [ "text", " " ],
542
+ [ "constant.numeric", "0" ],
543
+ [ "text", " " ],
544
+ [ "keyword", "then" ],
545
+ [ "keyword", "%>" ]
546
+ ]
547
+ },
548
+ {
549
+ "state": "start",
550
+ "data": [
551
+ [ "meta.tag", "<" ],
552
+ [ "meta.tag.tag-name", "h2" ],
553
+ [ "meta.tag", ">" ],
554
+ [ "text", "Files" ],
555
+ [ "meta.tag", "</" ],
556
+ [ "meta.tag.tag-name", "h2" ],
557
+ [ "meta.tag", ">" ]
558
+ ]
559
+ },
560
+ {
561
+ "state": "start",
562
+ "data": [
563
+ [ "meta.tag", "<" ],
564
+ [ "meta.tag.tag-name.table", "table" ],
565
+ [ "text", " " ],
566
+ [ "entity.other.attribute-name", "class" ],
567
+ [ "keyword.operator", "=" ],
568
+ [ "string", "\"file_list\"" ],
569
+ [ "meta.tag", ">" ]
570
+ ]
571
+ },
572
+ {
573
+ "state": "start",
574
+ "data": [
575
+ [ "comment", "<!--" ],
576
+ [ "comment", "<tr><td colspan=\"2\">Files</td></tr>-->" ]
577
+ ]
578
+ },
579
+ {
580
+ "state": "start",
581
+ "data": [
582
+ [ "keyword", "<%" ],
583
+ [ "keyword", "for" ],
584
+ [ "text", " " ],
585
+ [ "identifier", "_" ],
586
+ [ "text", ", " ],
587
+ [ "identifier", "filepath" ],
588
+ [ "text", " " ],
589
+ [ "keyword", "in" ],
590
+ [ "text", " " ],
591
+ [ "support.function", "ipairs" ],
592
+ [ "paren.lparen", "(" ],
593
+ [ "identifier", "doc" ],
594
+ [ "text", "." ],
595
+ [ "identifier", "files" ],
596
+ [ "paren.rparen", ")" ],
597
+ [ "text", " " ],
598
+ [ "keyword", "do" ],
599
+ [ "keyword", "%>" ]
600
+ ]
601
+ },
602
+ {
603
+ "state": "start",
604
+ "data": [
605
+ [ "text", "\t" ],
606
+ [ "meta.tag", "<" ],
607
+ [ "meta.tag.tag-name.table", "tr" ],
608
+ [ "meta.tag", ">" ]
609
+ ]
610
+ },
611
+ {
612
+ "state": "start",
613
+ "data": [
614
+ [ "text", "\t\t" ],
615
+ [ "meta.tag", "<" ],
616
+ [ "meta.tag.tag-name.table", "td" ],
617
+ [ "text", " " ],
618
+ [ "entity.other.attribute-name", "class" ],
619
+ [ "keyword.operator", "=" ],
620
+ [ "string", "\"name\"" ],
621
+ [ "meta.tag", ">" ],
622
+ [ "meta.tag", "<" ],
623
+ [ "meta.tag.tag-name.anchor", "a" ],
624
+ [ "text", " " ],
625
+ [ "entity.other.attribute-name", "href" ],
626
+ [ "keyword.operator", "=" ],
627
+ [ "string", "\"<%=luadoc.doclet.html.file_link(filepath)%>\"" ],
628
+ [ "meta.tag", ">" ],
629
+ [ "keyword", "<%=" ],
630
+ [ "identifier", "filepath" ],
631
+ [ "keyword", "%>" ],
632
+ [ "meta.tag", "</" ],
633
+ [ "meta.tag.tag-name.anchor", "a" ],
634
+ [ "meta.tag", ">" ],
635
+ [ "meta.tag", "</" ],
636
+ [ "meta.tag.tag-name.table", "td" ],
637
+ [ "meta.tag", ">" ]
638
+ ]
639
+ },
640
+ {
641
+ "state": "start",
642
+ "data": [
643
+ [ "text", "\t\t" ],
644
+ [ "meta.tag", "<" ],
645
+ [ "meta.tag.tag-name.table", "td" ],
646
+ [ "text", " " ],
647
+ [ "entity.other.attribute-name", "class" ],
648
+ [ "keyword.operator", "=" ],
649
+ [ "string", "\"summary\"" ],
650
+ [ "meta.tag", ">" ],
651
+ [ "meta.tag", "</" ],
652
+ [ "meta.tag.tag-name.table", "td" ],
653
+ [ "meta.tag", ">" ]
654
+ ]
655
+ },
656
+ {
657
+ "state": "start",
658
+ "data": [
659
+ [ "text", "\t" ],
660
+ [ "meta.tag", "</" ],
661
+ [ "meta.tag.tag-name.table", "tr" ],
662
+ [ "meta.tag", ">" ]
663
+ ]
664
+ },
665
+ {
666
+ "state": "start",
667
+ "data": [
668
+ [ "keyword", "<%" ],
669
+ [ "keyword", "end" ],
670
+ [ "keyword", "%>" ]
671
+ ]
672
+ },
673
+ {
674
+ "state": "start",
675
+ "data": [
676
+ [ "meta.tag", "</" ],
677
+ [ "meta.tag.tag-name.table", "table" ],
678
+ [ "meta.tag", ">" ]
679
+ ]
680
+ },
681
+ {
682
+ "state": "start",
683
+ "data": [
684
+ [ "keyword", "<%" ],
685
+ [ "keyword", "end" ],
686
+ [ "keyword", "%>" ]
687
+ ]
688
+ },
689
+ {
690
+ "state": "start",
691
+ "data": []
692
+ },
693
+ {
694
+ "state": "start",
695
+ "data": [
696
+ [ "meta.tag", "</" ],
697
+ [ "meta.tag.tag-name", "div" ],
698
+ [ "meta.tag", ">" ],
699
+ [ "text", " " ],
700
+ [ "comment", "<!--" ],
701
+ [ "comment", " id=\"content\" -->" ]
702
+ ]
703
+ },
704
+ {
705
+ "state": "start",
706
+ "data": []
707
+ },
708
+ {
709
+ "state": "start",
710
+ "data": [
711
+ [ "meta.tag", "</" ],
712
+ [ "meta.tag.tag-name", "div" ],
713
+ [ "meta.tag", ">" ],
714
+ [ "text", " " ],
715
+ [ "comment", "<!--" ],
716
+ [ "comment", " id=\"main\" -->" ]
717
+ ]
718
+ },
719
+ {
720
+ "state": "start",
721
+ "data": []
722
+ },
723
+ {
724
+ "state": "start",
725
+ "data": [
726
+ [ "meta.tag", "<" ],
727
+ [ "meta.tag.tag-name", "div" ],
728
+ [ "text", " " ],
729
+ [ "entity.other.attribute-name", "id" ],
730
+ [ "keyword.operator", "=" ],
731
+ [ "string", "\"about\"" ],
732
+ [ "meta.tag", ">" ]
733
+ ]
734
+ },
735
+ {
736
+ "state": "start",
737
+ "data": [
738
+ [ "text", "\t" ],
739
+ [ "meta.tag", "<" ],
740
+ [ "meta.tag.tag-name", "p" ],
741
+ [ "meta.tag", ">" ],
742
+ [ "meta.tag", "<" ],
743
+ [ "meta.tag.tag-name.anchor", "a" ],
744
+ [ "text", " " ],
745
+ [ "entity.other.attribute-name", "href" ],
746
+ [ "keyword.operator", "=" ],
747
+ [ "string", "\"http://validator.w3.org/check?uri=referer\"" ],
748
+ [ "meta.tag", ">" ],
749
+ [ "meta.tag", "<" ],
750
+ [ "meta.tag.tag-name.image", "img" ],
751
+ [ "text", " " ],
752
+ [ "entity.other.attribute-name", "src" ],
753
+ [ "keyword.operator", "=" ],
754
+ [ "string", "\"http://www.w3.org/Icons/valid-xhtml10\"" ],
755
+ [ "text", " " ],
756
+ [ "entity.other.attribute-name", "alt" ],
757
+ [ "keyword.operator", "=" ],
758
+ [ "string", "\"Valid XHTML 1.0!\"" ],
759
+ [ "text", " " ],
760
+ [ "entity.other.attribute-name", "height" ],
761
+ [ "keyword.operator", "=" ],
762
+ [ "string", "\"31\"" ],
763
+ [ "text", " " ],
764
+ [ "entity.other.attribute-name", "width" ],
765
+ [ "keyword.operator", "=" ],
766
+ [ "string", "\"88\"" ],
767
+ [ "text", " " ],
768
+ [ "meta.tag", "/>" ],
769
+ [ "meta.tag", "</" ],
770
+ [ "meta.tag.tag-name.anchor", "a" ],
771
+ [ "meta.tag", ">" ],
772
+ [ "meta.tag", "</" ],
773
+ [ "meta.tag.tag-name", "p" ],
774
+ [ "meta.tag", ">" ]
775
+ ]
776
+ },
777
+ {
778
+ "state": "start",
779
+ "data": [
780
+ [ "meta.tag", "</" ],
781
+ [ "meta.tag.tag-name", "div" ],
782
+ [ "meta.tag", ">" ],
783
+ [ "text", " " ],
784
+ [ "comment", "<!--" ],
785
+ [ "comment", " id=\"about\" -->" ]
786
+ ]
787
+ },
788
+ {
789
+ "state": "start",
790
+ "data": []
791
+ },
792
+ {
793
+ "state": "start",
794
+ "data": [
795
+ [ "meta.tag", "</" ],
796
+ [ "meta.tag.tag-name", "div" ],
797
+ [ "meta.tag", ">" ],
798
+ [ "text", " " ],
799
+ [ "comment", "<!--" ],
800
+ [ "comment", " id=\"container\" -->" ],
801
+ [ "text", "\t" ]
802
+ ]
803
+ },
804
+ {
805
+ "state": "start",
806
+ "data": [
807
+ [ "meta.tag", "</" ],
808
+ [ "meta.tag.tag-name", "body" ],
809
+ [ "meta.tag", ">" ]
810
+ ]
811
+ },
812
+ {
813
+ "state": "start",
814
+ "data": [
815
+ [ "meta.tag", "</" ],
816
+ [ "meta.tag.tag-name", "html" ],
817
+ [ "meta.tag", ">" ]
818
+ ]
819
+ },
820
+ {
821
+ "state": "start",
822
+ "data": []
823
+ }
824
+ ]