[squeak-dev] The Trunk: Morphic-nice.558.mcz

David T. Lewis lewis at mail.msen.com
Wed Aug 3 18:12:34 UTC 2011


On Wed, Aug 03, 2011 at 04:22:41PM +0000, commits at source.squeak.org wrote:
> Nicolas Cellier uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-nice.558.mcz
> 
> ==================== Summary ====================
> 
> Name: Morphic-nice.558
> Author: nice
> Time: 3 August 2011, 6:22:02.488 pm
> UUID: 236ff443-b885-4221-ac18-c426d6bb5424
> Ancestors: Morphic-ul.557
> 
> ParagraphEditor is an old st-80 class implemented for a polling UI via the use of sensor inst. var..
> TextMorphEditor is a glue that enable using a ParagraphEditor in an event driven morphic world.
> There was a hack for feeding a sensor fake with morphic events.
> This hack was located in TextMorph.
> When 100% morphic Cuis-designed TextEditor was introduced in Squeak-trunk, it was made sensor-dependent instead of sensor-less and purely event driven. This should not be so.
> 
> This version moves the hack where in belongs to, in TextMorphEditor>>fakeSensorWithEvent:
> It also temporarily duplicates it in TextEditor, in the interim before we remove it's sensor inst. var..
> 
> NOTE 1: the hack did also previously apply to #mouseUp: #mouseDown: #mouseUp: events.
> It does not anymore because I saw no use to it.
> If I'm wrong, correct it by sending (self fakeSensorWithEvent: anEvent) in the TextMorphEditor implementation of these messages.
> 
> NOTE2: the change does not change the behaviour of MVC projects. Keyboard typing still "works" (cough...)
> 
> =============== Diff against Morphic-ul.557 ===============

Yay!

Aside from the update itself, this also gets my vote for the best
update comment of the year. It's clear and concise, explaining
what was changed, why it was changed, and how the changes impact
the overall system. Excellent!

Dave




More information about the Squeak-dev mailing list