[squeak-dev] The Trunk: Morphic-cmfcmf.1496.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Aug 22 13:43:56 UTC 2019


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!



More information about the Squeak-dev mailing list