[squeak-dev] Case sensitive "source with it" works in MVC but not
in Morphic, what to do?
Bert Freudenberg
bert at freudenbergs.de
Mon May 13 10:42:19 UTC 2013
On 2013-05-13, at 02:48, David T. Lewis <lewis at mail.msen.com> wrote:
> On Fri, May 10, 2013 at 09:38:28AM -0400, Bob Arning wrote:
>> Maybe, but what's happening here is in MenuItemMorph:
>>
>> mouseDown: evt
>> "Handle a mouse down event. Menu items get activated when the mouse
>> is over them."
>>
>> evt shiftPressed ifTrue: [ ^super mouseDown: evt ]. "enable label
>> editing"
>> evt hand newMouseFocus: owner. "Redirect to menu for valid transitions"
>> owner selectItem: self event: evt
>>
>> I see this code as far back as squeak 3.2 with a 10/10/2000 date and
>> Andreas's initials. If you comment out the first line, you get the
>> behavior David was looking for. It would be interesting to know who
>> might be using this feature.
>>
>> Cheers,
>> Bob
>
> Aha! I suspect that no one is using that feature at all.
I use it: shift-click followed by CMD-E is the quickest way to look at the implementation behind a menu item. OTOH, a morphic halo menu entry might be more appropriate for that function.
- Bert -
More information about the Squeak-dev
mailing list
|