#FEATURE by exept
authorClaus Gittinger <cg@exept.de>
Fri, 18 Oct 2019 11:12:44 +0200
changeset 24845 c3583e9d256a
parent 24844 334662dd5a40
child 24846 3d98b5071433
#FEATURE by exept class: UserPreferences added: #colorForStderrInTranscript #colorForStdoutInTranscript #traceStdoutAndStderrOnTranscript #traceStdoutAndStderrOnTranscript:
UserPreferences.st
--- a/UserPreferences.st	Thu Oct 17 10:45:12 2019 +0200
+++ b/UserPreferences.st	Fri Oct 18 11:12:44 2019 +0200
@@ -1312,6 +1312,22 @@
     "Created: / 27-12-2011 / 14:42:29 / cg"
 !
 
+traceStdoutAndStderrOnTranscript
+    ^ self at:#traceStdoutAndStderrOnTranscript ifAbsent:true
+
+    "
+     UserPreferences current traceStdoutAndStderrOnTranscript
+    "
+!
+
+traceStdoutAndStderrOnTranscript:aBoolean
+    self at:#traceStdoutAndStderrOnTranscript put:aBoolean
+
+    "
+     UserPreferences current traceStdoutAndStderrOnTranscript
+    "
+!
+
 useBuiltinJVM
     "an experimental flag if the builtin JVM should be used for
      JAVA instead of an external jvm.
@@ -2918,6 +2934,20 @@
     "Modified: / 09-11-2010 / 13:02:43 / cg"
 ! !
 
+!UserPreferences methodsFor:'accessing-prefs-UI-colors'!
+
+colorForStderrInTranscript
+    "used when stderr of executed process actions is shown in the Transcript"
+
+    ^ Color red
+!
+
+colorForStdoutInTranscript
+    "used when stdout of executed process actions is shown in the Transcript"
+
+    ^ Color blue
+! !
+
 !UserPreferences methodsFor:'accessing-prefs-browser'!
 
 acceptCancelBarOrder