#BUGFIX by cg
class: Text
changed: #postCopy
make sure that string is a string
(for text with Symbol-string)
--- 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'!