[fix] TextStream

Niko Schwarz niko.schwarz at gmx.net
Sun Jan 5 19:26:01 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Sonntag, 5. Januar 2003 19:46 schrieb Boris Gaertner:

> Nick,
>
> TextStreams are designed to stream not over an instance of String, but
> over an instance of Text.

And I was so proud...

> An instance of Text has two components:
> a string and a run array that keeps style attributes for every single
> character of the string.

Arg... I should have known.. I had been already seeking for a StringWriter, 
but when it was so easily "fixable", I messed up..

> Here is an example that shows what you can do with
> TextStreams: (execute it in a workspace)

Nice. But  I only wanted to assemble some xml...

> Greetings, Boris

Thank you for your help, sorry for screwing up so much :-)

regards,

nick

- -- 
Time flies like an arrow, but fruit flies like a banana.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+GIbM3P3nmXTVnC8RAmyEAKDms1lAdcOEe03tk7CIoICFFyS6kgCcC1ah
Bx2idBBXp7+fQzBAzhWJl8Q=
=W4lp
-----END PGP SIGNATURE-----




More information about the Squeak-dev mailing list