[squeak-dev] The Trunk: Morphic-mtf.491.mcz

Matthew Fulmer tapplek at gmail.com
Tue Dec 14 03:47:16 UTC 2010


On Tue, Dec 14, 2010 at 02:54:35AM +0100, Nicolas Cellier wrote:
> Err...
> There is no implementor of #yellowButtonDown: in my trunk image...
> The yellow menu is now out of service...

Hmm. this isn't supposed to be in trunk. you are right. This is
supposed to be an override in tweak, but is showing up in the
morphic package incorrectly and I commited it. MC still handles
overrides wrong then. sigh. 

yellowButtonDown: is an extention to ParagraphEditor in Tweak,
and ultimately allows text attributes to specify their own
context menu, which is used in the tweak code browser. I can
either commit the rest of this change (4 methods) to trunk, or
have someone remove this version (491) and version 495

> Nicolas
> 
> 2010/12/13  <commits at source.squeak.org>:
> > Matthew Fulmer uploaded a new version of Morphic to project The Trunk:
> > http://source.squeak.org/trunk/Morphic-mtf.491.mcz
> >
> > ==================== Summary ====================
> >
> > Name: Morphic-mtf.491
> > Author: mtf
> > Time: 10 December 2010, 12:23:08.546 pm
> > UUID: 54f2e960-5208-4eba-b121-abaca6f89c05
> > Ancestors: Morphic-ul.490
> >
> > Allow the right-click menus on Tweak fields in the Tweak Browser to work
> >
> > =============== Diff against Morphic-ul.490 ===============
> >
> > Item was changed:
> >  ----- Method: TextMorphForEditView>>mouseDown: (in category 'event handling') -----
> >  mouseDown: event
> >
> > +       event yellowButtonPressed ifTrue: [
> > +               (editor yellowButtonDown: event) ifTrue:[^self].
> > +               ^ editView yellowButtonActivity: event shiftPressed].
> > -       event yellowButtonPressed ifTrue: [^ editView yellowButtonActivity: event shiftPressed].
> >        ^ super mouseDown: event
> >  !
> >
> >
> >
> 

-- 
Matthew Fulmer (a.k.a. Tapple)



More information about the Squeak-dev mailing list