CharArray.st
changeset 350 54d513b45f51
parent 345 cf2301210c47
child 356 6c5ce0e1e7a8
--- a/CharArray.st	Thu May 18 17:33:58 1995 +0200
+++ b/CharArray.st	Fri May 19 00:49:59 1995 +0200
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.21 1995-05-16 17:06:01 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.22 1995-05-18 22:49:21 claus Exp $
 '!
 
 !CharacterArray class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.21 1995-05-16 17:06:01 claus Exp $
+$Header: /cvs/stx/stx/libbasic/Attic/CharArray.st,v 1.22 1995-05-18 22:49:21 claus Exp $
 "
 !
 
@@ -1829,6 +1829,15 @@
     ^ self , string1 , string2 , string3
 ! !
 
+!CharacterArray methodsFor:'displaying'!
+
+displayOn:aGc x:x y:y
+    "display the receiver in a graphicsContext - this method allows
+     strings to be used like DisplayObjects."
+
+    ^ aGc displayString:self x:x y:y.
+! !
+
 !CharacterArray methodsFor:'queries'!
 
 isString