codemirror-rails 3.14 → 3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +178 -94
- data/vendor/assets/javascripts/codemirror/addons/comment/comment.js +3 -3
- data/vendor/assets/javascripts/codemirror/addons/edit/closebrackets.js +3 -1
- data/vendor/assets/javascripts/codemirror/addons/edit/matchtags.js +51 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/brace-fold.js +9 -6
- data/vendor/assets/javascripts/codemirror/addons/fold/foldcode.js +9 -4
- data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js +122 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js +3 -2
- data/vendor/assets/javascripts/codemirror/addons/fold/xml-fold.js +24 -17
- data/vendor/assets/javascripts/codemirror/addons/hint/anyword-hint.js +34 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/html-hint.js +5 -3
- data/vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js +7 -3
- data/vendor/assets/javascripts/codemirror/addons/hint/pig-hint.js +4 -2
- data/vendor/assets/javascripts/codemirror/addons/hint/python-hint.js +4 -2
- data/vendor/assets/javascripts/codemirror/addons/hint/show-hint.js +6 -2
- data/vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js +5 -2
- data/vendor/assets/javascripts/codemirror/addons/lint/coffeescript-lint.js +3 -2
- data/vendor/assets/javascripts/codemirror/addons/lint/javascript-lint.js +3 -6
- data/vendor/assets/javascripts/codemirror/addons/lint/json-lint.js +3 -2
- data/vendor/assets/javascripts/codemirror/addons/lint/lint.js +12 -6
- data/vendor/assets/javascripts/codemirror/addons/merge/dep/diff_match_patch.js +50 -0
- data/vendor/assets/javascripts/codemirror/addons/merge/merge.js +40 -24
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode-standalone.js +3 -1
- data/vendor/assets/javascripts/codemirror/addons/runmode/runmode.node.js +3 -1
- data/vendor/assets/javascripts/codemirror/addons/search/match-highlighter.js +11 -9
- data/vendor/assets/javascripts/codemirror/addons/selection/active-line.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +608 -0
- data/vendor/assets/javascripts/codemirror/addons/tern/worker.js +39 -0
- data/vendor/assets/javascripts/codemirror/keymaps/vim.js +120 -101
- data/vendor/assets/javascripts/codemirror/modes/clike.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/css.js +33 -16
- data/vendor/assets/javascripts/codemirror/modes/groovy.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/jade.js +90 -0
- data/vendor/assets/javascripts/codemirror/modes/javascript.js +21 -18
- data/vendor/assets/javascripts/codemirror/modes/markdown.js +26 -1
- data/vendor/assets/javascripts/codemirror/modes/nginx.js +163 -0
- data/vendor/assets/javascripts/codemirror/modes/python.js +19 -2
- data/vendor/assets/javascripts/codemirror/modes/rst.js +30 -19
- data/vendor/assets/javascripts/codemirror/modes/ruby.js +4 -4
- data/vendor/assets/javascripts/codemirror/modes/rust.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/scss_test.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/smalltalk.js +12 -2
- data/vendor/assets/javascripts/codemirror/modes/smartymixed.js +170 -0
- data/vendor/assets/javascripts/codemirror/modes/sparql.js +4 -2
- data/vendor/assets/javascripts/codemirror/modes/vbscript.js +330 -22
- data/vendor/assets/javascripts/codemirror/modes/xml.js +18 -3
- data/vendor/assets/stylesheets/codemirror.css +10 -0
- data/vendor/assets/stylesheets/codemirror/addons/merge/merge.css +39 -29
- data/vendor/assets/stylesheets/codemirror/addons/tern/tern.css +85 -0
- data/vendor/assets/stylesheets/codemirror/themes/3024-day.css +33 -0
- data/vendor/assets/stylesheets/codemirror/themes/3024-night.css +33 -0
- data/vendor/assets/stylesheets/codemirror/themes/base16-dark.css +33 -0
- data/vendor/assets/stylesheets/codemirror/themes/base16-light.css +33 -0
- data/vendor/assets/stylesheets/codemirror/themes/lesser-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/midnight.css +5 -14
- data/vendor/assets/stylesheets/codemirror/themes/tomorrow-night-eighties.css +33 -0
- data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +2 -2
- metadata +17 -2
@@ -0,0 +1,33 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Name: Tomorrow Night - Eighties
|
4
|
+
Author: Chris Kempson
|
5
|
+
|
6
|
+
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
|
7
|
+
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
|
8
|
+
|
9
|
+
*/
|
10
|
+
|
11
|
+
.cm-s-tomorrow-night-eighties.CodeMirror {background: #000000; color: #CCCCCC;}
|
12
|
+
.cm-s-tomorrow-night-eighties div.CodeMirror-selected {background: #2D2D2D !important;}
|
13
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-gutters {background: #000000; border-right: 0px;}
|
14
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-linenumber {color: #515151;}
|
15
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-cursor {border-left: 1px solid #6A6A6A !important;}
|
16
|
+
|
17
|
+
.cm-s-tomorrow-night-eighties span.cm-comment {color: #d27b53;}
|
18
|
+
.cm-s-tomorrow-night-eighties span.cm-atom {color: #a16a94;}
|
19
|
+
.cm-s-tomorrow-night-eighties span.cm-number {color: #a16a94;}
|
20
|
+
|
21
|
+
.cm-s-tomorrow-night-eighties span.cm-property, .cm-s-tomorrow-night-eighties span.cm-attribute {color: #99cc99;}
|
22
|
+
.cm-s-tomorrow-night-eighties span.cm-keyword {color: #f2777a;}
|
23
|
+
.cm-s-tomorrow-night-eighties span.cm-string {color: #ffcc66;}
|
24
|
+
|
25
|
+
.cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}
|
26
|
+
.cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}
|
27
|
+
.cm-s-tomorrow-night-eighties span.cm-def {color: #f99157;}
|
28
|
+
.cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}
|
29
|
+
.cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}
|
30
|
+
.cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}
|
31
|
+
.cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}
|
32
|
+
|
33
|
+
.cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -11,8 +11,8 @@
|
|
11
11
|
.cm-s-vibrant-ink .cm-atom { color: #FC0; }
|
12
12
|
.cm-s-vibrant-ink .cm-number { color: #FFEE98; }
|
13
13
|
.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
|
14
|
-
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-
|
15
|
-
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-
|
14
|
+
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-vibrant span.cm-tag { color: #FFC66D }
|
15
|
+
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-vibrant span.cm-def { color: #FFC66D }
|
16
16
|
.cm-s-vibrant-ink .cm-operator { color: #888; }
|
17
17
|
.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
|
18
18
|
.cm-s-vibrant-ink .cm-string { color: #A5C25C }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codemirror-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.15'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Fixler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -155,11 +155,14 @@ files:
|
|
155
155
|
- vendor/assets/javascripts/codemirror/addons/edit/continuecomment.js
|
156
156
|
- vendor/assets/javascripts/codemirror/addons/edit/continuelist.js
|
157
157
|
- vendor/assets/javascripts/codemirror/addons/edit/matchbrackets.js
|
158
|
+
- vendor/assets/javascripts/codemirror/addons/edit/matchtags.js
|
158
159
|
- vendor/assets/javascripts/codemirror/addons/edit/trailingspace.js
|
159
160
|
- vendor/assets/javascripts/codemirror/addons/fold/brace-fold.js
|
160
161
|
- vendor/assets/javascripts/codemirror/addons/fold/foldcode.js
|
162
|
+
- vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js
|
161
163
|
- vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js
|
162
164
|
- vendor/assets/javascripts/codemirror/addons/fold/xml-fold.js
|
165
|
+
- vendor/assets/javascripts/codemirror/addons/hint/anyword-hint.js
|
163
166
|
- vendor/assets/javascripts/codemirror/addons/hint/html-hint.js
|
164
167
|
- vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js
|
165
168
|
- vendor/assets/javascripts/codemirror/addons/hint/pig-hint.js
|
@@ -170,6 +173,7 @@ files:
|
|
170
173
|
- vendor/assets/javascripts/codemirror/addons/lint/javascript-lint.js
|
171
174
|
- vendor/assets/javascripts/codemirror/addons/lint/json-lint.js
|
172
175
|
- vendor/assets/javascripts/codemirror/addons/lint/lint.js
|
176
|
+
- vendor/assets/javascripts/codemirror/addons/merge/dep/diff_match_patch.js
|
173
177
|
- vendor/assets/javascripts/codemirror/addons/merge/merge.js
|
174
178
|
- vendor/assets/javascripts/codemirror/addons/mode/loadmode.js
|
175
179
|
- vendor/assets/javascripts/codemirror/addons/mode/multiplex.js
|
@@ -183,6 +187,8 @@ files:
|
|
183
187
|
- vendor/assets/javascripts/codemirror/addons/search/searchcursor.js
|
184
188
|
- vendor/assets/javascripts/codemirror/addons/selection/active-line.js
|
185
189
|
- vendor/assets/javascripts/codemirror/addons/selection/mark-selection.js
|
190
|
+
- vendor/assets/javascripts/codemirror/addons/tern/tern.js
|
191
|
+
- vendor/assets/javascripts/codemirror/addons/tern/worker.js
|
186
192
|
- vendor/assets/javascripts/codemirror/keymaps/emacs.js
|
187
193
|
- vendor/assets/javascripts/codemirror/keymaps/extra.js
|
188
194
|
- vendor/assets/javascripts/codemirror/keymaps/vim.js
|
@@ -208,6 +214,7 @@ files:
|
|
208
214
|
- vendor/assets/javascripts/codemirror/modes/htmlembedded.js
|
209
215
|
- vendor/assets/javascripts/codemirror/modes/htmlmixed.js
|
210
216
|
- vendor/assets/javascripts/codemirror/modes/http.js
|
217
|
+
- vendor/assets/javascripts/codemirror/modes/jade.js
|
211
218
|
- vendor/assets/javascripts/codemirror/modes/javascript.js
|
212
219
|
- vendor/assets/javascripts/codemirror/modes/jinja2.js
|
213
220
|
- vendor/assets/javascripts/codemirror/modes/less.js
|
@@ -215,6 +222,7 @@ files:
|
|
215
222
|
- vendor/assets/javascripts/codemirror/modes/lua.js
|
216
223
|
- vendor/assets/javascripts/codemirror/modes/markdown.js
|
217
224
|
- vendor/assets/javascripts/codemirror/modes/mirc.js
|
225
|
+
- vendor/assets/javascripts/codemirror/modes/nginx.js
|
218
226
|
- vendor/assets/javascripts/codemirror/modes/ntriples.js
|
219
227
|
- vendor/assets/javascripts/codemirror/modes/ocaml.js
|
220
228
|
- vendor/assets/javascripts/codemirror/modes/pascal.js
|
@@ -237,6 +245,7 @@ files:
|
|
237
245
|
- vendor/assets/javascripts/codemirror/modes/sieve.js
|
238
246
|
- vendor/assets/javascripts/codemirror/modes/smalltalk.js
|
239
247
|
- vendor/assets/javascripts/codemirror/modes/smarty.js
|
248
|
+
- vendor/assets/javascripts/codemirror/modes/smartymixed.js
|
240
249
|
- vendor/assets/javascripts/codemirror/modes/sparql.js
|
241
250
|
- vendor/assets/javascripts/codemirror/modes/sql.js
|
242
251
|
- vendor/assets/javascripts/codemirror/modes/stex.js
|
@@ -257,11 +266,16 @@ files:
|
|
257
266
|
- vendor/assets/stylesheets/codemirror/addons/hint/show-hint.css
|
258
267
|
- vendor/assets/stylesheets/codemirror/addons/lint/lint.css
|
259
268
|
- vendor/assets/stylesheets/codemirror/addons/merge/merge.css
|
269
|
+
- vendor/assets/stylesheets/codemirror/addons/tern/tern.css
|
260
270
|
- vendor/assets/stylesheets/codemirror/modes/rpm-spec.css
|
261
271
|
- vendor/assets/stylesheets/codemirror/modes/tiddlywiki.css
|
262
272
|
- vendor/assets/stylesheets/codemirror/modes/tiki.css
|
273
|
+
- vendor/assets/stylesheets/codemirror/themes/3024-day.css
|
274
|
+
- vendor/assets/stylesheets/codemirror/themes/3024-night.css
|
263
275
|
- vendor/assets/stylesheets/codemirror/themes/ambiance-mobile.css
|
264
276
|
- vendor/assets/stylesheets/codemirror/themes/ambiance.css
|
277
|
+
- vendor/assets/stylesheets/codemirror/themes/base16-dark.css
|
278
|
+
- vendor/assets/stylesheets/codemirror/themes/base16-light.css
|
265
279
|
- vendor/assets/stylesheets/codemirror/themes/blackboard.css
|
266
280
|
- vendor/assets/stylesheets/codemirror/themes/cobalt.css
|
267
281
|
- vendor/assets/stylesheets/codemirror/themes/eclipse.css
|
@@ -274,6 +288,7 @@ files:
|
|
274
288
|
- vendor/assets/stylesheets/codemirror/themes/night.css
|
275
289
|
- vendor/assets/stylesheets/codemirror/themes/rubyblue.css
|
276
290
|
- vendor/assets/stylesheets/codemirror/themes/solarized.css
|
291
|
+
- vendor/assets/stylesheets/codemirror/themes/tomorrow-night-eighties.css
|
277
292
|
- vendor/assets/stylesheets/codemirror/themes/twilight.css
|
278
293
|
- vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css
|
279
294
|
- vendor/assets/stylesheets/codemirror/themes/xq-dark.css
|