ace-rails-ap 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (167) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -1
  3. data/lib/ace/rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/ace/ace.js +6911 -5290
  5. data/vendor/assets/javascripts/ace/ext-chromevox.js +537 -0
  6. data/vendor/assets/javascripts/ace/ext-elastic_tabstops_lite.js +301 -0
  7. data/vendor/assets/javascripts/ace/ext-emmet.js +1109 -0
  8. data/vendor/assets/javascripts/ace/ext-keybinding_menu.js +207 -0
  9. data/vendor/assets/javascripts/ace/ext-language_tools.js +1665 -0
  10. data/vendor/assets/javascripts/ace/ext-modelist.js +168 -0
  11. data/vendor/assets/javascripts/ace/ext-old_ie.js +500 -0
  12. data/vendor/assets/javascripts/ace/ext-options.js +252 -0
  13. data/vendor/assets/javascripts/ace/ext-searchbox.js +421 -0
  14. data/vendor/assets/javascripts/ace/ext-settings_menu.js +632 -0
  15. data/vendor/assets/javascripts/ace/ext-spellcheck.js +68 -0
  16. data/vendor/assets/javascripts/ace/ext-split.js +271 -0
  17. data/vendor/assets/javascripts/ace/ext-static_highlight.js +178 -0
  18. data/vendor/assets/javascripts/ace/ext-statusbar.js +47 -0
  19. data/vendor/assets/javascripts/ace/ext-textarea.js +478 -0
  20. data/vendor/assets/javascripts/ace/ext-themelist.js +86 -0
  21. data/vendor/assets/javascripts/ace/ext-whitespace.js +206 -0
  22. data/vendor/assets/javascripts/ace/keybinding-emacs.js +822 -131
  23. data/vendor/assets/javascripts/ace/keybinding-vim.js +382 -258
  24. data/vendor/assets/javascripts/ace/mode-abap.js +261 -0
  25. data/vendor/assets/javascripts/ace/mode-actionscript.js +257 -0
  26. data/vendor/assets/javascripts/ace/mode-ada.js +118 -0
  27. data/vendor/assets/javascripts/ace/mode-asciidoc.js +373 -0
  28. data/vendor/assets/javascripts/ace/mode-assembly_x86.js +217 -0
  29. data/vendor/assets/javascripts/ace/mode-autohotkey.js +225 -0
  30. data/vendor/assets/javascripts/ace/mode-batchfile.js +213 -0
  31. data/vendor/assets/javascripts/ace/mode-c9search.js +144 -124
  32. data/vendor/assets/javascripts/ace/mode-c_cpp.js +296 -254
  33. data/vendor/assets/javascripts/ace/mode-clojure.js +113 -177
  34. data/vendor/assets/javascripts/ace/mode-cobol.js +125 -0
  35. data/vendor/assets/javascripts/ace/mode-coffee.js +152 -235
  36. data/vendor/assets/javascripts/ace/mode-coldfusion.js +823 -835
  37. data/vendor/assets/javascripts/ace/mode-csharp.js +325 -187
  38. data/vendor/assets/javascripts/ace/mode-css.js +583 -297
  39. data/vendor/assets/javascripts/ace/mode-curly.js +2423 -0
  40. data/vendor/assets/javascripts/ace/mode-d.js +492 -0
  41. data/vendor/assets/javascripts/ace/mode-dart.js +993 -0
  42. data/vendor/assets/javascripts/ace/mode-diff.js +124 -204
  43. data/vendor/assets/javascripts/ace/mode-django.js +2448 -0
  44. data/vendor/assets/javascripts/ace/mode-dot.js +361 -0
  45. data/vendor/assets/javascripts/ace/mode-ejs.js +2817 -0
  46. data/vendor/assets/javascripts/ace/mode-erlang.js +987 -0
  47. data/vendor/assets/javascripts/ace/mode-forth.js +280 -0
  48. data/vendor/assets/javascripts/ace/mode-ftl.js +1061 -0
  49. data/vendor/assets/javascripts/ace/mode-glsl.js +313 -275
  50. data/vendor/assets/javascripts/ace/mode-golang.js +268 -275
  51. data/vendor/assets/javascripts/ace/mode-groovy.js +347 -492
  52. data/vendor/assets/javascripts/ace/mode-haml.js +498 -0
  53. data/vendor/assets/javascripts/ace/mode-handlebars.js +2433 -0
  54. data/vendor/assets/javascripts/ace/mode-haskell.js +362 -0
  55. data/vendor/assets/javascripts/ace/mode-haxe.js +226 -202
  56. data/vendor/assets/javascripts/ace/mode-html.js +1099 -802
  57. data/vendor/assets/javascripts/ace/mode-html_completions.js +309 -0
  58. data/vendor/assets/javascripts/ace/mode-html_ruby.js +2822 -0
  59. data/vendor/assets/javascripts/ace/mode-ini.js +185 -0
  60. data/vendor/assets/javascripts/ace/mode-jack.js +653 -0
  61. data/vendor/assets/javascripts/ace/mode-jade.js +2081 -0
  62. data/vendor/assets/javascripts/ace/mode-java.js +339 -488
  63. data/vendor/assets/javascripts/ace/mode-javascript.js +342 -478
  64. data/vendor/assets/javascripts/ace/mode-json.js +215 -178
  65. data/vendor/assets/javascripts/ace/mode-jsoniq.js +2761 -0
  66. data/vendor/assets/javascripts/ace/mode-jsp.js +1553 -0
  67. data/vendor/assets/javascripts/ace/mode-jsx.js +325 -289
  68. data/vendor/assets/javascripts/ace/mode-julia.js +286 -0
  69. data/vendor/assets/javascripts/ace/mode-latex.js +141 -46
  70. data/vendor/assets/javascripts/ace/mode-less.js +493 -151
  71. data/vendor/assets/javascripts/ace/mode-liquid.js +594 -656
  72. data/vendor/assets/javascripts/ace/mode-lisp.js +137 -0
  73. data/vendor/assets/javascripts/ace/mode-livescript.js +288 -0
  74. data/vendor/assets/javascripts/ace/mode-logiql.js +669 -0
  75. data/vendor/assets/javascripts/ace/mode-lsl.js +890 -0
  76. data/vendor/assets/javascripts/ace/mode-lua.js +274 -368
  77. data/vendor/assets/javascripts/ace/mode-luapage.js +1331 -1107
  78. data/vendor/assets/javascripts/ace/mode-lucene.js +64 -0
  79. data/vendor/assets/javascripts/ace/mode-makefile.js +332 -0
  80. data/vendor/assets/javascripts/ace/mode-markdown.js +1303 -948
  81. data/vendor/assets/javascripts/ace/mode-matlab.js +230 -0
  82. data/vendor/assets/javascripts/ace/mode-mushcode.js +705 -0
  83. data/vendor/assets/javascripts/ace/mode-mushcode_high_rules.js +569 -0
  84. data/vendor/assets/javascripts/ace/mode-mysql.js +185 -0
  85. data/vendor/assets/javascripts/ace/mode-nix.js +935 -0
  86. data/vendor/assets/javascripts/ace/mode-objectivec.js +699 -0
  87. data/vendor/assets/javascripts/ace/mode-ocaml.js +44 -63
  88. data/vendor/assets/javascripts/ace/mode-pascal.js +233 -0
  89. data/vendor/assets/javascripts/ace/mode-perl.js +116 -189
  90. data/vendor/assets/javascripts/ace/mode-pgsql.js +886 -500
  91. data/vendor/assets/javascripts/ace/mode-php.js +1158 -380
  92. data/vendor/assets/javascripts/ace/mode-plain_text.js +56 -0
  93. data/vendor/assets/javascripts/ace/mode-powershell.js +222 -167
  94. data/vendor/assets/javascripts/ace/mode-prolog.js +354 -0
  95. data/vendor/assets/javascripts/ace/mode-properties.js +100 -0
  96. data/vendor/assets/javascripts/ace/mode-protobuf.js +885 -0
  97. data/vendor/assets/javascripts/ace/mode-python.js +99 -201
  98. data/vendor/assets/javascripts/ace/mode-r.js +337 -0
  99. data/vendor/assets/javascripts/ace/mode-rdoc.js +210 -0
  100. data/vendor/assets/javascripts/ace/mode-rhtml.js +2663 -0
  101. data/vendor/assets/javascripts/ace/mode-ruby.js +262 -136
  102. data/vendor/assets/javascripts/ace/mode-rust.js +245 -0
  103. data/vendor/assets/javascripts/ace/mode-sass.js +443 -0
  104. data/vendor/assets/javascripts/ace/mode-scad.js +225 -240
  105. data/vendor/assets/javascripts/ace/mode-scala.js +340 -494
  106. data/vendor/assets/javascripts/ace/mode-scheme.js +143 -0
  107. data/vendor/assets/javascripts/ace/mode-scss.js +499 -157
  108. data/vendor/assets/javascripts/ace/mode-sh.js +180 -110
  109. data/vendor/assets/javascripts/ace/mode-sjs.js +1154 -0
  110. data/vendor/assets/javascripts/ace/mode-snippets.js +198 -0
  111. data/vendor/assets/javascripts/ace/mode-soy_template.js +2707 -0
  112. data/vendor/assets/javascripts/ace/mode-space.js +160 -0
  113. data/vendor/assets/javascripts/ace/mode-sql.js +48 -69
  114. data/vendor/assets/javascripts/ace/mode-stylus.js +447 -0
  115. data/vendor/assets/javascripts/ace/mode-svg.js +552 -605
  116. data/vendor/assets/javascripts/ace/mode-tcl.js +139 -98
  117. data/vendor/assets/javascripts/ace/mode-tex.js +187 -0
  118. data/vendor/assets/javascripts/ace/mode-textile.js +29 -40
  119. data/vendor/assets/javascripts/ace/mode-tmsnippet.js +200 -0
  120. data/vendor/assets/javascripts/ace/mode-toml.js +177 -0
  121. data/vendor/assets/javascripts/ace/mode-twig.js +2228 -0
  122. data/vendor/assets/javascripts/ace/mode-typescript.js +1018 -0
  123. data/vendor/assets/javascripts/ace/mode-vbscript.js +250 -0
  124. data/vendor/assets/javascripts/ace/mode-velocity.js +1621 -0
  125. data/vendor/assets/javascripts/ace/mode-verilog.js +127 -0
  126. data/vendor/assets/javascripts/ace/mode-vhdl.js +139 -0
  127. data/vendor/assets/javascripts/ace/mode-xml.js +350 -242
  128. data/vendor/assets/javascripts/ace/mode-xquery.js +2490 -300
  129. data/vendor/assets/javascripts/ace/mode-yaml.js +146 -45
  130. data/vendor/assets/javascripts/ace/theme-ambiance.js +202 -0
  131. data/vendor/assets/javascripts/ace/theme-chaos.js +179 -0
  132. data/vendor/assets/javascripts/ace/theme-chrome.js +97 -153
  133. data/vendor/assets/javascripts/ace/theme-clouds.js +78 -119
  134. data/vendor/assets/javascripts/ace/theme-clouds_midnight.js +79 -120
  135. data/vendor/assets/javascripts/ace/theme-cobalt.js +89 -140
  136. data/vendor/assets/javascripts/ace/theme-crimson_editor.js +93 -145
  137. data/vendor/assets/javascripts/ace/theme-dawn.js +84 -143
  138. data/vendor/assets/javascripts/ace/theme-dreamweaver.js +99 -162
  139. data/vendor/assets/javascripts/ace/theme-eclipse.js +78 -111
  140. data/vendor/assets/javascripts/ace/theme-github.js +70 -121
  141. data/vendor/assets/javascripts/ace/theme-idle_fingers.js +75 -134
  142. data/vendor/assets/javascripts/ace/theme-kr.js +135 -0
  143. data/vendor/assets/javascripts/ace/theme-merbivore.js +80 -143
  144. data/vendor/assets/javascripts/ace/theme-merbivore_soft.js +81 -149
  145. data/vendor/assets/javascripts/ace/theme-mono_industrial.js +87 -146
  146. data/vendor/assets/javascripts/ace/theme-monokai.js +88 -146
  147. data/vendor/assets/javascripts/ace/theme-pastel_on_dark.js +82 -142
  148. data/vendor/assets/javascripts/ace/theme-solarized_dark.js +83 -144
  149. data/vendor/assets/javascripts/ace/theme-solarized_light.js +76 -133
  150. data/vendor/assets/javascripts/ace/theme-terminal.js +145 -0
  151. data/vendor/assets/javascripts/ace/theme-textmate.js +101 -158
  152. data/vendor/assets/javascripts/ace/theme-tomorrow.js +89 -163
  153. data/vendor/assets/javascripts/ace/theme-tomorrow_night.js +89 -163
  154. data/vendor/assets/javascripts/ace/theme-tomorrow_night_blue.js +89 -165
  155. data/vendor/assets/javascripts/ace/theme-tomorrow_night_bright.js +101 -162
  156. data/vendor/assets/javascripts/ace/theme-tomorrow_night_eighties.js +90 -160
  157. data/vendor/assets/javascripts/ace/theme-twilight.js +87 -158
  158. data/vendor/assets/javascripts/ace/theme-vibrant_ink.js +75 -140
  159. data/vendor/assets/javascripts/ace/theme-xcode.js +120 -0
  160. data/vendor/assets/javascripts/ace/worker-coffee.js +3049 -2665
  161. data/vendor/assets/javascripts/ace/worker-css.js +1779 -4376
  162. data/vendor/assets/javascripts/ace/worker-javascript.js +8701 -9008
  163. data/vendor/assets/javascripts/ace/worker-json.js +709 -1340
  164. data/vendor/assets/javascripts/ace/worker-lua.js +3525 -0
  165. data/vendor/assets/javascripts/ace/worker-php.js +6893 -0
  166. data/vendor/assets/javascripts/ace/worker-xquery.js +19924 -64507
  167. metadata +100 -17
