Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2016-02-20 Thread stepharo
Hi markus how can we help you? what are the exercises that you have - started to work on - Wallet something that contains coins and you should know how much money you get - captchas - simple counter - (I was still lukring at the exercises of Noury) Stef Le 18/

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-18 Thread Markus Schlager
On Tue, 16 Jun 2015, Hilaire wrote: Off topic, but I am curious as a teacher: how old the pupils you are teaching to? I use Etoys or Scratch in grade 7 (age about 12 years) and Smalltalk in grade 10 (age about 15/16 years). They are attending regular "Informatik"-courses at Gymnasium, suppos

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-16 Thread Hilaire
Le 10/06/2015 23:50, Markus Schlager a écrit : > > 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 Off topic, but I am curious as a teacher: how old the pupil

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-15 Thread Nicolai Hess
2015-06-11 10:58 GMT+02:00 Markus Schlager : > issues opened > I added a fix for the broken lastkeystroke,but this will only work for the ActiveWorld/PasteUpMorph, not for any other PasteUpMorph. With the split of PasteUpMorph in PasteUpMorph and WorldMorph, and the change of keystroke handling

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-11 Thread Markus Schlager
issues opened Markus

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-11 Thread Markus Schlager
Hi Johan, On Wed, 10 Jun 2015, Johan Fabry wrote: this is probably not how it should be done, but to get the last keystroke I have been doing the following: World activeHand instVarNamed: #lastKeyScanCode If you find a cleaner way I’d be grateful if you can share it. The solution proposed

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- > >> >> 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

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Markus, > 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 '' independently of any keys I'm > typing. > > f := PasteUpMorph new open

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Johan Fabry
Hi Markus, this is probably not how it should be done, but to get the last keystroke I have been doing the following: World activeHand instVarNamed: #lastKeyScanCode If you find a cleaner way I’d be grateful if you can share it. > On Jun 10, 2015, at 18:50, Markus Schlager wrote: > > Hi, >

[Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Markus Schlager
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 '' independently of any keys I'm typi