The Trunk: Morphic-mt.1157.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-mt.1157.mcz

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

==================== 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!