@@ -1,198 +1,139 @@
1
1
  /* ***** BEGIN LICENSE BLOCK *****
2
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
2
+ * Distributed under the BSD license:
3
3
  *
4
- * The contents of this file are subject to the Mozilla Public License Version
5
- * 1.1 (the "License"); you may not use this file except in compliance with
6
- * the License. You may obtain a copy of the License at
7
- * http://www.mozilla.org/MPL/
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
8
6
  *
9
- * Software distributed under the License is distributed on an "AS IS" basis,
10
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
- * for the specific language governing rights and limitations under the
12
- * License.
13
- *
14
- * The Original Code is Ajax.org Code Editor (ACE).
15
- *
16
- * The Initial Developer of the Original Code is
17
- * Ajax.org B.V.
18
- * Portions created by the Initial Developer are Copyright (C) 2010
19
- * the Initial Developer. All Rights Reserved.
20
- *
21
- * Contributor(s):
22
- * Fabian Jakobs <fabian AT ajax DOT org>
23
- *
24
- * Alternatively, the contents of this file may be used under the terms of
25
- * either the GNU General Public License Version 2 or later (the "GPL"), or
26
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
- * in which case the provisions of the GPL or the LGPL are applicable instead
28
- * of those above. If you wish to allow use of your version of this file only
29
- * under the terms of either the GPL or the LGPL, and not to allow others to
30
- * use your version of this file under the terms of the MPL, indicate your
31
- * decision by deleting the provisions above and replace them with the notice
32
- * and other provisions required by the GPL or the LGPL. If you do not delete
33
- * the provisions above, a recipient may use your version of this file under
34
- * the terms of any one of the MPL, the GPL or the LGPL.
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
28
  *
36
29
  * ***** END LICENSE BLOCK ***** */
