1
0
Преглед на файлове

change CodeMirror theme name from 'jtalk' to 'amber'

mkroehnert преди 12 години
родител
ревизия
075677a4d8
променени са 4 файла, в които са добавени 25 реда и са изтрити 25 реда
  1. 1 1
      js/IDE.deploy.js
  2. 2 2
      js/IDE.js
  3. 21 21
      js/lib/CodeMirror/amber.css
  4. 1 1
      st/IDE.st

+ 1 - 1
js/IDE.deploy.js

@@ -575,7 +575,7 @@ selector: "setEditorOn:",
 fn: function (aTextarea){
 var self=this;
 self['@editor'] = CodeMirror.fromTextArea(aTextarea, {
-		theme: 'jtalk',
+		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
                 matchBrackets: true,

+ 2 - 2
js/IDE.js

@@ -801,7 +801,7 @@ category: 'accessing',
 fn: function (aTextarea){
 var self=this;
 self['@editor'] = CodeMirror.fromTextArea(aTextarea, {
-		theme: 'jtalk',
+		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
                 matchBrackets: true,
@@ -809,7 +809,7 @@ self['@editor'] = CodeMirror.fromTextArea(aTextarea, {
 	});
 return self;},
 args: ["aTextarea"],
-source: "setEditorOn: aTextarea\x0a\x09<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {\x0a\x09\x09theme: 'jtalk',\x0a                lineNumbers: true,\x0a                enterMode: 'flat',\x0a                matchBrackets: true,\x0a                electricChars: false\x0a\x09})>",
+source: "setEditorOn: aTextarea\x0a\x09<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {\x0a\x09\x09theme: 'amber',\x0a                lineNumbers: true,\x0a                enterMode: 'flat',\x0a                matchBrackets: true,\x0a                electricChars: false\x0a\x09})>",
 messageSends: [],
 referencedClasses: []
 }),

+ 21 - 21
js/lib/CodeMirror/amber.css

@@ -1,21 +1,21 @@
-.cm-s-jtalk span.cm-keyword {color: #7F0000; font-weight: bold;}
-.cm-s-jtalk span.cm-className {font-weight: bold;}
-.cm-s-jtalk span.cm-assignment {font-weight: bold;}
-.cm-s-jtalk span.cm-return {font-weight: bold;}
-.cm-s-jtalk span.cm-atom {color: #219;}
-.cm-s-jtalk span.cm-number {color: #7F0000;}
-.cm-s-jtalk span.cm-def {color: #00f;}
-.cm-s-jtalk span.cm-variable {color: grey;}
-.cm-s-jtalk span.cm-variable-2 {color: #05a;}
-.cm-s-jtalk span.cm-variable-3 {color: #0a5;}
-.cm-s-jtalk span.cm-property {color: black;}
-.cm-s-jtalk span.cm-operator {color: #00007F;}
-.cm-s-jtalk span.cm-comment {color: #007F00;}
-.cm-s-jtalk span.cm-string {color: #7F007F;}
-.cm-s-jtalk span.cm-meta {color: #555;}
-.cm-s-jtalk span.cm-error {color: #f00;}
-.cm-s-jtalk span.cm-qualifier {color: #555;}
-.cm-s-jtalk span.cm-builtin {color: #30a;}
-.cm-s-jtalk span.cm-bracket {color: #cc7;}
-.cm-s-jtalk span.cm-tag {color: #170;}
-.cm-s-jtalk span.cm-attribute {color: #00c;}
+.cm-s-amber span.cm-keyword {color: #7F0000; font-weight: bold;}
+.cm-s-amber span.cm-className {font-weight: bold;}
+.cm-s-amber span.cm-assignment {font-weight: bold;}
+.cm-s-amber span.cm-return {font-weight: bold;}
+.cm-s-amber span.cm-atom {color: #219;}
+.cm-s-amber span.cm-number {color: #7F0000;}
+.cm-s-amber span.cm-def {color: #00f;}
+.cm-s-amber span.cm-variable {color: grey;}
+.cm-s-amber span.cm-variable-2 {color: #05a;}
+.cm-s-amber span.cm-variable-3 {color: #0a5;}
+.cm-s-amber span.cm-property {color: black;}
+.cm-s-amber span.cm-operator {color: #00007F;}
+.cm-s-amber span.cm-comment {color: #007F00;}
+.cm-s-amber span.cm-string {color: #7F007F;}
+.cm-s-amber span.cm-meta {color: #555;}
+.cm-s-amber span.cm-error {color: #f00;}
+.cm-s-amber span.cm-qualifier {color: #555;}
+.cm-s-amber span.cm-builtin {color: #30a;}
+.cm-s-amber span.cm-bracket {color: #cc7;}
+.cm-s-amber span.cm-tag {color: #170;}
+.cm-s-amber span.cm-attribute {color: #00c;}

+ 1 - 1
st/IDE.st

@@ -226,7 +226,7 @@ selectionStart: anInteger
 
 setEditorOn: aTextarea
 	<self['@editor'] = CodeMirror.fromTextArea(aTextarea, {
-		theme: 'jtalk',
+		theme: 'amber',
                 lineNumbers: true,
                 enterMode: 'flat',
                 matchBrackets: true,