[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Fri Sep 2 23:55:09 UTC 2011


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2011-September/004942.html

Name: Morphic-nice.572
Ancestors: Morphic-cmm.571

1) Restore ancient behaviour of selecting whole text when clicking twice before first, or twice after last character.

2) avoid mutating the class of an instVar gratuitously in MouseOverHandler>>processMouseOver: 
	enteredMorphs := enteredMorphs contents.
The enteredMorphs inst var should be either a Stream or a Collection, but not sometimes a Stream, sometimes a Collection,.
The finite state machine coded in MouseOverHandler is already complex enough IMHO.
Such tricks are traps on future programmers track and are contributing to the fragility of construction.
Unless Stream and Collection become polymorphic of course, but in this case, mutating the class would be quite useless...

=============================================



More information about the Squeak-dev mailing list