#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Fri, 21 Dec 2018 19:49:59 +0100
changeset 4778 48fe8ed83ac8
parent 4777 b22943151ce0
child 4779 9832d89b9543
#BUGFIX by cg class: Text changed: #postCopy make sure that string is a string (for text with Symbol-string)
Text.st
--- a/Text.st	Tue Dec 18 12:52:15 2018 +0100
+++ b/Text.st	Fri Dec 21 19:49:59 2018 +0100
@@ -841,7 +841,7 @@
 !
 
 postCopy
-    string := string copy.
+    string := string asString copy.
     runs := runs copy.
 
     "
@@ -851,6 +851,16 @@
      t inspect. t copy inspect.
      t emphasisAllRemove:#bold.
     "
+
+    "
+     |t|
+
+     t := #'hello' emphasizeAllWith:#bold.
+     t inspect. t copy inspect.
+     t emphasisAllRemove:#bold.
+    "
+
+    "Modified (comment): / 21-12-2018 / 19:49:46 / Claus Gittinger"
 ! !
 
 !Text methodsFor:'displaying'!