[squeak-dev] The Trunk: Morphic-dtl.1459.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 3 01:13:45 UTC 2018

David T. Lewis uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-dtl.1459
Author: dtl
Time: 2 July 2018, 9:13:27.506225 pm
UUID: dea580bf-a9ac-401c-88b9-c9dd2b7eb101
Ancestors: Morphic-cmm.1458

Morph>>openNearMorph should open in a world. If the nearby morph does not know its world and self does not know either, then fall back on Project current world as a sensible place to be opened.

This fixes the first of possibly several bugs identified in the test case described at GenericPropertiesMorph allSubInstances. The remaining bug(s) involve Etoys integration. The #thingsToRevert in GenericPropertiesMorph is expected to be a Dictionary, but subclass TextPropertiesMorph from Etoys makes it an OrderedCollection of associations. The (earlier) Dictionary implementation appears correct, so the TextPropertiesmorph>>initialize from Etoys-Experimental should probably be changed to match the earlier implementation.

=============== Diff against Morphic-cmm.1458 ===============

Item was changed:
  ----- Method: Morph>>openNearMorph: (in category 'initialization') -----
  openNearMorph: aMorph 
  		openNear: aMorph boundsInWorld
+ 		in: (aMorph world
+ 				ifNil: [self world
+ 						ifNil: [Project current world]])!
- 		in: (aMorph world ifNil: [ self world ])!

More information about the Squeak-dev mailing list