yes, it worked :)

Now I have to wait until the double paste appear!

2009/12/16 Stéphane Ducasse <stephane.duca...@inria.fr>

> yes it seems that there is a problem :)
>
> Houston?
>
> it should be an handMorph
>
> sendKeyboardEvent: anEvent
>        "Send the event to the morph currently holding the focus, or if none
> to
>        the owner of the hand."
>        ServiceShortcuts handleKeystroke: anEvent.
>
>        LastEvents size > 10
>                ifTrue: [LastEvents removeFirst].
>        LastEvents add: anEvent clone.
>
>        ^ self
>                sendEvent: anEvent
>                focus: self keyboardFocus
>                clear: [self keyboardFocus: nil]
>
>
>
>
> tell me if this one works
>
>
> On Dec 16, 2009, at 11:04 AM, Mariano Martinez Peck wrote:
>
> > When I try to file in the .ch I get a sintax error
> >
> > Nothing more expected ->sendKeyboardEvent: anEvent
> >     "Send the event to the morph currently holding the focus, or if none
> to
> >     the owner of the hand."
> >     ServiceShortcuts handleKeystroke: anEvent.
> >
> >     LastEvents size > 10
> >         ifTrue: [LastEvents removeFirst].
> >     LastEvents add: anEvent clone.
> >
> >     ^ self
> >         sendEvent: anEvent
> >         focus: self keyboardFocus
> >         clear: [self keyboardFocus: nil]
> >
> >
> > stef, did it work for you?
> >
> >
> > 2009/12/16 Stéphane Ducasse <stephane.duca...@inria.fr>
> > > Hi all,
> > >
> > > attached a little patch to capture events and paste buffer.
> > >
> > > If you encounter a double paste please take a look at
> > > LastClipPaste and LastEvents.
> > >
> > > If this doesn't provide any clue, I will work out a more aggressive
> tracing approach.
> > >
> > > Didn't send it to the list as it patches into system methods.
> >
> > So as mike says pay attention this is hackish :)
> > >
> > > Michael
> >
> > >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > Pharo-project@lists.gforge.inria.fr
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to