37
30
 
38
- define('ace/theme/dawn', ['require', 'exports', 'module', 'ace/lib/dom'], function(require, exports, module) {
31
+ define('ace/theme/dawn', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
39
32
 
40
33
  exports.isDark = false;
41
34
  exports.cssClass = "ace-dawn";
42
- exports.cssText = "\
43
- .ace-dawn .ace_editor {\
44
- border: 2px solid rgb(159, 159, 159);\
45
- }\
46
- \
47
- .ace-dawn .ace_editor.ace_focus {\
48
- border: 2px solid #327fbd;\
49
- }\
50
- \
51
- .ace-dawn .ace_gutter {\
52
- background: #ebebeb;\
53
- color: #333;\
54
- }\
55
- \
56
- .ace-dawn .ace_print_margin {\
57
- width: 1px;\
58
- background: #e8e8e8;\
35
+ exports.cssText = ".ace-dawn .ace_gutter {\
36
+ background: #ebebeb;\
37
+ color: #333\
59
38
  }\
60
- \
61
- .ace-dawn .ace_scroller {\
62
- background-color: #F9F9F9;\
39
+ .ace-dawn .ace_print-margin {\
40
+ width: 1px;\
41
+ background: #e8e8e8\
63
42
  }\
64
- \
65
- .ace-dawn .ace_text-layer {\
66
- color: #080808;\
43
+ .ace-dawn {\
44
+ background-color: #F9F9F9;\
45
+ color: #080808\
67
46
  }\
68
- \
69
47
  .ace-dawn .ace_cursor {\
70
- border-left: 2px solid #000000;\
48
+ color: #000000\
71
49
  }\
72
- \
73
- .ace-dawn .ace_cursor.ace_overwrite {\
74
- border-left: 0px;\
75
- border-bottom: 1px solid #000000;\
76
- }\
77
- \
78
50
  .ace-dawn .ace_marker-layer .ace_selection {\
79
- background: rgba(39, 95, 255, 0.30);\
51
+ background: rgba(39, 95, 255, 0.30)\
80
52
  }\
81
- \
82
- .ace-dawn.multiselect .ace_selection.start {\
83
- box-shadow: 0 0 3px 0px #F9F9F9;\
84
- border-radius: 2px;\
53
+ .ace-dawn.ace_multiselect .ace_selection.ace_start {\
54
+ box-shadow: 0 0 3px 0px #F9F9F9;\
55
+ border-radius: 2px\
85
56
  }\
86
- \
87
57
  .ace-dawn .ace_marker-layer .ace_step {\
88
- background: rgb(255, 255, 0);\
58
+ background: rgb(255, 255, 0)\
89
59
  }\
90
- \
91
60
  .ace-dawn .ace_marker-layer .ace_bracket {\
92
- margin: -1px 0 0 -1px;\
93
- border: 1px solid rgba(75, 75, 126, 0.50);\
61
+ margin: -1px 0 0 -1px;\
62
+ border: 1px solid rgba(75, 75, 126, 0.50)\
94
63
  }\
95
- \
96
- .ace-dawn .ace_marker-layer .ace_active_line {\
97
- background: rgba(36, 99, 180, 0.12);\
64
+ .ace-dawn .ace_marker-layer .ace_active-line {\
65
+ background: rgba(36, 99, 180, 0.12)\
98
66
  }\
99
- \
100
- .ace-dawn .ace_gutter_active_line {\
101
- background-color : #dcdcdc;\
67
+ .ace-dawn .ace_gutter-active-line {\
68
+ background-color : #dcdcdc\
102
69
  }\
103
- \
104
- .ace-dawn .ace_marker-layer .ace_selected_word {\
105
- border: 1px solid rgba(39, 95, 255, 0.30);\
70
+ .ace-dawn .ace_marker-layer .ace_selected-word {\
71
+ border: 1px solid rgba(39, 95, 255, 0.30)\
106
72
  }\
107
- \
108
73
  .ace-dawn .ace_invisible {\
109
- color: rgba(75, 75, 126, 0.50);\
110
- }\
111
- \
112
- .ace-dawn .ace_keyword, .ace-dawn .ace_meta {\
113
- color:#794938;\
74
+ color: rgba(75, 75, 126, 0.50)\
114
75
  }\
115
- \
116
- .ace-dawn .ace_constant, .ace-dawn .ace_constant.ace_other {\
117
- color:#811F24;\
76
+ .ace-dawn .ace_keyword,\
77
+ .ace-dawn .ace_meta {\
78
+ color: #794938\
118
79
  }\
119
- \
120
- .ace-dawn .ace_constant.ace_character, {\
121
- color:#811F24;\
80
+ .ace-dawn .ace_constant,\
81
+ .ace-dawn .ace_constant.ace_character,\
82
+ .ace-dawn .ace_constant.ace_character.ace_escape,\
83
+ .ace-dawn .ace_constant.ace_other {\
84
+ color: #811F24\
122
85
  }\
123
- \
124
- .ace-dawn .ace_constant.ace_character.ace_escape, {\
125
- color:#811F24;\
126
- }\
127
- \
128
86
  .ace-dawn .ace_invalid.ace_illegal {\
129
- text-decoration:underline;\
130
- font-style:italic;\
131
- color:#F8F8F8;\
132
- background-color:#B52A1D;\
87
+ text-decoration: underline;\
88
+ font-style: italic;\
89
+ color: #F8F8F8;\
90
+ background-color: #B52A1D\
133
91
  }\
134
- \
135
92
  .ace-dawn .ace_invalid.ace_deprecated {\
136
- text-decoration:underline;\
137
- font-style:italic;\
138
- color:#B52A1D;\
93
+ text-decoration: underline;\
94
+ font-style: italic;\
95
+ color: #B52A1D\
139
96
  }\
140
- \
141
97
  .ace-dawn .ace_support {\
142
- color:#691C97;\
98
+ color: #691C97\
143
99
  }\
144
- \
145
100
  .ace-dawn .ace_support.ace_constant {\
146
- color:#B4371F;\
101
+ color: #B4371F\
147
102
  }\
148
- \
149
103
  .ace-dawn .ace_fold {\
150
- background-color: #794938;\
151
- border-color: #080808;\
104
+ background-color: #794938;\
105
+ border-color: #080808\
152
106
  }\
153
- \
107
+ .ace-dawn .ace_list,\
108
+ .ace-dawn .ace_markup.ace_list,\
154
109
  .ace-dawn .ace_support.ace_function {\
155
- color:#693A17;\
110
+ color: #693A17\
156
111
  }\
157
- \
158
112
  .ace-dawn .ace_storage {\
159
- font-style:italic;\
160
- color:#A71D5D;\
113
+ font-style: italic;\
114
+ color: #A71D5D\
161
115
  }\
162
- \
163
116
  .ace-dawn .ace_string {\
164
- color:#0B6125;\
117
+ color: #0B6125\
165
118
  }\
166
- \
167
119
  .ace-dawn .ace_string.ace_regexp {\
168
- color:#CF5628;\
120
+ color: #CF5628\
169
121
  }\
170
- \
171
122
  .ace-dawn .ace_comment {\
172
- font-style:italic;\
173
- color:#5A525F;\
123
+ font-style: italic;\
124
+ color: #5A525F\
174
125
  }\
175
- \
176
- .ace-dawn .ace_variable {\
177
- color:#234A97;\
178
- }\
179
- \
180
- .ace-dawn .ace_markup.ace_underline {\
181
- text-decoration:underline;\
182
- }\
183
- \
126
+ .ace-dawn .ace_heading,\
184
127
  .ace-dawn .ace_markup.ace_heading {\
185
- color:#19356D;\
128
+ color: #19356D\
186
129
  }\
187
- \
188
- .ace-dawn .ace_markup.ace_list {\
189
- color:#693A17;\
130
+ .ace-dawn .ace_variable {\
131
+ color: #234A97\
190
132
  }\
191
- \
192
133
  .ace-dawn .ace_indent-guide {\
193
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y;\
134
+ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y\
194
135
  }";
195
136
 
196
- var dom = require("../lib/dom");
197
- dom.importCssString(exports.cssText, exports.cssClass);
137
+ var dom = require("../lib/dom");
138
+ dom.importCssString(exports.cssText, exports.cssClass);
198
139
  });
@@ -1,228 +1,165 @@
1
1
  /* ***** BEGIN LICENSE BLOCK *****
2
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
2
+ * Distributed under the BSD license:
3
3
  *
4
- * The contents of this file are subject to the Mozilla Public License Version
5
- * 1.1 (the "License"); you may not use this file except in compliance with
6
- * the License. You may obtain a copy of the License at
7
- * http://www.mozilla.org/MPL/
8
- *
9
- * Software distributed under the License is distributed on an "AS IS" basis,
10
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
- * for the specific language governing rights and limitations under the
12
- * License.
13
- *
14
- * The Original Code is Ajax.org Code Editor (ACE).
15
- *
16
- * The Initial Developer of the Original Code is
17
- * Ajax.org B.V.
18
- * Portions created by the Initial Developer are Copyright (C) 2010
19
- * the Initial Developer. All Rights Reserved.
20
- *
21
- * Contributor(s):
22
- * Adam Jimenez <adam AT shiftcreate DOT com>
23
- *
24
- * Alternatively, the contents of this file may be used under the terms of
25
- * either the GNU General Public License Version 2 or later (the "GPL"), or
26
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
- * in which case the provisions of the GPL or the LGPL are applicable instead
28
- * of those above. If you wish to allow use of your version of this file only
29
- * under the terms of either the GPL or the LGPL, and not to allow others to
30
- * use your version of this file under the terms of the MPL, indicate your
31
- * decision by deleting the provisions above and replace them with the notice
32
- * and other provisions required by the GPL or the LGPL. If you do not delete
33
- * the provisions above, a recipient may use your version of this file under
34
- * the terms of any one of the MPL, the GPL or the LGPL.
4
+ * Copyright (c) 2010, Ajax.org B.V.
5
+ * All rights reserved.
6
+ *
7
+ * Redistribution and use in source and binary forms, with or without
8
+ * modification, are permitted provided that the following conditions are met:
9
+ * * Redistributions of source code must retain the above copyright
10
+ * notice, this list of conditions and the following disclaimer.
11
+ * * Redistributions in binary form must reproduce the above copyright
12
+ * notice, this list of conditions and the following disclaimer in the
13
+ * documentation and/or other materials provided with the distribution.
14
+ * * Neither the name of Ajax.org B.V. nor the
15
+ * names of its contributors may be used to endorse or promote products
16
+ * derived from this software without specific prior written permission.
17
+ *
18
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
22
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
28
  *
36
29
  * ***** END LICENSE BLOCK ***** */
37
30
 
38
- define('ace/theme/dreamweaver', ['require', 'exports', 'module', 'ace/lib/dom'], function(require, exports, module) {
31
+ define('ace/theme/dreamweaver', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
39
32
  exports.isDark = false;
40
33
  exports.cssClass = "ace-dreamweaver";
41
- exports.cssText = ".ace-dreamweaver .ace_editor {\
42
- border: 2px solid rgb(159, 159, 159);\
34
+ exports.cssText = ".ace-dreamweaver .ace_gutter {\
35
+ background: #e8e8e8;\
36
+ color: #333;\
43
37
  }\
44
- \
45
- .ace-dreamweaver .ace_editor.ace_focus {\
46
- border: 2px solid #327fbd;\
38
+ .ace-dreamweaver .ace_print-margin {\
39
+ width: 1px;\
40
+ background: #e8e8e8;\
47
41
  }\
48
- \
49
- .ace-dreamweaver .ace_gutter {\
50
- background: #e8e8e8;\
51
- color: #333;\
42
+ .ace-dreamweaver {\
43
+ background-color: #FFFFFF;\
52
44
  }\
53
- \
54
- .ace-dreamweaver .ace_print_margin {\
55
- width: 1px;\
56
- background: #e8e8e8;\
57
- }\
58
- \
59
45
  .ace-dreamweaver .ace_fold {\
60
- background-color: #757AD8;\
61
- }\
62
- \
63
- .ace-dreamweaver .ace_text-layer {\
46
+ background-color: #757AD8;\
64
47
  }\
65
- \
66
48
  .ace-dreamweaver .ace_cursor {\
67
- border-left: 2px solid black;\
49
+ color: black;\
68
50
  }\
69
- \
70
- .ace-dreamweaver .ace_cursor.ace_overwrite {\
71
- border-left: 0px;\
72
- border-bottom: 1px solid black;\
51
+ .ace-dreamweaver .ace_invisible {\
52
+ color: rgb(191, 191, 191);\
73
53
  }\
74
- \
75
- .ace-dreamweaver .ace_line .ace_invisible {\
76
- color: rgb(191, 191, 191);\
54
+ .ace-dreamweaver .ace_storage,\
55
+ .ace-dreamweaver .ace_keyword {\
56
+ color: blue;\
77
57
  }\
78
- \
79
- .ace-dreamweaver .ace_line .ace_storage,\
80
- .ace-dreamweaver .ace_line .ace_keyword {\
81
- color: blue;\
58
+ .ace-dreamweaver .ace_constant.ace_buildin {\
59
+ color: rgb(88, 72, 246);\
82
60
  }\
83
- \
84
- .ace-dreamweaver .ace_line .ace_constant.ace_buildin {\
85
- color: rgb(88, 72, 246);\
61
+ .ace-dreamweaver .ace_constant.ace_language {\
62
+ color: rgb(88, 92, 246);\
86
63
  }\
87
- \
88
- .ace-dreamweaver .ace_line .ace_constant.ace_language {\
89
- color: rgb(88, 92, 246);\
64
+ .ace-dreamweaver .ace_constant.ace_library {\
65
+ color: rgb(6, 150, 14);\
90
66
  }\
91
- \
92
- .ace-dreamweaver .ace_line .ace_constant.ace_library {\
93
- color: rgb(6, 150, 14);\
67
+ .ace-dreamweaver .ace_invalid {\
68
+ background-color: rgb(153, 0, 0);\
69
+ color: white;\
94
70
  }\
95
- \
96
- .ace-dreamweaver .ace_line .ace_invalid {\
97
- background-color: rgb(153, 0, 0);\
98
- color: white;\
71
+ .ace-dreamweaver .ace_support.ace_function {\
72
+ color: rgb(60, 76, 114);\
99
73
  }\
100
- \
101
- .ace-dreamweaver .ace_line .ace_support.ace_function {\
102
- color: rgb(60, 76, 114);\
74
+ .ace-dreamweaver .ace_support.ace_constant {\
75
+ color: rgb(6, 150, 14);\
103
76
  }\
104
- \
105
- .ace-dreamweaver .ace_line .ace_support.ace_constant {\
106
- color: rgb(6, 150, 14);\
77
+ .ace-dreamweaver .ace_support.ace_type,\
78
+ .ace-dreamweaver .ace_support.ace_class {\
79
+ color: #009;\
107
80
  }\
108
- \
109
- .ace-dreamweaver .ace_line .ace_support.ace_type,\
110
- .ace-dreamweaver .ace_line .ace_support.ace_class {\
111
- color: #009;\
81
+ .ace-dreamweaver .ace_support.ace_php_tag {\
82
+ color: #f00;\
112
83
  }\
113
- \
114
- .ace-dreamweaver .ace_line .ace_support.ace_php_tag {\
115
- color: #f00;\
84
+ .ace-dreamweaver .ace_keyword.ace_operator {\
85
+ color: rgb(104, 118, 135);\
116
86
  }\
117
- \
118
- .ace-dreamweaver .ace_line .ace_keyword.ace_operator {\
119
- color: rgb(104, 118, 135);\
87
+ .ace-dreamweaver .ace_string {\
88
+ color: #00F;\
120
89
  }\
121
- \
122
- .ace-dreamweaver .ace_line .ace_string {\
123
- color: #00F;\
90
+ .ace-dreamweaver .ace_comment {\
91
+ color: rgb(76, 136, 107);\
124
92
  }\
125
- \
126
- .ace-dreamweaver .ace_line .ace_comment {\
127
- color: rgb(76, 136, 107);\
93
+ .ace-dreamweaver .ace_comment.ace_doc {\
94
+ color: rgb(0, 102, 255);\
128
95
  }\
129
- \
130
- .ace-dreamweaver .ace_line .ace_comment.ace_doc {\
131
- color: rgb(0, 102, 255);\
96
+ .ace-dreamweaver .ace_comment.ace_doc.ace_tag {\
97
+ color: rgb(128, 159, 191);\
132
98
  }\
133
- \
134
- .ace-dreamweaver .ace_line .ace_comment.ace_doc.ace_tag {\
135
- color: rgb(128, 159, 191);\
99
+ .ace-dreamweaver .ace_constant.ace_numeric {\
100
+ color: rgb(0, 0, 205);\
136
101
  }\
137
- \
138
- .ace-dreamweaver .ace_line .ace_constant.ace_numeric {\
139
- color: rgb(0, 0, 205);\
102
+ .ace-dreamweaver .ace_variable {\
103
+ color: #06F\
140
104
  }\
141
- \
142
- .ace-dreamweaver .ace_line .ace_variable {\
143
- color: #06F\
105
+ .ace-dreamweaver .ace_xml-pe {\
106
+ color: rgb(104, 104, 91);\
144
107
  }\
145
- \
146
- .ace-dreamweaver .ace_line .ace_xml_pe {\
147
- color: rgb(104, 104, 91);\
148
- }\
149
- \
150
108
  .ace-dreamweaver .ace_entity.ace_name.ace_function {\
151
- color: #00F;\
152
- }\
153
- \
154
- .ace-dreamweaver .ace_markup.ace_markupine {\
155
- text-decoration:underline;\
109
+ color: #00F;\
156
110
  }\
157
- \
158
- .ace-dreamweaver .ace_markup.ace_heading {\
159
- color: rgb(12, 7, 255);\
111
+ .ace-dreamweaver .ace_heading {\
112
+ color: rgb(12, 7, 255);\
160
113
  }\
161
- \
162
- .ace-dreamweaver .ace_markup.ace_list {\
163
- color:rgb(185, 6, 144);\
114
+ .ace-dreamweaver .ace_list {\
115
+ color:rgb(185, 6, 144);\
164
116
  }\
165
- \
166
117
  .ace-dreamweaver .ace_marker-layer .ace_selection {\
167
- background: rgb(181, 213, 255);\
118
+ background: rgb(181, 213, 255);\
168
119
  }\
169
- \
170
120
  .ace-dreamweaver .ace_marker-layer .ace_step {\
171
- background: rgb(252, 255, 0);\
121
+ background: rgb(252, 255, 0);\
172
122
  }\
173
- \
174
123
  .ace-dreamweaver .ace_marker-layer .ace_stack {\
175
- background: rgb(164, 229, 101);\
124
+ background: rgb(164, 229, 101);\
176
125
  }\
177
- \
178
126
  .ace-dreamweaver .ace_marker-layer .ace_bracket {\
179
- margin: -1px 0 0 -1px;\
180
- border: 1px solid rgb(192, 192, 192);\
127
+ margin: -1px 0 0 -1px;\
128
+ border: 1px solid rgb(192, 192, 192);\
181
129
  }\
182
- \
183
- .ace-dreamweaver .ace_marker-layer .ace_active_line {\
184
- background: rgba(0, 0, 0, 0.07);\
130
+ .ace-dreamweaver .ace_marker-layer .ace_active-line {\
131
+ background: rgba(0, 0, 0, 0.07);\
185
132
  }\
186
- \
187
- .ace-dreamweaver .ace_marker-layer .ace_selected_word {\
188
- background: rgb(250, 250, 255);\
189
- border: 1px solid rgb(200, 200, 250);\
133
+ .ace-dreamweaver .ace_marker-layer .ace_selected-word {\
134
+ background: rgb(250, 250, 255);\
135
+ border: 1px solid rgb(200, 200, 250);\
190
136
  }\
191
- \
192
137
  .ace-dreamweaver .ace_meta.ace_tag {\
193
- color:#009;\
138
+ color:#009;\
194
139
  }\
195
- \
196
140
  .ace-dreamweaver .ace_meta.ace_tag.ace_anchor {\
197
- color:#060;\
141
+ color:#060;\
198
142
  }\
199
- \
200
143
  .ace-dreamweaver .ace_meta.ace_tag.ace_form {\
201
- color:#F90;\
144
+ color:#F90;\
202
145
  }\
203
- \
204
146
  .ace-dreamweaver .ace_meta.ace_tag.ace_image {\
205
- color:#909;\
147
+ color:#909;\
206
148
  }\
207
- \
208
149
  .ace-dreamweaver .ace_meta.ace_tag.ace_script {\
209
- color:#900;\
150
+ color:#900;\
210
151
  }\
211
- \
212
152
  .ace-dreamweaver .ace_meta.ace_tag.ace_style {\
213
- color:#909;\
153
+ color:#909;\
214
154
  }\
215
- \
216
155
  .ace-dreamweaver .ace_meta.ace_tag.ace_table {\
217
- color:#099;\
156
+ color:#099;\
218
157
  }\
219
- \
220
158
  .ace-dreamweaver .ace_string.ace_regex {\
221
- color: rgb(255, 0, 0)\
159
+ color: rgb(255, 0, 0)\
222
160
  }\
223
- \
224
161
  .ace-dreamweaver .ace_indent-guide {\
225
- background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
162
+ background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
226
163
  }";
227
164
 
228
165
  var dom = require("../lib/dom");