The Trunk: Morphic-bf.1320.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-bf.1320.mcz

commits-2
Bert Freudenberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-bf.1320.mcz

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

Name: Morphic-bf.1320
Author: bf
Time: 2 February 2017, 7:58:59.259248 am
UUID: 86c0cec8-927f-4a7a-a887-7acd59557096
Ancestors: Morphic-mdlh.1319

Fix steptime in UpdatingTextMorph by removing obsolete startSteppingSubmorphs mechanism. Nowadays the intoWorld mechanism in addMorph takes care of adding submorphs to stepList.
TODO: remove senders and deprecate

=============== Diff against Morphic-mdlh.1319 ===============

Item was changed:
  ----- Method: PasteUpMorph>>startSteppingSubmorphsOf: (in category 'world state') -----
  startSteppingSubmorphsOf: aMorph
-
  "Ensure that all submorphs of the given morph that want to be stepped are added to the step list.   Typically used after adding a morph to the world."
 
+ self flag: #obsolete. "the intoWorld mechanism in addMorph nowadays takes care of adding submorphs to steplist"
- aMorph allMorphsDo: [:m |
- m wantsSteps ifTrue: [m arrangeToStartSteppingIn: m world].
- ]
 
+ " aMorph allMorphsDo: [:m |
+ aMorph ~~ m & m wantsSteps ifTrue: [
+ m arrangeToStartSteppingIn: m world]].
+ "
+
  !