The Trunk: Morphic-cmfcmf.1496.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-cmfcmf.1496.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-cmfcmf.1496.mcz

==================== Summary ====================

Name: Morphic-cmfcmf.1496
Author: cmfcmf
Time: 1 August 2019, 6:57:12.047202 pm
UUID: 34f7313a-f70a-3542-bd4d-9657b63cd95e
Ancestors: Morphic-mt.1495

Use MenuMorph>>popUpEvent:in: instead of not existing MenuMorph>>openAt: when yellow button clicking on a TextAttribute with >>menu defined.

=============== Diff against Morphic-mt.1495 ===============

Item was changed:
  ----- Method: TextEditor>>yellowButtonDown: (in category 'events') -----
  yellowButtonDown: event
  "Process a yellow button event. Answer true if the event was handled, false otherwise."
  (paragraph attributesAt: event cursorPoint) do:[:attr|
  attr menu ifNotNil:[
+ attr menu
+ setInvokingView: self morph editView;
+ popUpEvent: event in: self morph world.
- attr menu openAt: event cursorPoint.
  ^true]].
  ^false!