Re: [Pharo-users] How to print playground contents as I type them.

2020-08-22 Thread Stéphane Ducasse
thanks this is cool I did not know. I would like to use this trick to improve the microdown PEAR tool > On 21 Aug 2020, at 22:51, Steven Costiou wrote: > > Hi, > > no idea if that's what you are looking to, but there is > > RubScrolledTextMorph>>whenKeystrokeInTextArea: anAnnouncement >

Re: [Pharo-users] How to print playground contents as I type them.

2020-08-21 Thread Steven Costiou
Hi, no idea if that's what you are looking to, but there is RubScrolledTextMorph>>whenKeystrokeInTextArea: anAnnouncement self announcer announce: (anAnnouncement copy morph: self) I instrumented that in one of my projects to capture what's written in text areas and print it on the

Re: [Pharo-users] How to print playground contents as I type them.

2020-08-21 Thread Stéphane Ducasse
> On 21 Aug 2020, at 21:04, Offray Vladimir Luna Cárdenas > wrote: > > Hi, > > Just a gentle remainder if anyone can point me in the right direction. you would like to evaluate the expression at each key stroke? It means that you can register a callback (I do not know how do it but I would

Re: [Pharo-users] How to print playground contents as I type them.

2020-08-21 Thread Offray Vladimir Luna Cárdenas
Hi, Just a gentle remainder if anyone can point me in the right direction. By the way, despite of all the local activities where Pharo is a key core infrastructure and enabler, I'm, AFAIK, the only active Pharoer/Smalltalker in my country and (virtual) community has been key on my self-guided

[Pharo-users] How to print playground contents as I type them.

2020-08-05 Thread Offray Vladimir Luna Cárdenas
Hi, I have an annoying bug in Grafoscopio. While text nodes are updated as I write them, code nodes capture the penultimate keystroke. So, when I revisit a text node all the typed content is there, but when I do the same with a code (playground) node I found the last character lost (this is