[Pharo-users] Using Playgrounds as a notepad

Dimitris Chloupis kilon.alios at gmail.com
Mon Jan 4 05:15:44 EST 2016

have you tried the Workspace ?

Workspace open.

or you can built your own starting with TextMorph

tm := TextMorph new.
tm openInWindow .

On Mon, Jan 4, 2016 at 3:22 AM Andy Burnett <andy.burnett at knowinnovation.com>

> I often find that I need to do simple manipulations to passages of text,
> e.g. remove all carriage returns, or extract email addresses etc.
> Pasting the text into a Playground doesn't work because there is always an
> apostrophe, or line break or... etc. and the playground complains.
> Is there a way to tell a Playground to just ignore the text, and give me a
> handle to its contents, so that I can then do something like
> playgroundId contents splitOn:Character space.
> Alternatively, is there another object that would be more appropriate?
> Playground would be really useful just because it is in the menu, and
> always available.
> Cheers
> Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20160104/b1f2e914/attachment.html>

More information about the Pharo-users mailing list