On Thu, Dec 1, 2011 at 4:19 PM, Sean P. DeNigris <[email protected]>wrote:

> Continuing in Collections...
>
> Today:  TextStream
>
>
I'm a Stream of Text objects.

ex:

|ts|
ts := TextStream on: (Text new: 50).
 ts nextPutAll: 'I ' asText.
ts nextPutAll: 'love' asText allBold.
 ts nextPutAll: ' Pharo'.
TextMorph new
newContents: ts contents;
 openInWindowLabeled: 'TextStream test'


Laurent






>
> Comment Of The Day Contest - One Day One Comment
> Rules:
> #1: Each day a not commented class is elected. Each day the best comment
> will be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
>
> --
> View this message in context:
> http://forum.world.st/COTDC-87-TextStream-tp4128886p4128886.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>

Reply via email to