Re: [Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Igor Stasenko
2010/1/13 Michael Rueger : > On 1/13/2010 11:13 AM, Igor Stasenko wrote: > >> Next step is removing a direct reference to Sensor global, and replace >> it with something like: >> >> self eventSensor > > No, that is fixing a sympton, not the problem. > (John will love this ;-) ) > > You would still

Re: [Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Stéphane Ducasse
thanks mike I really want to clean that part too. And we will do it. This is why I need a bit of supervision and time. Stef On Jan 13, 2010, at 11:20 AM, Michael Rueger wrote: > On 1/13/2010 11:13 AM, Igor Stasenko wrote: > >> Next step is removing a direct reference to Sensor global, and

Re: [Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Michael Rueger
On 1/13/2010 11:13 AM, Igor Stasenko wrote: > Next step is removing a direct reference to Sensor global, and replace > it with something like: > > self eventSensor No, that is fixing a sympton, not the problem. (John will love this ;-) ) You would still be polling the sensor. There should be no

Re: [Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Igor Stasenko
2010/1/13 Stéphane Ducasse : >> >>> do you have one example so that I can evaluate? >> >> there are differents use cases of referencing Sensor (Except examples which >> could simple be removed from the image). >> >> - asking for the current cursor position (which is the majority of the >> referen

[Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Stéphane Ducasse
> >> do you have one example so that I can evaluate? > > there are differents use cases of referencing Sensor (Except examples which > could simple be removed from the image). > > - asking for the current cursor position (which is the majority of the > references) > e.g. > 'Scanning ', aFile l

[Pharo-project] InputSensor next step cleanup

2010-01-13 Thread Stéphane Ducasse
> >> what are the next steps with should do for the >> >> Sensor references in the system >> 166 >> and the >> >> I would really to do some steps in the direction of cleaning what should be >> left to do. >> >> I'm confused by the comment >> >> "The usage of these funtions