Launcher.st
changeset 1514 faec78b0e588
parent 1492 b703e42a7bd0
child 1517 b0160018704c
--- a/Launcher.st	Mon Mar 30 15:50:54 1998 +0200
+++ b/Launcher.st	Mon Mar 30 15:58:14 1998 +0200
@@ -2637,22 +2637,22 @@
     |s screen fileName|
 
     fileName := Dialog 
-	requestFileName:(resources string:'save settings in:') 
-	default:'settings.stx'
-	ok:(resources string:'save') 
-	abort:(resources string:'cancel') 
-	pattern:'*.stx'
-	fromDirectory:nil.
+        requestFileName:(resources string:'save settings in:') 
+        default:'settings.stx'
+        ok:(resources string:'save') 
+        abort:(resources string:'cancel') 
+        pattern:'*.stx'
+        fromDirectory:nil.
 
     (fileName isNil or:[fileName isEmpty]) ifTrue:[
-	"/ canceled
-	^ self
+        "/ canceled
+        ^ self
     ].
 
     s := fileName asFilename writeStream.
     s isNil ifTrue:[
-	self warn:'cannot write the ''' , fileName , ''' file'.
-	^ self
+        self warn:'cannot write the ''' , fileName , ''' file'.
+        ^ self
     ].
 
     s nextPutLine:'"/ ST/X saved settings';
@@ -2676,19 +2676,19 @@
     s nextPutLine:'Display displayName = ' , (Display displayName storeString) , ' ifTrue:['.
       screen := Screen current.
       screen fixColors notNil ifTrue:[
-	s nextPutLine:'  Image flushDeviceImages.'.
-	s nextPutLine:'  Color colorAllocationFailSignal catch:['.
-	s nextPutLine:'    Color getColorsRed:6 green:6 blue:4 on:Display'.
-	s nextPutLine:'  ].'.
+        s nextPutLine:'  Image flushDeviceImages.'.
+        s nextPutLine:'  Color colorAllocationFailSignal catch:['.
+        s nextPutLine:'    Color getColorsRed:6 green:6 blue:4 on:Display'.
+        s nextPutLine:'  ].'.
       ] ifFalse:[
-	s nextPutLine:'  Display releaseFixColors.'.
+        s nextPutLine:'  Display releaseFixColors.'.
       ].
       s nextPutLine:'  Display hasColors: ' , (screen hasColors storeString) , '.'.
       s nextPutLine:'  Display widthInMillimeter: ' , (screen widthInMillimeter storeString) , '.'.
       s nextPutLine:'  Display heightInMillimeter: ' , (screen heightInMillimeter storeString) , '.'.
       s nextPutLine:'  Display supportsDeepIcons: ' , (screen supportsDeepIcons storeString) , '.'.
       s nextPutLine:'  Image ditherAlgorithm: ' , (Image ditherAlgorithm storeString) , '.'.
-      s nextPutLine:'  View defaultStyle:(View defaultStyle). "/ to flush any device images'.
+      s nextPutLine:'  View defaultStyle:' , View defaultStyle storeString , '.'.
     s nextPutLine:'].'.
     s cr.
 
@@ -2716,17 +2716,17 @@
       nextPutLine:'ObjectMemory fullSingleStepSupport: ' , (ObjectMemory fullSingleStepSupport storeString) , '.'.
 
     HistoryManager notNil ifTrue:[
-	HistoryManager isActive ifTrue:[
-	    s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager activate].'.
-	    s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager fullHistoryUpdate:' , HistoryManager fullHistoryUpdate storeString , '].'.
-	] ifFalse:[
-	    s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager deactivate].'.
-	].
+        HistoryManager isActive ifTrue:[
+            s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager activate].'.
+            s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager fullHistoryUpdate:' , HistoryManager fullHistoryUpdate storeString , '].'.
+        ] ifFalse:[
+            s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager deactivate].'.
+        ].
     ].
 
     ObjectFileLoader notNil ifTrue:[
-	s nextPutLine:'ObjectFileLoader searchedLibraries: ' , (ObjectFileLoader searchedLibraries storeString) , '.'.
-	s nextPutLine:'ObjectFileLoader libPath: ' , (ObjectFileLoader libPath storeString) , '.'.
+        s nextPutLine:'ObjectFileLoader searchedLibraries: ' , (ObjectFileLoader searchedLibraries storeString) , '.'.
+        s nextPutLine:'ObjectFileLoader libPath: ' , (ObjectFileLoader libPath storeString) , '.'.
     ].
 
     s nextPutLine:'Class catchMethodRedefinitions: ' , (Class catchMethodRedefinitions storeString) , '.'.
@@ -2762,7 +2762,7 @@
       nextPutLine:'EditTextView st80Mode: ' , (EditTextView st80Mode storeString) , '.';
       nextPutLine:'Class tryLocalSourceFirst: ' , (Class tryLocalSourceFirst storeString) , '.'.
     (Exception emergencyHandler == Launcher notifyingEmergencyHandler) ifTrue:[
-	s nextPutLine:'Exception emergencyHandler:(Launcher notifyingEmergencyHandler).'.
+        s nextPutLine:'Exception emergencyHandler:(Launcher notifyingEmergencyHandler).'.
     ].
 
     s cr.
@@ -2773,17 +2773,17 @@
       nextPutLine:'Printer printCommand: ' , (Printer printCommand storeString) , '.'.
 
     Printer supportsPageSizes ifTrue:[
-	s nextPutLine:'Printer pageFormat: ' , (Printer pageFormat storeString) , '.'.
-	s nextPutLine:'Printer landscape: ' , (Printer landscape storeString) , '.'.
+        s nextPutLine:'Printer pageFormat: ' , (Printer pageFormat storeString) , '.'.
+        s nextPutLine:'Printer landscape: ' , (Printer landscape storeString) , '.'.
     ].
     Printer supportsMargins ifTrue:[
-	s nextPutLine:'Printer topMargin: ' , (Printer topMargin storeString) , '.'.
-	s nextPutLine:'Printer leftMargin: ' , (Printer leftMargin storeString) , '.'.
-	s nextPutLine:'Printer rightMargin: ' , (Printer rightMargin storeString) , '.'.
-	s nextPutLine:'Printer bottomMargin: ' , (Printer bottomMargin storeString) , '.'.
+        s nextPutLine:'Printer topMargin: ' , (Printer topMargin storeString) , '.'.
+        s nextPutLine:'Printer leftMargin: ' , (Printer leftMargin storeString) , '.'.
+        s nextPutLine:'Printer rightMargin: ' , (Printer rightMargin storeString) , '.'.
+        s nextPutLine:'Printer bottomMargin: ' , (Printer bottomMargin storeString) , '.'.
     ].
     Printer supportsPostscript ifTrue:[
-	s nextPutLine:'Printer supportsColor: ' , (Printer supportsColor storeString) , '.'.
+        s nextPutLine:'Printer supportsColor: ' , (Printer supportsColor storeString) , '.'.
     ].
 
     s cr.
@@ -2813,7 +2813,7 @@
      Transcript topView application saveSettings
     "
 
-    "Modified: / 16.1.1998 / 23:01:15 / cg"
+    "Modified: / 13.3.1998 / 22:02:39 / cg"
 !
 
 sourceAndDebuggerSettings
@@ -4987,5 +4987,5 @@
 !Launcher class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/Launcher.st,v 1.317 1998-02-26 01:59:21 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Launcher.st,v 1.318 1998-03-30 13:58:14 cg Exp $'
 ! !