codemirror-rails 5.5 → 5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/codemirror/rails/version.rb +2 -2
  3. data/vendor/assets/javascripts/codemirror.js +54 -20
  4. data/vendor/assets/javascripts/codemirror/addons/display/autorefresh.js +47 -0
  5. data/vendor/assets/javascripts/codemirror/addons/edit/closetag.js +6 -3
  6. data/vendor/assets/javascripts/codemirror/addons/hint/anyword-hint.js +1 -1
  7. data/vendor/assets/javascripts/codemirror/addons/lint/html-lint.js +46 -0
  8. data/vendor/assets/javascripts/codemirror/addons/lint/lint.js +8 -2
  9. data/vendor/assets/javascripts/codemirror/addons/merge/merge.js +2 -2
  10. data/vendor/assets/javascripts/codemirror/addons/search/search.js +11 -0
  11. data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +6 -5
  12. data/vendor/assets/javascripts/codemirror/modes/css.js +26 -10
  13. data/vendor/assets/javascripts/codemirror/modes/cypher.js +2 -2
  14. data/vendor/assets/javascripts/codemirror/modes/dockerfile.js +4 -1
  15. data/vendor/assets/javascripts/codemirror/modes/go.js +1 -1
  16. data/vendor/assets/javascripts/codemirror/modes/javascript.js +1 -6
  17. data/vendor/assets/javascripts/codemirror/modes/php.js +6 -5
  18. data/vendor/assets/javascripts/codemirror/modes/rust.js +39 -432
  19. data/vendor/assets/javascripts/codemirror/modes/stylus.js +10 -9
  20. data/vendor/assets/stylesheets/codemirror.css +12 -10
  21. data/vendor/assets/stylesheets/codemirror/themes/3024-day.css +20 -20
  22. data/vendor/assets/stylesheets/codemirror/themes/3024-night.css +20 -20
  23. data/vendor/assets/stylesheets/codemirror/themes/abcdef.css +32 -0
  24. data/vendor/assets/stylesheets/codemirror/themes/ambiance.css +7 -9
  25. data/vendor/assets/stylesheets/codemirror/themes/base16-dark.css +24 -24
  26. data/vendor/assets/stylesheets/codemirror/themes/base16-light.css +24 -24
  27. data/vendor/assets/stylesheets/codemirror/themes/blackboard.css +5 -5
  28. data/vendor/assets/stylesheets/codemirror/themes/cobalt.css +4 -4
  29. data/vendor/assets/stylesheets/codemirror/themes/colorforth.css +3 -3
  30. data/vendor/assets/stylesheets/codemirror/themes/dracula.css +25 -71
  31. data/vendor/assets/stylesheets/codemirror/themes/eclipse.css +21 -21
  32. data/vendor/assets/stylesheets/codemirror/themes/elegant.css +12 -12
  33. data/vendor/assets/stylesheets/codemirror/themes/erlang-dark.css +4 -4
  34. data/vendor/assets/stylesheets/codemirror/themes/icecoder.css +29 -29
  35. data/vendor/assets/stylesheets/codemirror/themes/lesser-dark.css +14 -14
  36. data/vendor/assets/stylesheets/codemirror/themes/liquibyte.css +5 -5
  37. data/vendor/assets/stylesheets/codemirror/themes/material.css +28 -80
  38. data/vendor/assets/stylesheets/codemirror/themes/mbo.css +23 -23
  39. data/vendor/assets/stylesheets/codemirror/themes/mdn-like.css +6 -6
  40. data/vendor/assets/stylesheets/codemirror/themes/midnight.css +22 -24
  41. data/vendor/assets/stylesheets/codemirror/themes/monokai.css +21 -21
  42. data/vendor/assets/stylesheets/codemirror/themes/neat.css +3 -3
  43. data/vendor/assets/stylesheets/codemirror/themes/neo.css +7 -7
  44. data/vendor/assets/stylesheets/codemirror/themes/night.css +4 -4
  45. data/vendor/assets/stylesheets/codemirror/themes/paraiso-dark.css +24 -24
  46. data/vendor/assets/stylesheets/codemirror/themes/paraiso-light.css +24 -24
  47. data/vendor/assets/stylesheets/codemirror/themes/pastel-on-dark.css +3 -3
  48. data/vendor/assets/stylesheets/codemirror/themes/rubyblue.css +3 -3
  49. data/vendor/assets/stylesheets/codemirror/themes/seti.css +25 -69
  50. data/vendor/assets/stylesheets/codemirror/themes/solarized.css +7 -9
  51. data/vendor/assets/stylesheets/codemirror/themes/the-matrix.css +21 -21
  52. data/vendor/assets/stylesheets/codemirror/themes/tomorrow-night-bright.css +24 -24
  53. data/vendor/assets/stylesheets/codemirror/themes/tomorrow-night-eighties.css +24 -24
  54. data/vendor/assets/stylesheets/codemirror/themes/ttcn.css +45 -46
  55. data/vendor/assets/stylesheets/codemirror/themes/twilight.css +7 -7
  56. data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +9 -9
  57. data/vendor/assets/stylesheets/codemirror/themes/xq-dark.css +20 -20
  58. data/vendor/assets/stylesheets/codemirror/themes/xq-light.css +18 -18
  59. data/vendor/assets/stylesheets/codemirror/themes/yeti.css +24 -66
  60. data/vendor/assets/stylesheets/codemirror/themes/zenburn.css +3 -3
  61. metadata +5 -2
