[Pkg] The Trunk: Morphic-nice.683.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Sep 23 23:56:31 UTC 2013

Nicolas Cellier uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-nice.683
Author: nice
Time: 20 September 2013, 10:47:32.05 pm
UUID: 3c0205a8-73ce-406f-a9d3-71c03be3335f
Ancestors: Morphic-cmm.682

Use displayWorldSafely rather than doOneCycle in PluggableListMorph.
No idea if it really does the intended preselection job, but at least it avoids all these red morphs of death to yellow cross my workflow.

=============== Diff against Morphic-cmm.682 ===============

Item was changed:
  ----- Method: PluggableListMorph>>changeModelSelection: (in category 'model access') -----
  changeModelSelection: anInteger
  	" Change the model's selected item index to be anInteger. Enable the pre selection highlight. Step the World forward to let the pre selection highlight take effect. "
  	self rowAboutToBecomeSelected: (self uiIndexFor: anInteger).
+ 	World displayWorldSafely.
- 	World doOneCycle.
  	setIndexSelector ifNotNil: [
  		model perform: setIndexSelector with: anInteger ].!

More information about the Packages mailing list