aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode
diff options
context:
space:
mode:
authorJon Reid2012-03-06 18:08:37 -0800
committerJon Reid2012-03-06 18:08:37 -0800
commit6056fdb63b5f4690115e63ee50e8d7dac309ba64 (patch)
tree5fbe386e4c7732fb84b98c9539b186898f076c7b /imports/codemirror/mode
parentbcfb704b04587f95a13c474cf0598ba90ec3b371 (diff)
parenta12603cfcfe9d82def3b972dcbcc80f1e790ad85 (diff)
downloadninja-6056fdb63b5f4690115e63ee50e8d7dac309ba64.tar.gz
Merge branch 'Timeline-uber' into timeline-serialized
Diffstat (limited to 'imports/codemirror/mode')
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/clike/clike.js19
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/clike/index.html2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/clojure/clojure.js2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/clojure/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/coffeescript/LICENSE0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/coffeescript/coffeescript.js90
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/coffeescript/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/css/css.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/css/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/diff/diff.css0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/diff/diff.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/diff/index.html0
-rw-r--r--imports/codemirror/mode/ecl/ecl.js203
-rw-r--r--imports/codemirror/mode/ecl/index.html42
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/gfm/gfm.js2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/gfm/index.html0
-rw-r--r--imports/codemirror/mode/go/go.js170
-rw-r--r--imports/codemirror/mode/go/index.html72
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/groovy/groovy.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/groovy/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/haskell/haskell.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/haskell/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/htmlembedded/htmlembedded.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/htmlembedded/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/htmlmixed/htmlmixed.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/htmlmixed/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/javascript/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/javascript/javascript.js4
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/jinja2/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/jinja2/jinja2.js0
-rw-r--r--imports/codemirror/mode/less/index.html588
-rw-r--r--imports/codemirror/mode/less/less.js189
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/lua/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/lua/lua.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/markdown/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/markdown/markdown.js82
-rw-r--r--imports/codemirror/mode/mysql/index.html41
-rw-r--r--imports/codemirror/mode/mysql/mysql.js188
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/ntriples/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/ntriples/ntriples.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/pascal/LICENSE0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/pascal/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/pascal/pascal.js48
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/perl/LICENSE0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/perl/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/perl/perl.js2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/php/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/php/php.js78
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/plsql/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/plsql/plsql.js0
-rwxr-xr-ximports/codemirror/mode/properties/index.html40
-rwxr-xr-ximports/codemirror/mode/properties/properties.css3
-rwxr-xr-ximports/codemirror/mode/properties/properties.js57
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/python/LICENSE.txt0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/python/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/python/python.js41
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/r/LICENSE0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/r/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/r/r.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rpm/changes/changes.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rpm/changes/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rpm/spec/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rpm/spec/spec.css0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rpm/spec/spec.js2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rst/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rst/rst.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/ruby/LICENSE0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/ruby/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/ruby/ruby.js17
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rust/index.html6
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/rust/rust.js51
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/scheme/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/smalltalk/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/smalltalk/smalltalk.js32
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/sparql/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/sparql/sparql.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/stex/index.html2
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/stex/stex.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/tiddlywiki/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/tiddlywiki/tiddlywiki.css0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/tiddlywiki/tiddlywiki.js0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/velocity/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/velocity/velocity.js0
-rw-r--r--imports/codemirror/mode/verilog/index.html210
-rw-r--r--imports/codemirror/mode/verilog/verilog.js194
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/xml/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/xml/xml.js35
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/xmlpure/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/xmlpure/xmlpure.js5
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/yaml/index.html0
-rw-r--r--[-rwxr-xr-x]imports/codemirror/mode/yaml/yaml.js0
91 files changed, 2294 insertions, 223 deletions
diff --git a/imports/codemirror/mode/clike/clike.js b/imports/codemirror/mode/clike/clike.js
index 69877efd..66443fb8 100755..100644
--- a/imports/codemirror/mode/clike/clike.js
+++ b/imports/codemirror/mode/clike/clike.js
@@ -59,7 +59,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
59 escaped = !escaped && next == "\\"; 59 escaped = !escaped && next == "\\";
60 } 60 }
61 if (end || !(escaped || multiLineStrings)) 61 if (end || !(escaped || multiLineStrings))
62 state.tokenize = tokenBase; 62 state.tokenize = null;
63 return "string"; 63 return "string";
64 }; 64 };
65 } 65 }
@@ -68,7 +68,7 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
68 var maybeEnd = false, ch; 68 var maybeEnd = false, ch;
69 while (ch = stream.next()) { 69 while (ch = stream.next()) {
70 if (ch == "/" && maybeEnd) { 70 if (ch == "/" && maybeEnd) {
71 state.tokenize = tokenBase; 71 state.tokenize = null;
72 break; 72 break;
73 } 73 }
74 maybeEnd = (ch == "*"); 74 maybeEnd = (ch == "*");
@@ -231,19 +231,4 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
231 } 231 }
232 } 232 }
233 }); 233 });
234 CodeMirror.defineMIME("text/x-groovy", {
235 name: "clike",
236 keywords: words("abstract as assert boolean break byte case catch char class const continue def default " +
237 "do double else enum extends final finally float for goto if implements import " +
238 "in instanceof int interface long native new package property private protected public " +
239 "return short static strictfp super switch synchronized this throw throws transient " +
240 "try void volatile while"),
241 atoms: words("true false null"),
242 hooks: {
243 "@": function(stream, state) {
244 stream.eatWhile(/[\w\$_]/);
245 return "meta";
246 }
247 }
248 });
249}()); 234}());
diff --git a/imports/codemirror/mode/clike/index.html b/imports/codemirror/mode/clike/index.html
index 5e375ef4..5c327451 100755..100644
--- a/imports/codemirror/mode/clike/index.html
+++ b/imports/codemirror/mode/clike/index.html
@@ -96,6 +96,6 @@ void* zmq_thread_init(void* zmq_context, int signal_fd) {
96 <p><strong>MIME types defined:</strong> <code>text/x-csrc</code> 96 <p><strong>MIME types defined:</strong> <code>text/x-csrc</code>
97 (C code), <code>text/x-c++src</code> (C++ 97 (C code), <code>text/x-c++src</code> (C++
98 code), <code>text/x-java</code> (Java