codemirror-rails 3.18 → 3.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/codemirror/rails/version.rb +2 -2
  3. data/vendor/assets/javascripts/codemirror.js +42 -19
  4. data/vendor/assets/javascripts/codemirror/addons/edit/closetag.js +1 -1
  5. data/vendor/assets/javascripts/codemirror/addons/edit/continuelist.js +1 -1
  6. data/vendor/assets/javascripts/codemirror/addons/fold/foldcode.js +6 -4
  7. data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js +2 -0
  8. data/vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js +21 -7
  9. data/vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js +3 -19
  10. data/vendor/assets/javascripts/codemirror/addons/hint/sql-hint.js +105 -0
  11. data/vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js +1 -0
  12. data/vendor/assets/javascripts/codemirror/addons/search/search.js +2 -0
  13. data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +1 -1
  14. data/vendor/assets/javascripts/codemirror/addons/wrap/hardwrap.js +99 -0
  15. data/vendor/assets/javascripts/codemirror/keymaps/vim.js +55 -17
  16. data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +314 -313
  17. data/vendor/assets/javascripts/codemirror/modes/css.js +19 -7
  18. data/vendor/assets/javascripts/codemirror/modes/eiffel.js +147 -0
  19. data/vendor/assets/javascripts/codemirror/modes/gfm.js +2 -1
  20. data/vendor/assets/javascripts/codemirror/modes/gherkin.js +168 -0
  21. data/vendor/assets/javascripts/codemirror/modes/less.js +110 -22
  22. data/vendor/assets/javascripts/codemirror/modes/php.js +4 -4
  23. data/vendor/assets/javascripts/codemirror/modes/smartymixed.js +6 -1
  24. data/vendor/assets/javascripts/codemirror/modes/sql.js +15 -2
  25. data/vendor/assets/javascripts/codemirror/modes/xml.js +7 -3
  26. data/vendor/assets/stylesheets/codemirror.css +1 -1
  27. data/vendor/assets/stylesheets/codemirror/addons/fold/foldgutter.css +21 -0
  28. data/vendor/assets/stylesheets/codemirror/addons/lint/lint.css +1 -0
  29. data/vendor/assets/stylesheets/codemirror/themes/3024-day.css +1 -1
  30. data/vendor/assets/stylesheets/codemirror/themes/3024-night.css +1 -1
  31. data/vendor/assets/stylesheets/codemirror/themes/ambiance.css +1 -1
  32. data/vendor/assets/stylesheets/codemirror/themes/base16-dark.css +1 -1
  33. data/vendor/assets/stylesheets/codemirror/themes/base16-light.css +1 -1
  34. data/vendor/assets/stylesheets/codemirror/themes/blackboard.css +1 -1
  35. data/vendor/assets/stylesheets/codemirror/themes/cobalt.css +1 -1
  36. data/vendor/assets/stylesheets/codemirror/themes/eclipse.css +1 -1
  37. data/vendor/assets/stylesheets/codemirror/themes/elegant.css +1 -1
  38. data/vendor/assets/stylesheets/codemirror/themes/erlang-dark.css +1 -1
  39. data/vendor/assets/stylesheets/codemirror/themes/lesser-dark.css +1 -1
  40. data/vendor/assets/stylesheets/codemirror/themes/mbo.css +35 -0
  41. data/vendor/assets/stylesheets/codemirror/themes/midnight.css +1 -1
  42. data/vendor/assets/stylesheets/codemirror/themes/monokai.css +1 -1
  43. data/vendor/assets/stylesheets/codemirror/themes/night.css +1 -1
  44. data/vendor/assets/stylesheets/codemirror/themes/paraiso-dark.css +1 -1
  45. data/vendor/assets/stylesheets/codemirror/themes/paraiso-light.css +1 -1
  46. data/vendor/assets/stylesheets/codemirror/themes/rubyblue.css +1 -1
  47. data/vendor/assets/stylesheets/codemirror/themes/solarized.css +7 -7
  48. data/vendor/assets/stylesheets/codemirror/themes/the-matrix.css +1 -1
  49. data/vendor/assets/stylesheets/codemirror/themes/tomorrow-night-eighties.css +1 -1
  50. data/vendor/assets/stylesheets/codemirror/themes/twilight.css +1 -1
  51. data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +1 -1
  52. data/vendor/assets/stylesheets/codemirror/themes/xq-dark.css +1 -1
  53. data/vendor/assets/stylesheets/codemirror/themes/xq-light.css +1 -1
  54. metadata +7 -1
