#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Thu, 18 Jul 2019 12:28:23 +0200
changeset 8735 9001b9501c7e
parent 8734 de0c9b4d22b9
child 8736 271d82194cd3
#UI_ENHANCEMENT by cg class: Color added: #displayOn:
Color.st
--- a/Color.st	Wed Jul 17 10:31:26 2019 +0200
+++ b/Color.st	Thu Jul 18 12:28:23 2019 +0200
@@ -5957,6 +5957,20 @@
 
 !Color methodsFor:'printing & storing'!
 
+displayOn:aStream
+    aStream nextPutAll:self className.
+    aStream nextPutAll:'('.
+    aStream nextPutAll:self htmlPrintString.
+    aStream nextPutAll:')'.
+
+    "
+     Color red printString
+     Color red displayString
+    "
+
+    "Created: / 18-07-2019 / 12:27:33 / Claus Gittinger"
+!
+
 hex
     <resource: #obsolete>