codemirror-rails 2.24 → 2.32
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +19 -0
- data/codemirror-rails.gemspec +6 -1
- data/lib/codemirror/rails/version.rb +2 -2
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.gitkeep +0 -0
- data/test/dummy/app/models/.gitkeep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +56 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/lib/assets/.gitkeep +0 -0
- data/test/dummy/log/.gitkeep +0 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/integration/codemirror_rails_integration_test.rb +13 -0
- data/test/test_helper.rb +13 -0
- data/vendor/assets/javascripts/codemirror.js +381 -197
- data/vendor/assets/javascripts/codemirror/keymaps/emacs.js +1 -1
- data/vendor/assets/javascripts/codemirror/keymaps/vim.js +649 -94
- data/vendor/assets/javascripts/codemirror/modes/clike.js +53 -7
- data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +12 -7
- data/vendor/assets/javascripts/codemirror/modes/diff.js +24 -5
- data/vendor/assets/javascripts/codemirror/modes/ecl.js +2 -2
- data/vendor/assets/javascripts/codemirror/modes/erlang.js +463 -0
- data/vendor/assets/javascripts/codemirror/modes/gfm.js +38 -2
- data/vendor/assets/javascripts/codemirror/modes/go.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/groovy.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/haxe.js +432 -0
- data/vendor/assets/javascripts/codemirror/modes/javascript.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/less.js +93 -93
- data/vendor/assets/javascripts/codemirror/modes/markdown.js +29 -6
- data/vendor/assets/javascripts/codemirror/modes/mysql.js +6 -8
- data/vendor/assets/javascripts/codemirror/modes/ocaml.js +114 -0
- data/vendor/assets/javascripts/codemirror/modes/pascal.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/pig.js +2 -2
- data/vendor/assets/javascripts/codemirror/modes/plsql.js +2 -2
- data/vendor/assets/javascripts/codemirror/modes/python.js +13 -16
- data/vendor/assets/javascripts/codemirror/modes/ruby.js +3 -8
- data/vendor/assets/javascripts/codemirror/modes/scheme.js +74 -46
- data/vendor/assets/javascripts/codemirror/modes/shell.js +22 -7
- data/vendor/assets/javascripts/codemirror/modes/stex.js +7 -5
- data/vendor/assets/javascripts/codemirror/modes/tiddlywiki.js +14 -14
- data/vendor/assets/javascripts/codemirror/modes/vb.js +260 -0
- data/vendor/assets/javascripts/codemirror/modes/verilog.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/xml.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/xquery.js +3 -3
- data/vendor/assets/javascripts/codemirror/utils/closetag.js +24 -34
- data/vendor/assets/javascripts/codemirror/utils/dialog.js +5 -1
- data/vendor/assets/javascripts/codemirror/utils/foldcode.js +10 -5
- data/vendor/assets/javascripts/codemirror/utils/formatting.js +8 -3
- data/vendor/assets/javascripts/codemirror/utils/loadmode.js +2 -1
- data/vendor/assets/javascripts/codemirror/utils/match-highlighter.js +1 -1
- data/vendor/assets/javascripts/codemirror/utils/multiplex.js +81 -0
- data/vendor/assets/javascripts/codemirror/utils/overlay.js +2 -1
- data/vendor/assets/javascripts/codemirror/utils/pig-hint.js +123 -0
- data/vendor/assets/javascripts/codemirror/utils/search.js +16 -12
- data/vendor/assets/javascripts/codemirror/utils/searchcursor.js +1 -1
- data/vendor/assets/javascripts/codemirror/utils/simple-hint.js +4 -0
- data/vendor/assets/javascripts/codemirror/utils/xml-hint.js +137 -0
- data/vendor/assets/stylesheets/codemirror.css +59 -4
- data/vendor/assets/stylesheets/codemirror/modes/tiddlywiki.css +14 -21
- data/vendor/assets/stylesheets/codemirror/themes/ambiance.css +1 -2
- data/vendor/assets/stylesheets/codemirror/themes/erlang-dark.css +21 -0
- data/vendor/assets/stylesheets/codemirror/themes/lesser-dark.css +2 -3
- data/vendor/assets/stylesheets/codemirror/themes/night.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +27 -0
- data/vendor/assets/stylesheets/codemirror/utils/dialog.css +4 -0
- metadata +98 -5
- data/vendor/assets/javascripts/codemirror/modes/rpm-spec.css +0 -5
@@ -1,10 +1,16 @@
|
|
1
1
|
.CodeMirror {
|
2
2
|
line-height: 1em;
|
3
3
|
font-family: monospace;
|
4
|
+
|
5
|
+
/* Necessary so the scrollbar can be absolutely positioned within the wrapper on Lion. */
|
6
|
+
position: relative;
|
7
|
+
/* This prevents unwanted scrollbars from showing up on the body and wrapper in IE. */
|
8
|
+
overflow: hidden;
|
4
9
|
}
|
5
10
|
|
6
11
|
.CodeMirror-scroll {
|
7
|
-
overflow: auto;
|
12
|
+
overflow-x: auto;
|
13
|
+
overflow-y: hidden;
|
8
14
|
height: 300px;
|
9
15
|
/* This is needed to prevent an IE[67] bug where the scrolled content
|
10
16
|
is visible outside of the scrolling box. */
|
@@ -12,6 +18,37 @@
|
|
12
18
|
outline: none;
|
13
19
|
}
|
14
20
|
|
21
|
+
/* Vertical scrollbar */
|
22
|
+
.CodeMirror-scrollbar {
|
23
|
+
float: right;
|
24
|
+
overflow-x: hidden;
|
25
|
+
overflow-y: scroll;
|
26
|
+
|
27
|
+
/* This corrects for the 1px gap introduced to the left of the scrollbar
|
28
|
+
by the rule for .CodeMirror-scrollbar-inner. */
|
29
|
+
margin-left: -1px;
|
30
|
+
}
|
31
|
+
.CodeMirror-scrollbar-inner {
|
32
|
+
/* This needs to have a nonzero width in order for the scrollbar to appear
|
33
|
+
in Firefox and IE9. */
|
34
|
+
width: 1px;
|
35
|
+
}
|
36
|
+
.CodeMirror-scrollbar.cm-sb-overlap {
|
37
|
+
/* Ensure that the scrollbar appears in Lion, and that it overlaps the content
|
38
|
+
rather than sitting to the right of it. */
|
39
|
+
position: absolute;
|
40
|
+
z-index: 1;
|
41
|
+
float: none;
|
42
|
+
right: 0;
|
43
|
+
min-width: 12px;
|
44
|
+
}
|
45
|
+
.CodeMirror-scrollbar.cm-sb-nonoverlap {
|
46
|
+
min-width: 12px;
|
47
|
+
}
|
48
|
+
.CodeMirror-scrollbar.cm-sb-ie7 {
|
49
|
+
min-width: 18px;
|
50
|
+
}
|
51
|
+
|
15
52
|
.CodeMirror-gutter {
|
16
53
|
position: absolute; left: 0; top: 0;
|
17
54
|
z-index: 10;
|
@@ -25,10 +62,16 @@
|
|
25
62
|
text-align: right;
|
26
63
|
padding: .4em .2em .4em .4em;
|
27
64
|
white-space: pre !important;
|
65
|
+
cursor: default;
|
28
66
|
}
|
29
67
|
.CodeMirror-lines {
|
30
68
|
padding: .4em;
|
31
69
|
white-space: pre;
|
70
|
+
cursor: text;
|
71
|
+
}
|
72
|
+
.CodeMirror-lines * {
|
73
|
+
/* Necessary for throw-scrolling to decelerate properly on Safari. */
|
74
|
+
pointer-events: none;
|
32
75
|
}
|
33
76
|
|
34
77
|
.CodeMirror pre {
|
@@ -43,6 +86,7 @@
|
|
43
86
|
white-space: pre;
|
44
87
|
word-wrap: normal;
|
45
88
|
line-height: inherit;
|
89
|
+
color: inherit;
|
46
90
|
}
|
47
91
|
|
48
92
|
.CodeMirror-wrap pre {
|
@@ -63,8 +107,19 @@
|
|
63
107
|
position: absolute;
|
64
108
|
visibility: hidden;
|
65
109
|
border-left: 1px solid black;
|
66
|
-
border-right:none;
|
67
|
-
width:0;
|
110
|
+
border-right: none;
|
111
|
+
width: 0;
|
112
|
+
}
|
113
|
+
.cm-keymap-fat-cursor pre.CodeMirror-cursor {
|
114
|
+
width: auto;
|
115
|
+
border: 0;
|
116
|
+
background: transparent;
|
117
|
+
background: rgba(0, 200, 0, .4);
|
118
|
+
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#6600c800, endColorstr=#4c00c800);
|
119
|
+
}
|
120
|
+
/* Kludge to turn off filter in ie9+, which also accepts rgba */
|
121
|
+
.cm-keymap-fat-cursor pre.CodeMirror-cursor:not(#nonsense_id) {
|
122
|
+
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
68
123
|
}
|
69
124
|
.CodeMirror pre.CodeMirror-cursor.CodeMirror-overwrite {}
|
70
125
|
.CodeMirror-focused pre.CodeMirror-cursor {
|
@@ -100,7 +155,7 @@ div.CodeMirror-selected { background: #d9d9d9; }
|
|
100
155
|
.cm-s-default span.cm-bracket {color: #cc7;}
|
101
156
|
.cm-s-default span.cm-tag {color: #170;}
|
102
157
|
.cm-s-default span.cm-attribute {color: #00c;}
|
103
|
-
.cm-s-default span.cm-header {color:
|
158
|
+
.cm-s-default span.cm-header {color: blue;}
|
104
159
|
.cm-s-default span.cm-quote {color: #090;}
|
105
160
|
.cm-s-default span.cm-hr {color: #999;}
|
106
161
|
.cm-s-default span.cm-link {color: #00c;}
|
@@ -1,21 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.cm-s-default span.cm-warning {color: red; font-weight: bold;}
|
16
|
-
|
17
|
-
.cm-s-default span.cm-underlined {text-decoration: underline;}
|
18
|
-
.cm-s-default span.cm-line-through {text-decoration: line-through;}
|
19
|
-
|
20
|
-
.cm-s-default span.cm-comment {color: #666;}
|
21
|
-
|
1
|
+
span.cm-underlined {
|
2
|
+
text-decoration: underline;
|
3
|
+
}
|
4
|
+
span.cm-strikethrough {
|
5
|
+
text-decoration: line-through;
|
6
|
+
}
|
7
|
+
span.cm-brace {
|
8
|
+
color: #170;
|
9
|
+
font-weight: bold;
|
10
|
+
}
|
11
|
+
span.cm-table {
|
12
|
+
color: blue;
|
13
|
+
font-weight: bold;
|
14
|
+
}
|
@@ -21,7 +21,7 @@
|
|
21
21
|
.cm-s-ambiance .cm-bracket { color: #24C2C7; }
|
22
22
|
.cm-s-ambiance .cm-tag { color: #fee4ff }
|
23
23
|
.cm-s-ambiance .cm-attribute { color: #9B859D; }
|
24
|
-
.cm-s-ambiance .cm-header {color:
|
24
|
+
.cm-s-ambiance .cm-header {color: blue;}
|
25
25
|
.cm-s-ambiance .cm-quote { color: #24C2C7; }
|
26
26
|
.cm-s-ambiance .cm-hr { color: pink; }
|
27
27
|
.cm-s-ambiance .cm-link { color: #F4C20B; }
|
@@ -42,7 +42,6 @@
|
|
42
42
|
.cm-s-ambiance {
|
43
43
|
line-height: 1.40em;
|
44
44
|
font-family: Monaco, Menlo,"Andale Mono","lucida console","Courier New",monospace !important;
|
45
|
-
font-size: 12px;
|
46
45
|
color: #E6E1DC;
|
47
46
|
background-color: #202020;
|
48
47
|
-webkit-box-shadow: inset 0 0 10px black;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.cm-s-erlang-dark { background: #002240; color: white; }
|
2
|
+
.cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; }
|
3
|
+
.cm-s-erlang-dark .CodeMirror-gutter { background: #002240; border-right: 1px solid #aaa; }
|
4
|
+
.cm-s-erlang-dark .CodeMirror-gutter-text { color: #d0d0d0; }
|
5
|
+
.cm-s-erlang-dark .CodeMirror-cursor { border-left: 1px solid white !important; }
|
6
|
+
|
7
|
+
.cm-s-erlang-dark span.cm-atom { color: #845dc4; }
|
8
|
+
.cm-s-erlang-dark span.cm-attribute { color: #ff80e1; }
|
9
|
+
.cm-s-erlang-dark span.cm-bracket { color: #ff9d00; }
|
10
|
+
.cm-s-erlang-dark span.cm-builtin { color: #eeaaaa; }
|
11
|
+
.cm-s-erlang-dark span.cm-comment { color: #7777ff; }
|
12
|
+
.cm-s-erlang-dark span.cm-def { color: #ee77aa; }
|
13
|
+
.cm-s-erlang-dark span.cm-error { color: #9d1e15; }
|
14
|
+
.cm-s-erlang-dark span.cm-keyword { color: #ffee80; }
|
15
|
+
.cm-s-erlang-dark span.cm-meta { color: #50fefe; }
|
16
|
+
.cm-s-erlang-dark span.cm-number { color: #ffd0d0; }
|
17
|
+
.cm-s-erlang-dark span.cm-operator { color: #dd1111; }
|
18
|
+
.cm-s-erlang-dark span.cm-string { color: #3ad900; }
|
19
|
+
.cm-s-erlang-dark span.cm-tag { color: #9effff; }
|
20
|
+
.cm-s-erlang-dark span.cm-variable { color: #50fe50; }
|
21
|
+
.cm-s-erlang-dark span.cm-variable-2 { color: #ee00ee; }
|
@@ -2,12 +2,11 @@
|
|
2
2
|
http://lesscss.org/ dark theme
|
3
3
|
Ported to CodeMirror by Peter Kroon
|
4
4
|
*/
|
5
|
-
.
|
6
|
-
line-height:
|
5
|
+
.cm-s-lesser-dark {
|
6
|
+
line-height: 1.3em;
|
7
7
|
}
|
8
8
|
.cm-s-lesser-dark {
|
9
9
|
font-family: 'Bitstream Vera Sans Mono', 'DejaVu Sans Mono', 'Monaco', Courier, monospace !important;
|
10
|
-
font-size:12px;
|
11
10
|
}
|
12
11
|
|
13
12
|
.cm-s-lesser-dark { background: #262626; color: #EBEFE7; text-shadow: 0 -1px 1px #262626; }
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* Loosely based on the Midnight Textmate theme */
|
2
2
|
|
3
3
|
.cm-s-night { background: #0a001f; color: #f8f8f8; }
|
4
|
-
.cm-s-night div.CodeMirror-selected { background: #
|
4
|
+
.cm-s-night div.CodeMirror-selected { background: #447 !important; }
|
5
5
|
.cm-s-night .CodeMirror-gutter { background: #0a001f; border-right: 1px solid #aaa; }
|
6
6
|
.cm-s-night .CodeMirror-gutter-text { color: #f8f8f8; }
|
7
7
|
.cm-s-night .CodeMirror-cursor { border-left: 1px solid white !important; }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/* Taken from the popular Visual Studio Vibrant Ink Schema */
|
2
|
+
|
3
|
+
.cm-s-vibrant-ink { background: black; color: white; }
|
4
|
+
.cm-s-vibrant-ink .CodeMirror-selected { background: #35493c !important; }
|
5
|
+
|
6
|
+
.cm-s-vibrant-ink .CodeMirror-gutter { background: #002240; border-right: 1px solid #aaa; }
|
7
|
+
.cm-s-vibrant-ink .CodeMirror-gutter-text { color: #d0d0d0; }
|
8
|
+
.cm-s-vibrant-ink .CodeMirror-cursor { border-left: 1px solid white !important; }
|
9
|
+
|
10
|
+
.cm-s-vibrant-ink .cm-keyword { color: #CC7832; }
|
11
|
+
.cm-s-vibrant-ink .cm-atom { color: #FC0; }
|
12
|
+
.cm-s-vibrant-ink .cm-number { color: #FFEE98; }
|
13
|
+
.cm-s-vibrant-ink .cm-def { color: #8DA6CE; }
|
14
|
+
.cm-s-vibrant-ink span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #FFC66D }
|
15
|
+
.cm-s-vibrant-ink span.cm-variable-3, .cm-s-cobalt span.cm-def { color: #FFC66D }
|
16
|
+
.cm-s-vibrant-ink .cm-operator { color: #888; }
|
17
|
+
.cm-s-vibrant-ink .cm-comment { color: gray; font-weight: bold; }
|
18
|
+
.cm-s-vibrant-ink .cm-string { color: #A5C25C }
|
19
|
+
.cm-s-vibrant-ink .cm-string-2 { color: red }
|
20
|
+
.cm-s-vibrant-ink .cm-meta { color: #D8FA3C; }
|
21
|
+
.cm-s-vibrant-ink .cm-error { border-bottom: 1px solid red; }
|
22
|
+
.cm-s-vibrant-ink .cm-builtin { color: #8DA6CE; }
|
23
|
+
.cm-s-vibrant-ink .cm-tag { color: #8DA6CE; }
|
24
|
+
.cm-s-vibrant-ink .cm-attribute { color: #8DA6CE; }
|
25
|
+
.cm-s-vibrant-ink .cm-header { color: #FF6400; }
|
26
|
+
.cm-s-vibrant-ink .cm-hr { color: #AEAEAE; }
|
27
|
+
.cm-s-vibrant-ink .cm-link { color: blue; }
|
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codemirror-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.32'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Nathan Fixler
|
9
|
+
- Robin Bühler
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2012-
|
13
|
+
date: 2012-07-24 00:00:00.000000000Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: railties
|
16
|
-
requirement: &
|
17
|
+
requirement: &2156136620 !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
19
|
requirements:
|
19
20
|
- - ~>
|
@@ -21,7 +22,51 @@ dependencies:
|
|
21
22
|
version: '3.0'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
+
version_requirements: *2156136620
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rails
|
28
|
+
requirement: &2156135060 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2156135060
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: sqlite3
|
39
|
+
requirement: &2156118340 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :development
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2156118340
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: minitest
|
50
|
+
requirement: &2156117080 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :development
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *2156117080
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: capybara
|
61
|
+
requirement: &2156116060 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
type: :development
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2156116060
|
25
70
|
description: This gem provides CodeMirror assets for your Rails 3 application.
|
26
71
|
email: nathan@fixler.org
|
27
72
|
executables: []
|
@@ -32,6 +77,7 @@ files:
|
|
32
77
|
- Gemfile
|
33
78
|
- LICENSE
|
34
79
|
- README.md
|
80
|
+
- Rakefile
|
35
81
|
- codemirror-rails.gemspec
|
36
82
|
- doc/CodeMirror-LICENSE
|
37
83
|
- lib/codemirror-rails.rb
|
@@ -40,6 +86,45 @@ files:
|
|
40
86
|
- lib/codemirror/rails/railtie.rb
|
41
87
|
- lib/codemirror/rails/version.rb
|
42
88
|
- lib/generators/codemirror/install/install_generator.rb
|
89
|
+
- test/dummy/README.rdoc
|
90
|
+
- test/dummy/Rakefile
|
91
|
+
- test/dummy/app/assets/javascripts/application.js
|
92
|
+
- test/dummy/app/assets/stylesheets/application.css
|
93
|
+
- test/dummy/app/controllers/application_controller.rb
|
94
|
+
- test/dummy/app/helpers/application_helper.rb
|
95
|
+
- test/dummy/app/mailers/.gitkeep
|
96
|
+
- test/dummy/app/models/.gitkeep
|
97
|
+
- test/dummy/app/views/layouts/application.html.erb
|
98
|
+
- test/dummy/config.ru
|
99
|
+
- test/dummy/config/application.rb
|
100
|
+
- test/dummy/config/boot.rb
|
101
|
+
- test/dummy/config/environment.rb
|
102
|
+
- test/dummy/config/environments/development.rb
|
103
|
+
- test/dummy/config/environments/production.rb
|
104
|
+
- test/dummy/config/environments/test.rb
|
105
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
106
|
+
- test/dummy/config/initializers/inflections.rb
|
107
|
+
- test/dummy/config/initializers/mime_types.rb
|
108
|
+
- test/dummy/config/initializers/secret_token.rb
|
109
|
+
- test/dummy/config/initializers/session_store.rb
|
110
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
111
|
+
- test/dummy/config/locales/en.yml
|
112
|
+
- test/dummy/config/routes.rb
|
113
|
+
- test/dummy/lib/assets/.gitkeep
|
114
|
+
- test/dummy/log/.gitkeep
|
115
|
+
- test/dummy/public/404.html
|
116
|
+
- test/dummy/public/422.html
|
117
|
+
- test/dummy/public/500.html
|
118
|
+
- test/dummy/public/favicon.ico
|
119
|
+
- test/dummy/script/rails
|
120
|
+
- test/dummy/tmp/cache/assets/C00/470/sprockets%2Fb33010913381c13a645c6a5123a90327
|
121
|
+
- test/dummy/tmp/cache/assets/CB7/DA0/sprockets%2F08e08431c2f46368eb0718f7cc8c1864
|
122
|
+
- test/dummy/tmp/cache/assets/D0F/6D0/sprockets%2Fdb9fe6d48f8b0201843fb454d078a602
|
123
|
+
- test/dummy/tmp/cache/assets/D13/630/sprockets%2F44e7de890433a3acf03a890335e7ae69
|
124
|
+
- test/dummy/tmp/cache/assets/D1C/3F0/sprockets%2Fd7a79ec5e13783ad8750590f4186ea0f
|
125
|
+
- test/dummy/tmp/cache/assets/D8D/680/sprockets%2Fba7c769ef579c90ea8359b9c591eb5f4
|
126
|
+
- test/integration/codemirror_rails_integration_test.rb
|
127
|
+
- test/test_helper.rb
|
43
128
|
- vendor/assets/javascripts/codemirror.js
|
44
129
|
- vendor/assets/javascripts/codemirror/keymaps/emacs.js
|
45
130
|
- vendor/assets/javascripts/codemirror/keymaps/vim.js
|
@@ -49,10 +134,12 @@ files:
|
|
49
134
|
- vendor/assets/javascripts/codemirror/modes/css.js
|
50
135
|
- vendor/assets/javascripts/codemirror/modes/diff.js
|
51
136
|
- vendor/assets/javascripts/codemirror/modes/ecl.js
|
137
|
+
- vendor/assets/javascripts/codemirror/modes/erlang.js
|
52
138
|
- vendor/assets/javascripts/codemirror/modes/gfm.js
|
53
139
|
- vendor/assets/javascripts/codemirror/modes/go.js
|
54
140
|
- vendor/assets/javascripts/codemirror/modes/groovy.js
|
55
141
|
- vendor/assets/javascripts/codemirror/modes/haskell.js
|
142
|
+
- vendor/assets/javascripts/codemirror/modes/haxe.js
|
56
143
|
- vendor/assets/javascripts/codemirror/modes/htmlembedded.js
|
57
144
|
- vendor/assets/javascripts/codemirror/modes/htmlmixed.js
|
58
145
|
- vendor/assets/javascripts/codemirror/modes/javascript.js
|
@@ -62,6 +149,7 @@ files:
|
|
62
149
|
- vendor/assets/javascripts/codemirror/modes/markdown.js
|
63
150
|
- vendor/assets/javascripts/codemirror/modes/mysql.js
|
64
151
|
- vendor/assets/javascripts/codemirror/modes/ntriples.js
|
152
|
+
- vendor/assets/javascripts/codemirror/modes/ocaml.js
|
65
153
|
- vendor/assets/javascripts/codemirror/modes/pascal.js
|
66
154
|
- vendor/assets/javascripts/codemirror/modes/perl.js
|
67
155
|
- vendor/assets/javascripts/codemirror/modes/php.js
|
@@ -71,7 +159,6 @@ files:
|
|
71
159
|
- vendor/assets/javascripts/codemirror/modes/python.js
|
72
160
|
- vendor/assets/javascripts/codemirror/modes/r.js
|
73
161
|
- vendor/assets/javascripts/codemirror/modes/rpm-changes.js
|
74
|
-
- vendor/assets/javascripts/codemirror/modes/rpm-spec.css
|
75
162
|
- vendor/assets/javascripts/codemirror/modes/rpm-spec.js
|
76
163
|
- vendor/assets/javascripts/codemirror/modes/rst.js
|
77
164
|
- vendor/assets/javascripts/codemirror/modes/ruby.js
|
@@ -84,6 +171,7 @@ files:
|
|
84
171
|
- vendor/assets/javascripts/codemirror/modes/stex.js
|
85
172
|
- vendor/assets/javascripts/codemirror/modes/tiddlywiki.js
|
86
173
|
- vendor/assets/javascripts/codemirror/modes/tiki.js
|
174
|
+
- vendor/assets/javascripts/codemirror/modes/vb.js
|
87
175
|
- vendor/assets/javascripts/codemirror/modes/vbscript.js
|
88
176
|
- vendor/assets/javascripts/codemirror/modes/velocity.js
|
89
177
|
- vendor/assets/javascripts/codemirror/modes/verilog.js
|
@@ -98,11 +186,14 @@ files:
|
|
98
186
|
- vendor/assets/javascripts/codemirror/utils/javascript-hint.js
|
99
187
|
- vendor/assets/javascripts/codemirror/utils/loadmode.js
|
100
188
|
- vendor/assets/javascripts/codemirror/utils/match-highlighter.js
|
189
|
+
- vendor/assets/javascripts/codemirror/utils/multiplex.js
|
101
190
|
- vendor/assets/javascripts/codemirror/utils/overlay.js
|
191
|
+
- vendor/assets/javascripts/codemirror/utils/pig-hint.js
|
102
192
|
- vendor/assets/javascripts/codemirror/utils/runmode.js
|
103
193
|
- vendor/assets/javascripts/codemirror/utils/search.js
|
104
194
|
- vendor/assets/javascripts/codemirror/utils/searchcursor.js
|
105
195
|
- vendor/assets/javascripts/codemirror/utils/simple-hint.js
|
196
|
+
- vendor/assets/javascripts/codemirror/utils/xml-hint.js
|
106
197
|
- vendor/assets/stylesheets/codemirror.css
|
107
198
|
- vendor/assets/stylesheets/codemirror/modes/diff.css
|
108
199
|
- vendor/assets/stylesheets/codemirror/modes/rpm-spec.css
|
@@ -113,11 +204,13 @@ files:
|
|
113
204
|
- vendor/assets/stylesheets/codemirror/themes/cobalt.css
|
114
205
|
- vendor/assets/stylesheets/codemirror/themes/eclipse.css
|
115
206
|
- vendor/assets/stylesheets/codemirror/themes/elegant.css
|
207
|
+
- vendor/assets/stylesheets/codemirror/themes/erlang-dark.css
|
116
208
|
- vendor/assets/stylesheets/codemirror/themes/lesser-dark.css
|
117
209
|
- vendor/assets/stylesheets/codemirror/themes/monokai.css
|
118
210
|
- vendor/assets/stylesheets/codemirror/themes/neat.css
|
119
211
|
- vendor/assets/stylesheets/codemirror/themes/night.css
|
120
212
|
- vendor/assets/stylesheets/codemirror/themes/rubyblue.css
|
213
|
+
- vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css
|
121
214
|
- vendor/assets/stylesheets/codemirror/themes/xq-dark.css
|
122
215
|
- vendor/assets/stylesheets/codemirror/utils/dialog.css
|
123
216
|
- vendor/assets/stylesheets/codemirror/utils/simple-hint.css
|
@@ -1,5 +0,0 @@
|
|
1
|
-
.cm-s-default span.cm-preamble {color: #b26818; font-weight: bold;}
|
2
|
-
.cm-s-default span.cm-macro {color: #b218b2;}
|
3
|
-
.cm-s-default span.cm-section {color: green; font-weight: bold;}
|
4
|
-
.cm-s-default span.cm-script {color: red;}
|
5
|
-
.cm-s-default span.cm-issue {color: yellow;}
|