@@ -16,11 +16,11 @@
16
16
  .cm-s-the-matrix span.cm-comment {color: #CCCCCC;}
17
17
  .cm-s-the-matrix span.cm-string {color: #39C;}
18
18
  .cm-s-the-matrix span.cm-meta {color: #C9F;}
19
- .cm-s-the-matrix span.cm-error {color: #FF0000;}
20
19
  .cm-s-the-matrix span.cm-qualifier {color: #FFF700;}
21
20
  .cm-s-the-matrix span.cm-builtin {color: #30a;}
22
21
  .cm-s-the-matrix span.cm-bracket {color: #cc7;}
23
22
  .cm-s-the-matrix span.cm-tag {color: #FFBD40;}
24
23
  .cm-s-the-matrix span.cm-attribute {color: #FFF700;}
24
+ .cm-s-the-matrix span.cm-error {color: #FF0000;}
25
25
 
26
26
  .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}
@@ -25,10 +25,10 @@
25
25
  .cm-s-tomorrow-night-eighties span.cm-variable {color: #99cc99;}
26
26
  .cm-s-tomorrow-night-eighties span.cm-variable-2 {color: #6699cc;}
27
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
28
  .cm-s-tomorrow-night-eighties span.cm-bracket {color: #CCCCCC;}
30
29
  .cm-s-tomorrow-night-eighties span.cm-tag {color: #f2777a;}
31
30
  .cm-s-tomorrow-night-eighties span.cm-link {color: #a16a94;}
31
+ .cm-s-tomorrow-night-eighties span.cm-error {background: #f2777a; color: #6A6A6A;}
32
32
 
33
33
  .cm-s-tomorrow-night-eighties .CodeMirror-activeline-background {background: #343600 !important;}
34
34
  .cm-s-tomorrow-night-eighties .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
@@ -16,13 +16,13 @@
16
16
  .cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
17
17
  .cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/
18
18
  .cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
19
- .cm-s-twilight .cm-error { border-bottom: 1px solid red; }
20
19
  .cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
21
20
  .cm-s-twilight .cm-tag { color: #997643; } /**/
22
21
  .cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
23
22
  .cm-s-twilight .cm-header { color: #FF6400; }
24
23
  .cm-s-twilight .cm-hr { color: #AEAEAE; }
25
24
  .cm-s-twilight .cm-link { color:#ad9361; font-style:italic; text-decoration:none; } /**/
25
+ .cm-s-twilight .cm-error { border-bottom: 1px solid red; }
26
26
 
27
27
  .cm-s-twilight .CodeMirror-activeline-background {background: #27282E !important;}
28
28
  .cm-s-twilight .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
@@ -18,13 +18,13 @@
18
18
  .cm-s-vibrant-ink .cm-string { color: #A5C25C }
19
19
  .cm-s-vibrant-ink .cm-string-2 { color: red }
20
20
  .cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
21
- .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
22
21
  .cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
23
22
  .cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
24
23
  .cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
25
24
  .cm-s-vibrant-ink .cm-header { color: #FF6400; }
26
25
  .cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
27
26
  .cm-s-vibrant-ink .cm-link { color: blue; }
27
+ .cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
28
28
 
29
29
  .cm-s-vibrant-ink .CodeMirror-activeline-background {background: #27282E !important;}
30
30
  .cm-s-vibrant-ink .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
@@ -38,12 +38,12 @@ THE SOFTWARE.
38
38
  .cm-s-xq-dark span.cm-comment {color: gray;}
39
39
  .cm-s-xq-dark span.cm-string {color: #9FEE00;}
40
40
  .cm-s-xq-dark span.cm-meta {color: yellow;}
41
- .cm-s-xq-dark span.cm-error {color: #f00;}
42
41
  .cm-s-xq-dark span.cm-qualifier {color: #FFF700;}
43
42
  .cm-s-xq-dark span.cm-builtin {color: #30a;}
44
43
  .cm-s-xq-dark span.cm-bracket {color: #cc7;}
45
44
  .cm-s-xq-dark span.cm-tag {color: #FFBD40;}
46
45
  .cm-s-xq-dark span.cm-attribute {color: #FFF700;}
46
+ .cm-s-xq-dark span.cm-error {color: #f00;}
47
47
 
48
48
  .cm-s-xq-dark .CodeMirror-activeline-background {background: #27282E !important;}
49
49
  .cm-s-xq-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
@@ -32,12 +32,12 @@ THE SOFTWARE.
32
32
  .cm-s-xq-light span.cm-comment {color: #0080FF; font-style: italic;}
33
33
  .cm-s-xq-light span.cm-string {color: red;}
34
34
  .cm-s-xq-light span.cm-meta {color: yellow;}
35
- .cm-s-xq-light span.cm-error {color: #f00;}
36
35
  .cm-s-xq-light span.cm-qualifier {color: grey}
37
36
  .cm-s-xq-light span.cm-builtin {color: #7EA656;}
38
37
  .cm-s-xq-light span.cm-bracket {color: #cc7;}
39
38
  .cm-s-xq-light span.cm-tag {color: #3F7F7F;}
40
39
  .cm-s-xq-light span.cm-attribute {color: #7F007F;}
40
+ .cm-s-xq-light span.cm-error {color: #f00;}
41
41
 
42
42
  .cm-s-xq-light .CodeMirror-activeline-background {background: #e8f2ff !important;}
43
43
  .cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codemirror-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: '3.18'
4
+ version: '3.19'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Fixler
@@ -171,6 +171,7 @@ files:
171
171
  - vendor/assets/javascripts/codemirror/addons/hint/pig-hint.js
172
172
  - vendor/assets/javascripts/codemirror/addons/hint/python-hint.js
173
173
  - vendor/assets/javascripts/codemirror/addons/hint/show-hint.js
174
+ - vendor/assets/javascripts/codemirror/addons/hint/sql-hint.js
174
175
  - vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js
175
176
  - vendor/assets/javascripts/codemirror/addons/lint/coffeescript-lint.js
176
177
  - vendor/assets/javascripts/codemirror/addons/lint/css-lint.js
@@ -193,6 +194,7 @@ files:
193
194
  - vendor/assets/javascripts/codemirror/addons/selection/mark-selection.js
194
195
  - vendor/assets/javascripts/codemirror/addons/tern/tern.js
195
196
  - vendor/assets/javascripts/codemirror/addons/tern/worker.js
197
+ - vendor/assets/javascripts/codemirror/addons/wrap/hardwrap.js
196
198
  - vendor/assets/javascripts/codemirror/keymaps/emacs.js
197
199
  - vendor/assets/javascripts/codemirror/keymaps/extra.js
198
200
  - vendor/assets/javascripts/codemirror/keymaps/vim.js
@@ -208,10 +210,12 @@ files:
208
210
  - vendor/assets/javascripts/codemirror/modes/diff.js
209
211
  - vendor/assets/javascripts/codemirror/modes/dtd.js
210
212
  - vendor/assets/javascripts/codemirror/modes/ecl.js
213
+ - vendor/assets/javascripts/codemirror/modes/eiffel.js
211
214
  - vendor/assets/javascripts/codemirror/modes/erlang.js
212
215
  - vendor/assets/javascripts/codemirror/modes/fortran.js
213
216
  - vendor/assets/javascripts/codemirror/modes/gas.js
214
217
  - vendor/assets/javascripts/codemirror/modes/gfm.js
218
+ - vendor/assets/javascripts/codemirror/modes/gherkin.js
215
219
  - vendor/assets/javascripts/codemirror/modes/go.js
216
220
  - vendor/assets/javascripts/codemirror/modes/groovy.js
217
221
  - vendor/assets/javascripts/codemirror/modes/haml.js
@@ -271,6 +275,7 @@ files:
271
275
  - vendor/assets/stylesheets/codemirror.css
272
276
  - vendor/assets/stylesheets/codemirror/addons/dialog/dialog.css
273
277
  - vendor/assets/stylesheets/codemirror/addons/display/fullscreen.css
278
+ - vendor/assets/stylesheets/codemirror/addons/fold/foldgutter.css
274
279
  - vendor/assets/stylesheets/codemirror/addons/hint/show-hint.css
275
280
  - vendor/assets/stylesheets/codemirror/addons/lint/lint.css
276
281
  - vendor/assets/stylesheets/codemirror/addons/merge/merge.css
@@ -290,6 +295,7 @@ files:
290
295
  - vendor/assets/stylesheets/codemirror/themes/elegant.css
291
296
  - vendor/assets/stylesheets/codemirror/themes/erlang-dark.css
292
297
  - vendor/assets/stylesheets/codemirror/themes/lesser-dark.css
298
+ - vendor/assets/stylesheets/codemirror/themes/mbo.css
293
299
  - vendor/assets/stylesheets/codemirror/themes/midnight.css
294
300
  - vendor/assets/stylesheets/codemirror/themes/monokai.css
295
301
  - vendor/assets/stylesheets/codemirror/themes/neat.css