[squeak-dev] The Inbox: Morphic-mtf.496.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 14 04:23:49 UTC 2010


Matthew Fulmer uploaded a new version of Morphic to project The Inbox:
http://source.squeak.org/inbox/Morphic-mtf.496.mcz

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

Name: Morphic-mtf.496
Author: mtf
Time: 13 December 2010, 11:20:56.986 pm
UUID: 80549c3e-0dd2-454e-9992-eda031807954
Ancestors: Morphic-mtf.495

Commited the remainder of the change that lets textAttributes have their own poppup menu. Requires Collections-mtf.417

=============== Diff against Morphic-mtf.495 ===============

Item was added:
+ ----- 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 openAt: event cursorPoint.
+ 			^true]].
+ 	^false!

Item was added:
+ ----- Method: TextMorphEditor>>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 openAt: event cursorPoint.
+ 			^true]].
+ 	^false!




More information about the Squeak-dev mailing list