Hi,
I'm using pharo to teach smalltalk as first 'real' programming language at
school. With older versions of pharo I was glad that my pupils could track
keystrokes so easily by evaluating
World lastKeystroke.
With Pharo3.0/4.0 this only returns '<down>' independently of any keys I'm
typing.
f := PasteUpMorph new openInWorld.
f takeKeyBoardFocus.
f lastKeystroke.
Is returning the empty string.
Hence, my question: Is lastKeystroke broken, or how is it meant to be used
now?
Second problem: In older versions of pharo this would work:
f := PasteUpMorph new openInWorld.
b := EllipseMorph new.
b openInWorld: f.
But with Pharo 3.0/4.0 the last line raises an error:
MessageNotUnderstood: PasteUpMorph>>startSteppingSubmorphsOf
With
f := WorldMorph new openInWorld.
b := EllipseMorph new.
b openInWorld: f.
pharo freezes.
So: How is openInWorld: meant to be used?
Markus