CharacterArray.st
changeset 6655 08e098ce6534
parent 6653 2e77e6bd99a1
child 6742 292775fda600
--- a/CharacterArray.st	Tue Jul 23 17:37:12 2002 +0200
+++ b/CharacterArray.st	Tue Jul 23 21:44:39 2002 +0200
@@ -3994,6 +3994,14 @@
     "Created: 14.5.1996 / 13:58:58 / cg"
 !
 
+emphasis:emphasisCollection
+    ^ self asText emphasis:emphasisCollection
+
+    "
+     Transcript showCR:('hello' emphasis:#(bold bold bold bold bold))
+    "
+!
+
 emphasisAt:characterIndex
     "return the emphasis at some index.
      Since characterArrays do not hold any emphasis information,
@@ -6138,6 +6146,6 @@
 !CharacterArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.224 2002-07-23 15:31:30 mb Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.225 2002-07-23 19:44:39 mb Exp $'
 ! !
 CharacterArray initialize!