Hi guys
I'm working on an introduction chapter for my future book and I do not
like the behavior I see in latest pharo 60.
And I do not understand the behavior of print-it
(MFDirectory new name: 'comics')
comics/
(MFDirectory new name: 'comics') printString
'comics/'
Why print it does not produce ''?
Stef
printIt
"Treat the current text selection as an expression; evaluate it. Insert
the
description of the result of evaluation after the selection and then
make
this description the new text selection."
| printString |
self
evaluateSelectionAndDo: [ :result |
printString := [ result printString ]
on: Error
do: [ '<error in printString: try ''Inspect it''
to debug>' ].
self afterSelectionInsertAndSelect: printString ]
--
Using Opera's mail client: http://www.opera.com/mail/