Преглед изворни кода

Set editor theme to niflheim by default

Benjamin Van Ryseghem пре 10 година
родитељ
комит
e141553d4c
2 измењених фајлова са 5 додато и 3 уклоњено
  1. 3 2
      src/Helios-Core.js
  2. 2 1
      src/Helios-Core.st

+ 3 - 2
src/Helios-Core.js

@@ -3954,10 +3954,11 @@ fn: function (){
 var self=this;
 return smalltalk.withContext(function($ctx1) { 
 self._setTheme_("niflheim");
+self._setEditorTheme_("niflheim");
 return self}, function($ctx1) {$ctx1.fill(self,"setupTheme",{},globals.HLManager)})},
 args: [],
-source: "setupTheme\x0a\x09self setTheme: 'niflheim'",
-messageSends: ["setTheme:"],
+source: "setupTheme\x0a\x09self setTheme: 'niflheim'.\x0a\x09self setEditorTheme: 'niflheim'.",
+messageSends: ["setTheme:", "setEditorTheme:"],
 referencedClasses: []
 }),
 globals.HLManager);

+ 2 - 1
src/Helios-Core.st

@@ -1339,7 +1339,8 @@ setupEvents
 !
 
 setupTheme
-	self setTheme: 'niflheim'
+	self setTheme: 'niflheim'.
+	self setEditorTheme: 'niflheim'.
 ! !
 
 !HLManager methodsFor: 'rendering'!