The Inbox: Morphic-nice.683.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Morphic-nice.683.mcz

commits-2
Nicolas Cellier uploaded a new version of Morphic to project The Inbox:
http://source.squeak.org/inbox/Morphic-nice.683.mcz

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