@@ -20,24 +20,24 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
21
  THE SOFTWARE.
22
22
  */
23
- .cm-s-xq-light span.cm-keyword {line-height: 1em; font-weight: bold; color: #5A5CAD; }
24
- .cm-s-xq-light span.cm-atom {color: #6C8CD5;}
25
- .cm-s-xq-light span.cm-number {color: #164;}
26
- .cm-s-xq-light span.cm-def {text-decoration:underline;}
27
- .cm-s-xq-light span.cm-variable {color: black; }
28
- .cm-s-xq-light span.cm-variable-2 {color:black;}
29
- .cm-s-xq-light span.cm-variable-3 {color: black; }
23
+ .cm-s-xq-light span.cm-keyword { line-height: 1em; font-weight: bold; color: #5A5CAD; }
24
+ .cm-s-xq-light span.cm-atom { color: #6C8CD5; }
25
+ .cm-s-xq-light span.cm-number { color: #164; }
26
+ .cm-s-xq-light span.cm-def { text-decoration:underline; }
27
+ .cm-s-xq-light span.cm-variable { color: black; }
28
+ .cm-s-xq-light span.cm-variable-2 { color:black; }
29
+ .cm-s-xq-light span.cm-variable-3 { color: black; }
30
30
  .cm-s-xq-light span.cm-property {}
31
31
  .cm-s-xq-light span.cm-operator {}
32
- .cm-s-xq-light span.cm-comment {color: #0080FF; font-style: italic;}
33
- .cm-s-xq-light span.cm-string {color: red;}
34
- .cm-s-xq-light span.cm-meta {color: yellow;}
35
- .cm-s-xq-light span.cm-qualifier {color: grey}
36
- .cm-s-xq-light span.cm-builtin {color: #7EA656;}
37
- .cm-s-xq-light span.cm-bracket {color: #cc7;}
38
- .cm-s-xq-light span.cm-tag {color: #3F7F7F;}
39
- .cm-s-xq-light span.cm-attribute {color: #7F007F;}
40
- .cm-s-xq-light span.cm-error {color: #f00;}
32
+ .cm-s-xq-light span.cm-comment { color: #0080FF; font-style: italic; }
33
+ .cm-s-xq-light span.cm-string { color: red; }
34
+ .cm-s-xq-light span.cm-meta { color: yellow; }
35
+ .cm-s-xq-light span.cm-qualifier { color: grey; }
36
+ .cm-s-xq-light span.cm-builtin { color: #7EA656; }
37
+ .cm-s-xq-light span.cm-bracket { color: #cc7; }
38
+ .cm-s-xq-light span.cm-tag { color: #3F7F7F; }
39
+ .cm-s-xq-light span.cm-attribute { color: #7F007F; }
40
+ .cm-s-xq-light span.cm-error { color: #f00; }
41
41
 
42
- .cm-s-xq-light .CodeMirror-activeline-background {background: #e8f2ff !important;}
43
- .cm-s-xq-light .CodeMirror-matchingbracket {outline:1px solid grey;color:black !important;background:yellow;}
42
+ .cm-s-xq-light .CodeMirror-activeline-background { background: #e8f2ff; }
43
+ .cm-s-xq-light .CodeMirror-matchingbracket { outline:1px solid grey;color:black !important;background:yellow; }
@@ -14,73 +14,31 @@
14
14
  border: none;
15
15
  }
16
16
 
17
- .cm-s-yeti .CodeMirror-gutters{
17
+ .cm-s-yeti .CodeMirror-gutters {
18
18
  color: #adaba6;
19
19
  background-color: #E5E1DB;
20
20
  border: none;
21
21
  }
22
- .cm-s-yeti .CodeMirror-cursor {
23
- border-left: solid thin #d1c9c0 !important;
24
- }
25
- .cm-s-yeti .CodeMirror-linenumber {
26
- color: #adaba6;
27
- }
28
- .cm-s-yeti.CodeMirror-focused .CodeMirror-selected {
29
- background: #DCD8D2;
30
- }
31
- .cm-s-yeti .CodeMirror-line::selection, .cm-s-yeti .CodeMirror-line > span::selection, .cm-s-yeti .CodeMirror-line > span > span::selection {
32
- background: #DCD8D2;
33
- }
34
- .cm-s-yeti .CodeMirror-line::-moz-selection, .cm-s-yeti .CodeMirror-line > span::-moz-selection, .cm-s-yeti .CodeMirror-line > span > span::-moz-selection {
35
- background: #DCD8D2;
36
- }
37
- .cm-s-yeti span.cm-comment {
38
- color: #d4c8be;
39
- }
40
- .cm-s-yeti span.cm-string, .cm-s-yeti span.cm-string-2 {
41
- color: #96c0d8;
42
- }
43
- .cm-s-yeti span.cm-number {
44
- color: #a074c4;
45
- }
46
- .cm-s-yeti span.cm-variable {
47
- color: #55b5db;
48
- }
49
- .cm-s-yeti span.cm-variable-2 {
50
- color: #a074c4;
51
- }
52
- .cm-s-yeti span.cm-def {
53
- color: #55b5db;
54
- }
55
- .cm-s-yeti span.cm-operator {
56
- color: #9fb96e;
57
- }
58
- .cm-s-yeti span.cm-keyword {
59
- color: #9fb96e;
60
- }
61
- .cm-s-yeti span.cm-atom {
62
- color:##a074c4;
63
- }
64
- .cm-s-yeti span.cm-meta {
65
- color: #96c0d8;
66
- }
67
- .cm-s-yeti span.cm-tag {
68
- color: #96c0d8;
69
- }
70
- .cm-s-yeti span.cm-attribute {
71
- color: #9fb96e;
72
- }
73
- .cm-s-yeti span.cm-qualifier {
74
- color: #96c0d8;
75
- }
76
- .cm-s-yeti span.cm-property {
77
- color: #a074c4;
78
- }
79
- .cm-s-yeti span.cm-builtin {
80
- color: #a074c4;
81
- }
82
- .cm-s-yeti span.cm-variable-3 {
83
- color: #96c0d8;
84
- }
85
- .cm-s-yeti .CodeMirror-activeline-background {background: #E7E4E0 !important;}
86
- .cm-s-yeti .CodeMirror-matchingbracket { text-decoration: underline;}
22
+ .cm-s-yeti .CodeMirror-cursor { border-left: solid thin #d1c9c0; }
23
+ .cm-s-yeti .CodeMirror-linenumber { color: #adaba6; }
24
+ .cm-s-yeti.CodeMirror-focused div.CodeMirror-selected { background: #DCD8D2; }
25
+ .cm-s-yeti .CodeMirror-line::selection, .cm-s-yeti .CodeMirror-line > span::selection, .cm-s-yeti .CodeMirror-line > span > span::selection { background: #DCD8D2; }
26
+ .cm-s-yeti .CodeMirror-line::-moz-selection, .cm-s-yeti .CodeMirror-line > span::-moz-selection, .cm-s-yeti .CodeMirror-line > span > span::-moz-selection { background: #DCD8D2; }
27
+ .cm-s-yeti span.cm-comment { color: #d4c8be; }
28
+ .cm-s-yeti span.cm-string, .cm-s-yeti span.cm-string-2 { color: #96c0d8; }
29
+ .cm-s-yeti span.cm-number { color: #a074c4; }
30
+ .cm-s-yeti span.cm-variable { color: #55b5db; }
31
+ .cm-s-yeti span.cm-variable-2 { color: #a074c4; }
32
+ .cm-s-yeti span.cm-def { color: #55b5db; }
33
+ .cm-s-yeti span.cm-operator { color: #9fb96e; }
34
+ .cm-s-yeti span.cm-keyword { color: #9fb96e; }
35
+ .cm-s-yeti span.cm-atom { color: #a074c4; }
36
+ .cm-s-yeti span.cm-meta { color: #96c0d8; }
37
+ .cm-s-yeti span.cm-tag { color: #96c0d8; }
38
+ .cm-s-yeti span.cm-attribute { color: #9fb96e; }
39
+ .cm-s-yeti span.cm-qualifier { color: #96c0d8; }
40
+ .cm-s-yeti span.cm-property { color: #a074c4; }
41
+ .cm-s-yeti span.cm-builtin { color: #a074c4; }
42
+ .cm-s-yeti span.cm-variable-3 { color: #96c0d8; }
43
+ .cm-s-yeti .CodeMirror-activeline-background { background: #E7E4E0; }
44
+ .cm-s-yeti .CodeMirror-matchingbracket { text-decoration: underline; }
@@ -10,7 +10,7 @@
10
10
 
11
11
  .cm-s-zenburn .CodeMirror-gutters { background: #3f3f3f !important; }
12
12
  .cm-s-zenburn .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { color: #999; }
13
- .cm-s-zenburn .CodeMirror-cursor { border-left: 1px solid white !important; }
13
+ .cm-s-zenburn .CodeMirror-cursor { border-left: 1px solid white; }
14
14
  .cm-s-zenburn { background-color: #3f3f3f; color: #dcdccc; }
15
15
  .cm-s-zenburn span.cm-builtin { color: #dcdccc; font-weight: bold; }
16
16
  .cm-s-zenburn span.cm-comment { color: #7f9f7f; }
@@ -33,5 +33,5 @@
33
33
  .cm-s-zenburn span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; }
34
34
  .cm-s-zenburn .CodeMirror-activeline { background: #000000; }
35
35
  .cm-s-zenburn .CodeMirror-activeline-background { background: #000000; }
36
- .cm-s-zenburn .CodeMirror-selected { background: #545454; }
37
- .cm-s-zenburn .CodeMirror-focused .CodeMirror-selected { background: #4f4f4f; }
36
+ .cm-s-zenburn div.CodeMirror-selected { background: #545454; }
37
+ .cm-s-zenburn .CodeMirror-focused div.CodeMirror-selected { background: #4f4f4f; }
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: '5.5'
4
+ version: '5.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Fixler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -212,6 +212,7 @@ files:
212
212
  - vendor/assets/javascripts/codemirror/addons/comment/comment.js
213
213
  - vendor/assets/javascripts/codemirror/addons/comment/continuecomment.js
214
214
  - vendor/assets/javascripts/codemirror/addons/dialog/dialog.js
215
+ - vendor/assets/javascripts/codemirror/addons/display/autorefresh.js
215
216
  - vendor/assets/javascripts/codemirror/addons/display/fullscreen.js
216
217
  - vendor/assets/javascripts/codemirror/addons/display/panel.js
217
218
  - vendor/assets/javascripts/codemirror/addons/display/placeholder.js
@@ -238,6 +239,7 @@ files:
238
239
  - vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js
239
240
  - vendor/assets/javascripts/codemirror/addons/lint/coffeescript-lint.js
240
241
  - vendor/assets/javascripts/codemirror/addons/lint/css-lint.js
242
+ - vendor/assets/javascripts/codemirror/addons/lint/html-lint.js
241
243
  - vendor/assets/javascripts/codemirror/addons/lint/javascript-lint.js
242
244
  - vendor/assets/javascripts/codemirror/addons/lint/json-lint.js
243
245
  - vendor/assets/javascripts/codemirror/addons/lint/lint.js
@@ -387,6 +389,7 @@ files:
387
389
  - vendor/assets/stylesheets/codemirror/modes/tiki.css
388
390
  - vendor/assets/stylesheets/codemirror/themes/3024-day.css
389
391
  - vendor/assets/stylesheets/codemirror/themes/3024-night.css
392
+ - vendor/assets/stylesheets/codemirror/themes/abcdef.css
390
393
  - vendor/assets/stylesheets/codemirror/themes/ambiance-mobile.css
391
394
  - vendor/assets/stylesheets/codemirror/themes/ambiance.css
392
395
  - vendor/assets/stylesheets/codemirror/themes/base16-dark.css