[Pkg] The Trunk: Morphic-mt.1157.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jun 1 14:45:49 UTC 2016

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-mt.1157
Author: mt
Time: 1 June 2016, 4:45:15.847666 pm
UUID: b3500079-b6e7-af43-9e06-7df9250fb1f8
Ancestors: Morphic-mt.1156

Grab the keyboard focus if models request that. Models have to use the respective selectors (get or set) so that the correct widget will grab the keyboard focus.

=============== Diff against Morphic-mt.1156 ===============

Item was added:
+ ----- Method: PluggableListMorph>>update:with: (in category 'updating') -----
+ update: aSymbol with: arg1
+ 	(aSymbol == #inputRequested and: [getIndexSelector == arg1 or: [setIndexSelector == arg1]])
+ 		ifTrue: [self activeHand newKeyboardFocus: self].
+ 	super update: aSymbol with: arg1.!

Item was added:
+ ----- Method: PluggableTextMorph>>setTextSelector (in category 'accessing') -----
+ setTextSelector
+ 	^setTextSelector!

Item was changed:
  ----- Method: PluggableTextMorph>>update:with: (in category 'updating') -----
  update: aSymbol with: arg1
  	aSymbol == #editString ifTrue:[
  		self editString: arg1.
  		self hasUnacceptedEdits: true.
+ 	(aSymbol == #inputRequested and: [self getTextSelector == arg1 or: [self setTextSelector == arg1]])
+ 		ifTrue: [self activeHand newKeyboardFocus: self].
  	^super update: aSymbol with: arg1!

More information about the Packages mailing list