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.
- data/gollum.gemspec +100 -19
- data/lib/gollum.rb +2 -3
- data/lib/gollum/frontend/public/gollum/css/gollum.css +3 -1
- data/lib/gollum/frontend/public/gollum/css/template.css +8 -12
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ace.js +64 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor.js +56 -62
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/anchor_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer.js +56 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/background_tokenizer_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager.js +11 -11
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/command_manager_test.js +59 -53
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/default_commands.js +46 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/commands/multi_select_commands.js +32 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config.js +62 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/config_test.js +71 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/css/editor.css +82 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document.js +126 -145
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/document_test.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session.js +484 -467
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/bracket_match.js +30 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/fold_line.js +27 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session/folding.js +47 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/edit_session_test.js +61 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor.js +506 -517
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_change_document_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_highlight_selected_word_test.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_navigation_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/editor_text_edit_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight.js +28 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/static_highlight_test.js +9 -14
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/ext/textarea.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/emacs.js +44 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/hash_handler.js +45 -52
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/keybinding.js +25 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/state_handler.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/textinput.js +230 -165
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim.js +76 -49
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/commands.js +66 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/aliases.js +36 -43
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/motions.js +138 -156
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/operators.js +35 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/maps/util.js +18 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/keyboard/vim/registers.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/cursor.js +116 -101
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/gutter.js +117 -83
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/marker.js +60 -71
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text.js +163 -102
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/layer/text_test.js +60 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/browser_focus.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/dom.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/es5-shim.js +24 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event.js +52 -54
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter.js +32 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/event_emitter_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/keys.js +9 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/lang.js +73 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/net.js +10 -3
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/oop.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/regexp.js +2 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/lib/useragent.js +55 -58
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/package.json +8 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/test_highlight_rules.js +144 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/text_javascript.txt +52 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c9search.json +175 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_c_cpp.json +124 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_clojure.json +248 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coffee.json +188 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_coldfusion.json +41 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json +42 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_css.json +231 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_diff.json +732 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_glsl.json +185 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_golang.json +362 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_groovy.json +529 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_haxe.json +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_html.json +150 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_java.json +139 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_javascript.json +555 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_json.json +611 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_jsx.json +79 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_latex.json +196 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_less.json +292 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_liquid.json +698 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_lua.json +451 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_luapage.json +824 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_markdown.json +1202 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ocaml.json +260 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_perl.json +311 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_pgsql.json +1020 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_php.json +238 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_powershell.json +255 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_python.json +205 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_ruby.json +104 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scad.json +267 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scala.json +748 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_scss.json +181 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sh.json +434 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_sql.json +73 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_svg.json +931 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_tcl.json +536 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_text.json +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_textile.json +195 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xml.json +705 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_xquery.json +64 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_yaml.json +260 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap.js +77 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/abap_highlight_rules.js +133 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc.js +64 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/asciidoc_highlight_rules.js +234 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/cstyle.js +195 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/html.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xml.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/behaviour/xquery.js +31 -31
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c9search_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/c_cpp_highlight_rules.js +67 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure.js +25 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/clojure_highlight_rules.js +112 -130
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee.js +29 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/coffee-script.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/helpers.js +22 -7
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/lexer.js +140 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/nodes.js +479 -237
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser.js +321 -230
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/parser_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/rewriter.js +62 -28
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee/scope.js +39 -20
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules.js +183 -82
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_highlight_rules_test.js +226 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coffee_worker.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_highlight_rules.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/coldfusion_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/csharp_highlight_rules.js +7 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css.js +36 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css/csslint.js +202 -697
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules.js +51 -84
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_highlight_rules_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker.js +68 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/css_worker_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/dart_highlight_rules.js +192 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff.js +25 -31
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/diff_highlight_rules.js +27 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/doc_comment_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/asciidoc.js +142 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/c9search.js +31 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/coffee_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle.js +30 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/cstyle_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/diff.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/fold_mode.js +35 -30
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/html_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/latex.js +162 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/lua.js +163 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/markdown.js +125 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/mixed.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/pythonic_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/folding/xml_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl.js +52 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/glsl_highlight_rules.js +81 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang.js +0 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/golang_highlight_rules.js +15 -22
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/groovy_highlight_rules.js +28 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haml_highlight_rules.js +132 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe.js +20 -25
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/haxe_highlight_rules.js +11 -15
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules.js +32 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_highlight_rules_test.js +162 -69
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/html_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade.js +58 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jade_highlight_rules.js +347 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/java_highlight_rules.js +18 -29
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript.js +28 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript/jshint.js +4838 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules.js +98 -180
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_highlight_rules_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker.js +163 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/javascript_worker_test.js +38 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_highlight_rules.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/json_worker_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp.js +56 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/jsp_highlight_rules.js +85 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex.js +3 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/latex_highlight_rules.js +1 -1
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/less_highlight_rules.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules.js +146 -161
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/liquid_highlight_rules_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp.js +60 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lisp_highlight_rules.js +127 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua.js +116 -56
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lua_highlight_rules.js +75 -101
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene.js +16 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules.js +49 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/lucene_highlight_rules_test.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/makefile_highlight_rules.js +75 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown.js +35 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/markdown_highlight_rules_test.js +100 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_brace_outdent.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/matching_parens_outdent.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/objectivec_highlight_rules.js +343 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ocaml_highlight_rules.js +39 -53
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/perl_highlight_rules.js +39 -52
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql.js +33 -24
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/pgsql_highlight_rules.js +55 -51
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php.js +57 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/php_highlight_rules.js +53 -153
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/powershell_highlight_rules.js +31 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python.js +28 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_highlight_rules.js +44 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/python_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r.js +135 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/r_highlight_rules.js +190 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc.js +36 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rdoc_highlight_rules.js +99 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml.js +67 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/rhtml_highlight_rules.js +49 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby.js +27 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules.js +102 -90
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/ruby_highlight_rules_test.js +29 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad.js +25 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scad_highlight_rules.js +32 -54
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scala_highlight_rules.js +18 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/scss_highlight_rules.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sh_highlight_rules.js +48 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql.js +28 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/sql_highlight_rules.js +41 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus.js +62 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/stylus_highlight_rules.js +175 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/svg_highlight_rules.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl.js +110 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tcl_highlight_rules.js +180 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex.js +48 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/tex_highlight_rules.js +107 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text.js +26 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_highlight_rules.js +57 -46
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/text_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/textile_highlight_rules.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript.js +68 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/typescript_highlight_rules.js +98 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_highlight_rules_test.js +183 -78
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xml_util.js +30 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery.js +32 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/JSONParseTreeHandler.js +92 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryParser.js +32954 -42497
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/visitors/SyntaxHighlighter.js +316 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_highlight_rules.js +31 -44
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery_worker.js +48 -57
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml.js +30 -18
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/yaml_highlight_rules.js +48 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/model/editor.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_gutter_handler.js +126 -40
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/default_handlers.js +35 -43
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/dragdrop.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/fold_handler.js +78 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_event.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/mouse_handler.js +39 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mouse/multi_select_handler.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select.js +234 -103
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/multi_select_test.js +26 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder.js +30 -39
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/placeholder_test.js +27 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range.js +190 -201
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_list_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/range_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/renderloop.js +31 -49
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/requirejs/text.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/scrollbar.js +52 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search.js +91 -105
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_highlight.js +31 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/search_test.js +47 -37
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection.js +138 -153
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/selection_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/split.js +67 -105
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/all_browser.js +3 -2
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/assertions.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/benchmark.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/test/mockrenderer.js +30 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.css +217 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/ambiance.js +33 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.css +37 -38
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/chrome.js +27 -34
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.css +53 -47
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.css +54 -48
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/clouds_midnight.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.css +58 -59
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/cobalt.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.css +33 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/crimson_editor.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.css +52 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dawn.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.css +33 -36
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/dreamweaver.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.css +29 -25
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/eclipse.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.css +14 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/github.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.css +48 -60
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/idle_fingers.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.css +52 -57
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/kr_theme.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.css +53 -71
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.css +54 -77
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/merbivore_soft.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.css +60 -70
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/mono_industrial.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.css +55 -72
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/monokai.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.css +55 -64
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/pastel_on_dark.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.css +48 -66
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_dark.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.css +49 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/solarized_light.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.css +38 -44
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/textmate.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.css +59 -90
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_blue.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.css +59 -87
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_bright.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.css +57 -85
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/tomorrow_night_eighties.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.css +54 -78
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/twilight.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.css +45 -68
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/vibrant_ink.js +28 -35
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.css +111 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/theme/xcode.js +39 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator.js +37 -50
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/token_iterator_test.js +26 -33
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer.js +40 -41
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/tokenizer_dev.js +205 -0
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/undomanager.js +48 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer.js +254 -277
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/virtual_renderer_test.js +25 -32
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker.js +22 -4
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/worker_client.js +97 -56
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/ace/LICENSE.txt +24 -476
- data/lib/gollum/frontend/public/gollum/livepreview/licenses/licenses.txt +2 -2
- data/lib/gollum/frontend/views/page.rb +3 -2
- metadata +102 -21
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/Position.js +0 -59
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/StringLexer.js +0 -1686
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XMLLexer.js +0 -2993
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTLexer.js +0 -69
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQDTParser.js +0 -63
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQueryLexer.js +0 -10363
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/XQuerySemanticHighlighter.js +0 -165
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/antlr3-all.js +0 -6177
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/xquery/xquery.js +0 -55
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/definitions.js +0 -696
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/lexer.js +0 -598
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/options.js +0 -61
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/narcissus/parser.js +0 -2072
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jshint.js +0 -4469
- data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/worker/jslint.js +0 -6396
data/lib/gollum/frontend/public/gollum/livepreview/js/ace/lib/ace/mode/_test/tokens_csharp.json
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"state": "start",
|
4
|
+
"data": [
|
5
|
+
[ "keyword", "public" ],
|
6
|
+
[ "text", " " ],
|
7
|
+
[ "keyword", "void" ],
|
8
|
+
[ "text", " " ],
|
9
|
+
[ "identifier", "HelloWorld" ],
|
10
|
+
[ "paren.lparen", "(" ],
|
11
|
+
[ "paren.rparen", ")" ],
|
12
|
+
[ "text", " " ],
|
13
|
+
[ "paren.lparen", "{" ]
|
14
|
+
]
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"state": "start",
|
18
|
+
"data": [
|
19
|
+
[ "text", " " ],
|
20
|
+
[ "comment", "//Say Hello!" ]
|
21
|
+
]
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"state": "start",
|
25
|
+
"data": [
|
26
|
+
[ "text", " " ],
|
27
|
+
[ "identifier", "Console" ],
|
28
|
+
[ "punctuation.operator", "." ],
|
29
|
+
[ "identifier", "WriteLine" ],
|
30
|
+
[ "paren.lparen", "(" ],
|
31
|
+
[ "string", "\"Hello World\"" ],
|
32
|
+
[ "paren.rparen", ")" ],
|
33
|
+
[ "punctuation.operator", ";" ]
|
34
|
+
]
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"state": "start",
|
38
|
+
"data": [
|
39
|
+
[ "paren.rparen", "}" ]
|
40
|
+
]
|
41
|
+
}
|
42
|
+
]
|
@@ -0,0 +1,231 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"state": "ruleset",
|
4
|
+
"data": [
|
5
|
+
[ "variable", ".text-layer" ],
|
6
|
+
[ "text", " " ],
|
7
|
+
[ "paren.lparen", "{" ]
|
8
|
+
]
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"state": "ruleset",
|
12
|
+
"data": [
|
13
|
+
[ "text", " " ],
|
14
|
+
[ "support.type", "font-family" ],
|
15
|
+
[ "text", ": Monaco, " ],
|
16
|
+
[ "string", "\"Courier New\"" ],
|
17
|
+
[ "text", ", " ],
|
18
|
+
[ "support.constant.fonts", "monospace" ],
|
19
|
+
[ "text", ";" ]
|
20
|
+
]
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"state": "ruleset",
|
24
|
+
"data": [
|
25
|
+
[ "text", " " ],
|
26
|
+
[ "support.type", "font-size" ],
|
27
|
+
[ "text", ": " ],
|
28
|
+
[ "constant.numeric", "12" ],
|
29
|
+
[ "keyword", "px" ],
|
30
|
+
[ "text", ";" ]
|
31
|
+
]
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"state": "ruleset",
|
35
|
+
"data": [
|
36
|
+
[ "text", " " ],
|
37
|
+
[ "support.type", "cursor" ],
|
38
|
+
[ "text", ": " ],
|
39
|
+
[ "support.constant", "text" ],
|
40
|
+
[ "text", ";" ]
|
41
|
+
]
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"state": "start",
|
45
|
+
"data": [
|
46
|
+
[ "paren.rparen", "}" ]
|
47
|
+
]
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"state": "start",
|
51
|
+
"data": []
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"state": "ruleset",
|
55
|
+
"data": [
|
56
|
+
[ "variable", ".blinker" ],
|
57
|
+
[ "text", " " ],
|
58
|
+
[ "paren.lparen", "{" ]
|
59
|
+
]
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"state": "ruleset",
|
63
|
+
"data": [
|
64
|
+
[ "text", " " ],
|
65
|
+
[ "support.type", "animation-duration" ],
|
66
|
+
[ "text", ": " ],
|
67
|
+
[ "constant.numeric", "1" ],
|
68
|
+
[ "keyword", "s" ],
|
69
|
+
[ "text", ";" ]
|
70
|
+
]
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"state": "ruleset",
|
74
|
+
"data": [
|
75
|
+
[ "text", " " ],
|
76
|
+
[ "support.type", "animation-name" ],
|
77
|
+
[ "text", ": blink;" ]
|
78
|
+
]
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"state": "ruleset",
|
82
|
+
"data": [
|
83
|
+
[ "text", " " ],
|
84
|
+
[ "support.type", "animation-iteration-count" ],
|
85
|
+
[ "text", ": infinite;" ]
|
86
|
+
]
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"state": "ruleset",
|
90
|
+
"data": [
|
91
|
+
[ "text", " " ],
|
92
|
+
[ "support.type", "animation-direction" ],
|
93
|
+
[ "text", ": alternate;" ]
|
94
|
+
]
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"state": "ruleset",
|
98
|
+
"data": [
|
99
|
+
[ "text", " " ],
|
100
|
+
[ "support.type", "animation-timing-function" ],
|
101
|
+
[ "text", ": " ],
|
102
|
+
[ "support.constant", "linear" ],
|
103
|
+
[ "text", ";" ]
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"state": "start",
|
108
|
+
"data": [
|
109
|
+
[ "paren.rparen", "}" ]
|
110
|
+
]
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"state": "start",
|
114
|
+
"data": []
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"state": "media",
|
118
|
+
"data": [
|
119
|
+
[ "string", "@keyframes blink {" ]
|
120
|
+
]
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"state": "media_ruleset",
|
124
|
+
"data": [
|
125
|
+
[ "text", " " ],
|
126
|
+
[ "constant", "0" ],
|
127
|
+
[ "text", "% " ],
|
128
|
+
[ "paren.lparen", "{" ]
|
129
|
+
]
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"state": "media_ruleset",
|
133
|
+
"data": [
|
134
|
+
[ "text", " " ],
|
135
|
+
[ "support.type", "opacity" ],
|
136
|
+
[ "text", ": " ],
|
137
|
+
[ "constant.numeric", "0" ],
|
138
|
+
[ "text", ";" ]
|
139
|
+
]
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"state": "media",
|
143
|
+
"data": [
|
144
|
+
[ "text", " " ],
|
145
|
+
[ "paren.rparen", "}" ]
|
146
|
+
]
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"state": "media_ruleset",
|
150
|
+
"data": [
|
151
|
+
[ "text", " " ],
|
152
|
+
[ "constant", "40" ],
|
153
|
+
[ "text", "% " ],
|
154
|
+
[ "paren.lparen", "{" ]
|
155
|
+
]
|
156
|
+
},
|
157
|
+
{
|
158
|
+
"state": "media_ruleset",
|
159
|
+
"data": [
|
160
|
+
[ "text", " " ],
|
161
|
+
[ "support.type", "opacity" ],
|
162
|
+
[ "text", ": " ],
|
163
|
+
[ "constant.numeric", "0" ],
|
164
|
+
[ "text", ";" ]
|
165
|
+
]
|
166
|
+
},
|
167
|
+
{
|
168
|
+
"state": "media",
|
169
|
+
"data": [
|
170
|
+
[ "text", " " ],
|
171
|
+
[ "paren.rparen", "}" ]
|
172
|
+
]
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"state": "media_ruleset",
|
176
|
+
"data": [
|
177
|
+
[ "text", " " ],
|
178
|
+
[ "constant", "40" ],
|
179
|
+
[ "variable", ".5" ],
|
180
|
+
[ "text", "% " ],
|
181
|
+
[ "paren.lparen", "{" ]
|
182
|
+
]
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"state": "media_ruleset",
|
186
|
+
"data": [
|
187
|
+
[ "text", " " ],
|
188
|
+
[ "support.type", "opacity" ],
|
189
|
+
[ "text", ": " ],
|
190
|
+
[ "constant.numeric", "1" ]
|
191
|
+
]
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"state": "media",
|
195
|
+
"data": [
|
196
|
+
[ "text", " " ],
|
197
|
+
[ "paren.rparen", "}" ]
|
198
|
+
]
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"state": "media_ruleset",
|
202
|
+
"data": [
|
203
|
+
[ "text", " " ],
|
204
|
+
[ "constant", "100" ],
|
205
|
+
[ "text", "% " ],
|
206
|
+
[ "paren.lparen", "{" ]
|
207
|
+
]
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"state": "media_ruleset",
|
211
|
+
"data": [
|
212
|
+
[ "text", " " ],
|
213
|
+
[ "support.type", "opacity" ],
|
214
|
+
[ "text", ": " ],
|
215
|
+
[ "constant.numeric", "1" ]
|
216
|
+
]
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"state": "media",
|
220
|
+
"data": [
|
221
|
+
[ "text", " " ],
|
222
|
+
[ "paren.rparen", "}" ]
|
223
|
+
]
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"state": "start",
|
227
|
+
"data": [
|
228
|
+
[ "string", "}" ]
|
229
|
+
]
|
230
|
+
}
|
231
|
+
]
|
@@ -0,0 +1,732 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"state": "start",
|
4
|
+
"data": [
|
5
|
+
[ "variable", "diff" ],
|
6
|
+
[ "variable", " --git" ],
|
7
|
+
[ "keyword", " a/lib/ace/edit_session.js" ],
|
8
|
+
[ "variable", " b/lib/ace/edit_session.js" ]
|
9
|
+
]
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"state": "start",
|
13
|
+
"data": []
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"state": "start",
|
17
|
+
"data": [
|
18
|
+
[ "variable", "index 23fc3fc..ed3b273 100644" ]
|
19
|
+
]
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"state": "start",
|
23
|
+
"data": []
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"state": "start",
|
27
|
+
"data": [
|
28
|
+
[ "constant.numeric", "---" ],
|
29
|
+
[ "meta.tag", " a/lib/ace/edit_session.js" ]
|
30
|
+
]
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"state": "start",
|
34
|
+
"data": []
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"state": "start",
|
38
|
+
"data": [
|
39
|
+
[ "constant.numeric", "+++" ],
|
40
|
+
[ "meta.tag", " b/lib/ace/edit_session.js" ]
|
41
|
+
]
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"state": "start",
|
45
|
+
"data": []
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"state": "start",
|
49
|
+
"data": [
|
50
|
+
[ "constant", "@@" ],
|
51
|
+
[ "constant.numeric", " -51,6 +51,7 " ],
|
52
|
+
[ "constant", "@@" ],
|
53
|
+
[ "comment.doc.tag", " var TextMode = require(\"./mode/text\").Mode;" ]
|
54
|
+
]
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"state": "start",
|
58
|
+
"data": []
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"state": "start",
|
62
|
+
"data": [
|
63
|
+
[ "invisible", " var Range = require(\"./range\").Range;" ]
|
64
|
+
]
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"state": "start",
|
68
|
+
"data": []
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"state": "start",
|
72
|
+
"data": [
|
73
|
+
[ "invisible", " var Document = require(\"./document\").Document;" ]
|
74
|
+
]
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"state": "start",
|
78
|
+
"data": []
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"state": "start",
|
82
|
+
"data": [
|
83
|
+
[ "invisible", " var BackgroundTokenizer = require(\"./background_tokenizer\").BackgroundTokenizer;" ]
|
84
|
+
]
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"state": "start",
|
88
|
+
"data": []
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"state": "start",
|
92
|
+
"data": [
|
93
|
+
[ "support.constant", "+" ],
|
94
|
+
[ "text", "var SearchHighlight = require(\"./search_highlight\").SearchHighlight;" ]
|
95
|
+
]
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"state": "start",
|
99
|
+
"data": []
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"state": "start",
|
103
|
+
"data": []
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"state": "start",
|
107
|
+
"data": []
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"state": "start",
|
111
|
+
"data": [
|
112
|
+
[ "invisible", " /**" ]
|
113
|
+
]
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"state": "start",
|
117
|
+
"data": []
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"state": "start",
|
121
|
+
"data": [
|
122
|
+
[ "invisible", " * class EditSession" ]
|
123
|
+
]
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"state": "start",
|
127
|
+
"data": []
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"state": "start",
|
131
|
+
"data": [
|
132
|
+
[ "constant", "@@" ],
|
133
|
+
[ "constant.numeric", " -307,6 +308,13 " ],
|
134
|
+
[ "constant", "@@" ],
|
135
|
+
[ "comment.doc.tag", " var EditSession = function(text, mode) {" ]
|
136
|
+
]
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"state": "start",
|
140
|
+
"data": []
|
141
|
+
},
|
142
|
+
{
|
143
|
+
"state": "start",
|
144
|
+
"data": [
|
145
|
+
[ "invisible", " return token;" ]
|
146
|
+
]
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"state": "start",
|
150
|
+
"data": []
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"state": "start",
|
154
|
+
"data": [
|
155
|
+
[ "invisible", " };" ]
|
156
|
+
]
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"state": "start",
|
160
|
+
"data": []
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"state": "start",
|
164
|
+
"data": []
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"state": "start",
|
168
|
+
"data": []
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"state": "start",
|
172
|
+
"data": [
|
173
|
+
[ "support.constant", "+" ],
|
174
|
+
[ "text", " this.highlight = function(re) {" ]
|
175
|
+
]
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"state": "start",
|
179
|
+
"data": []
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"state": "start",
|
183
|
+
"data": [
|
184
|
+
[ "support.constant", "+" ],
|
185
|
+
[ "text", " if (!this.$searchHighlight) {" ]
|
186
|
+
]
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"state": "start",
|
190
|
+
"data": []
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"state": "start",
|
194
|
+
"data": [
|
195
|
+
[ "support.constant", "+" ],
|
196
|
+
[ "text", " var highlight = new SearchHighlight(null, \"ace_selected-word\", \"text\");" ]
|
197
|
+
]
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"state": "start",
|
201
|
+
"data": []
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"state": "start",
|
205
|
+
"data": [
|
206
|
+
[ "support.constant", "+" ],
|
207
|
+
[ "text", " this.$searchHighlight = this.addDynamicMarker(highlight);" ]
|
208
|
+
]
|
209
|
+
},
|
210
|
+
{
|
211
|
+
"state": "start",
|
212
|
+
"data": []
|
213
|
+
},
|
214
|
+
{
|
215
|
+
"state": "start",
|
216
|
+
"data": [
|
217
|
+
[ "support.constant", "+" ],
|
218
|
+
[ "text", " }" ]
|
219
|
+
]
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"state": "start",
|
223
|
+
"data": []
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"state": "start",
|
227
|
+
"data": [
|
228
|
+
[ "support.constant", "+" ],
|
229
|
+
[ "text", " this.$searchHighlight.setRegexp(re);" ]
|
230
|
+
]
|
231
|
+
},
|
232
|
+
{
|
233
|
+
"state": "start",
|
234
|
+
"data": []
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"state": "start",
|
238
|
+
"data": [
|
239
|
+
[ "support.constant", "+" ],
|
240
|
+
[ "text", " }" ]
|
241
|
+
]
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"state": "start",
|
245
|
+
"data": []
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"state": "start",
|
249
|
+
"data": [
|
250
|
+
[ "invisible", " /**" ]
|
251
|
+
]
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"state": "start",
|
255
|
+
"data": []
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"state": "start",
|
259
|
+
"data": [
|
260
|
+
[ "invisible", " * EditSession.setUndoManager(undoManager)" ]
|
261
|
+
]
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"state": "start",
|
265
|
+
"data": []
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"state": "start",
|
269
|
+
"data": [
|
270
|
+
[ "invisible", " * - undoManager (UndoManager): The new undo manager" ]
|
271
|
+
]
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"state": "start",
|
275
|
+
"data": []
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"state": "start",
|
279
|
+
"data": [
|
280
|
+
[ "constant", "@@" ],
|
281
|
+
[ "constant.numeric", " -556,7 +564,8 " ],
|
282
|
+
[ "constant", "@@" ],
|
283
|
+
[ "comment.doc.tag", " var EditSession = function(text, mode) {" ]
|
284
|
+
]
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"state": "start",
|
288
|
+
"data": []
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"state": "start",
|
292
|
+
"data": [
|
293
|
+
[ "invisible", " type : type || \"line\"," ]
|
294
|
+
]
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"state": "start",
|
298
|
+
"data": []
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"state": "start",
|
302
|
+
"data": [
|
303
|
+
[ "invisible", " renderer: typeof type == \"function\" ? type : null," ]
|
304
|
+
]
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"state": "start",
|
308
|
+
"data": []
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"state": "start",
|
312
|
+
"data": [
|
313
|
+
[ "invisible", " clazz : clazz," ]
|
314
|
+
]
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"state": "start",
|
318
|
+
"data": []
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"state": "start",
|
322
|
+
"data": [
|
323
|
+
[ "support.function", "-" ],
|
324
|
+
[ "string", " inFront: !!inFront" ]
|
325
|
+
]
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"state": "start",
|
329
|
+
"data": []
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"state": "start",
|
333
|
+
"data": [
|
334
|
+
[ "support.constant", "+" ],
|
335
|
+
[ "text", " inFront: !!inFront," ]
|
336
|
+
]
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"state": "start",
|
340
|
+
"data": []
|
341
|
+
},
|
342
|
+
{
|
343
|
+
"state": "start",
|
344
|
+
"data": [
|
345
|
+
[ "support.constant", "+" ],
|
346
|
+
[ "text", " id: id" ]
|
347
|
+
]
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"state": "start",
|
351
|
+
"data": []
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"state": "start",
|
355
|
+
"data": [
|
356
|
+
[ "invisible", " }" ]
|
357
|
+
]
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"state": "start",
|
361
|
+
"data": []
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"state": "start",
|
365
|
+
"data": []
|
366
|
+
},
|
367
|
+
{
|
368
|
+
"state": "start",
|
369
|
+
"data": []
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"state": "start",
|
373
|
+
"data": [
|
374
|
+
[ "invisible", " if (inFront) {" ]
|
375
|
+
]
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"state": "start",
|
379
|
+
"data": []
|
380
|
+
},
|
381
|
+
{
|
382
|
+
"state": "start",
|
383
|
+
"data": [
|
384
|
+
[ "variable", "diff" ],
|
385
|
+
[ "variable", " --git" ],
|
386
|
+
[ "keyword", " a/lib/ace/editor.js" ],
|
387
|
+
[ "variable", " b/lib/ace/editor.js" ]
|
388
|
+
]
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"state": "start",
|
392
|
+
"data": []
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"state": "start",
|
396
|
+
"data": [
|
397
|
+
[ "variable", "index 834e603..b27ec73 100644" ]
|
398
|
+
]
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"state": "start",
|
402
|
+
"data": []
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"state": "start",
|
406
|
+
"data": [
|
407
|
+
[ "constant.numeric", "---" ],
|
408
|
+
[ "meta.tag", " a/lib/ace/editor.js" ]
|
409
|
+
]
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"state": "start",
|
413
|
+
"data": []
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"state": "start",
|
417
|
+
"data": [
|
418
|
+
[ "constant.numeric", "+++" ],
|
419
|
+
[ "meta.tag", " b/lib/ace/editor.js" ]
|
420
|
+
]
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"state": "start",
|
424
|
+
"data": []
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"state": "start",
|
428
|
+
"data": [
|
429
|
+
[ "constant", "@@" ],
|
430
|
+
[ "constant.numeric", " -494,7 +494,7 " ],
|
431
|
+
[ "constant", "@@" ],
|
432
|
+
[ "comment.doc.tag", " var Editor = function(renderer, session) {" ]
|
433
|
+
]
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"state": "start",
|
437
|
+
"data": []
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"state": "start",
|
441
|
+
"data": [
|
442
|
+
[ "invisible", " * Emitted when a selection has changed." ]
|
443
|
+
]
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"state": "start",
|
447
|
+
"data": []
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"state": "start",
|
451
|
+
"data": [
|
452
|
+
[ "invisible", " **/" ]
|
453
|
+
]
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"state": "start",
|
457
|
+
"data": []
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"state": "start",
|
461
|
+
"data": [
|
462
|
+
[ "invisible", " this.onSelectionChange = function(e) {" ]
|
463
|
+
]
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"state": "start",
|
467
|
+
"data": []
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"state": "start",
|
471
|
+
"data": [
|
472
|
+
[ "support.function", "-" ],
|
473
|
+
[ "string", " var session = this.getSession();" ]
|
474
|
+
]
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"state": "start",
|
478
|
+
"data": []
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"state": "start",
|
482
|
+
"data": [
|
483
|
+
[ "support.constant", "+" ],
|
484
|
+
[ "text", " var session = this.session;" ]
|
485
|
+
]
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"state": "start",
|
489
|
+
"data": []
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"state": "start",
|
493
|
+
"data": []
|
494
|
+
},
|
495
|
+
{
|
496
|
+
"state": "start",
|
497
|
+
"data": []
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"state": "start",
|
501
|
+
"data": [
|
502
|
+
[ "invisible", " if (session.$selectionMarker) {" ]
|
503
|
+
]
|
504
|
+
},
|
505
|
+
{
|
506
|
+
"state": "start",
|
507
|
+
"data": []
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"state": "start",
|
511
|
+
"data": [
|
512
|
+
[ "invisible", " session.removeMarker(session.$selectionMarker);" ]
|
513
|
+
]
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"state": "start",
|
517
|
+
"data": []
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"state": "start",
|
521
|
+
"data": [
|
522
|
+
[ "constant", "@@" ],
|
523
|
+
[ "constant.numeric", " -509,12 +509,40 " ],
|
524
|
+
[ "constant", "@@" ],
|
525
|
+
[ "comment.doc.tag", " var Editor = function(renderer, session) {" ]
|
526
|
+
]
|
527
|
+
},
|
528
|
+
{
|
529
|
+
"state": "start",
|
530
|
+
"data": []
|
531
|
+
},
|
532
|
+
{
|
533
|
+
"state": "start",
|
534
|
+
"data": [
|
535
|
+
[ "invisible", " this.$updateHighlightActiveLine();" ]
|
536
|
+
]
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"state": "start",
|
540
|
+
"data": []
|
541
|
+
},
|
542
|
+
{
|
543
|
+
"state": "start",
|
544
|
+
"data": [
|
545
|
+
[ "invisible", " }" ]
|
546
|
+
]
|
547
|
+
},
|
548
|
+
{
|
549
|
+
"state": "start",
|
550
|
+
"data": []
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"state": "start",
|
554
|
+
"data": []
|
555
|
+
},
|
556
|
+
{
|
557
|
+
"state": "start",
|
558
|
+
"data": []
|
559
|
+
},
|
560
|
+
{
|
561
|
+
"state": "start",
|
562
|
+
"data": [
|
563
|
+
[ "support.function", "-" ],
|
564
|
+
[ "string", " var self = this;" ]
|
565
|
+
]
|
566
|
+
},
|
567
|
+
{
|
568
|
+
"state": "start",
|
569
|
+
"data": []
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"state": "start",
|
573
|
+
"data": [
|
574
|
+
[ "support.function", "-" ],
|
575
|
+
[ "string", " if (this.$highlightSelectedWord && !this.$wordHighlightTimer)" ]
|
576
|
+
]
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"state": "start",
|
580
|
+
"data": []
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"state": "start",
|
584
|
+
"data": [
|
585
|
+
[ "support.function", "-" ],
|
586
|
+
[ "string", " this.$wordHighlightTimer = setTimeout(function() {" ]
|
587
|
+
]
|
588
|
+
},
|
589
|
+
{
|
590
|
+
"state": "start",
|
591
|
+
"data": []
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"state": "start",
|
595
|
+
"data": [
|
596
|
+
[ "support.function", "-" ],
|
597
|
+
[ "string", " self.session.$mode.highlightSelection(self);" ]
|
598
|
+
]
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"state": "start",
|
602
|
+
"data": []
|
603
|
+
},
|
604
|
+
{
|
605
|
+
"state": "start",
|
606
|
+
"data": [
|
607
|
+
[ "support.function", "-" ],
|
608
|
+
[ "string", " self.$wordHighlightTimer = null;" ]
|
609
|
+
]
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"state": "start",
|
613
|
+
"data": []
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"state": "start",
|
617
|
+
"data": [
|
618
|
+
[ "support.function", "-" ],
|
619
|
+
[ "string", " }, 30, this);" ]
|
620
|
+
]
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"state": "start",
|
624
|
+
"data": []
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"state": "start",
|
628
|
+
"data": [
|
629
|
+
[ "support.constant", "+" ],
|
630
|
+
[ "text", " var re = this.$highlightSelectedWord && this.$getSelectionHighLightRegexp()" ]
|
631
|
+
]
|
632
|
+
},
|
633
|
+
{
|
634
|
+
"state": "start",
|
635
|
+
"data": []
|
636
|
+
},
|
637
|
+
{
|
638
|
+
"state": "start",
|
639
|
+
"data": [
|
640
|
+
[ "invisible", " };" ]
|
641
|
+
]
|
642
|
+
},
|
643
|
+
{
|
644
|
+
"state": "start",
|
645
|
+
"data": []
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"state": "start",
|
649
|
+
"data": [
|
650
|
+
[ "variable", "diff" ],
|
651
|
+
[ "variable", " --git" ],
|
652
|
+
[ "keyword", " a/lib/ace/search_highlight.js" ],
|
653
|
+
[ "variable", " b/lib/ace/search_highlight.js" ]
|
654
|
+
]
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"state": "start",
|
658
|
+
"data": []
|
659
|
+
},
|
660
|
+
{
|
661
|
+
"state": "start",
|
662
|
+
"data": [
|
663
|
+
[ "invisible", "new file mode 100644" ]
|
664
|
+
]
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"state": "start",
|
668
|
+
"data": []
|
669
|
+
},
|
670
|
+
{
|
671
|
+
"state": "start",
|
672
|
+
"data": [
|
673
|
+
[ "variable", "index 0000000..b2df779" ]
|
674
|
+
]
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"state": "start",
|
678
|
+
"data": []
|
679
|
+
},
|
680
|
+
{
|
681
|
+
"state": "start",
|
682
|
+
"data": [
|
683
|
+
[ "constant.numeric", "---" ],
|
684
|
+
[ "meta.tag", " /dev/null" ]
|
685
|
+
]
|
686
|
+
},
|
687
|
+
{
|
688
|
+
"state": "start",
|
689
|
+
"data": []
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"state": "start",
|
693
|
+
"data": [
|
694
|
+
[ "constant.numeric", "+++" ],
|
695
|
+
[ "meta.tag", " b/lib/ace/search_highlight.js" ]
|
696
|
+
]
|
697
|
+
},
|
698
|
+
{
|
699
|
+
"state": "start",
|
700
|
+
"data": []
|
701
|
+
},
|
702
|
+
{
|
703
|
+
"state": "start",
|
704
|
+
"data": [
|
705
|
+
[ "constant", "@@" ],
|
706
|
+
[ "constant.numeric", " -0,0 +1,3 " ],
|
707
|
+
[ "constant", "@@" ]
|
708
|
+
]
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"state": "start",
|
712
|
+
"data": []
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"state": "start",
|
716
|
+
"data": [
|
717
|
+
[ "support.constant", "+" ],
|
718
|
+
[ "text", "new" ]
|
719
|
+
]
|
720
|
+
},
|
721
|
+
{
|
722
|
+
"state": "start",
|
723
|
+
"data": []
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"state": "start",
|
727
|
+
"data": [
|
728
|
+
[ "support.constant", "+" ],
|
729
|
+
[ "text", "empty file" ]
|
730
|
+
]
|
731
|
+
}
|
732
|
+
]
|