[squeak-dev] Editor in trunk and Cuis

Ross Boylan ross at biostat.ucsf.edu
Sat Mar 13 21:02:35 UTC 2010


Are there plans to port the latest Cuis Editor changes to the trunk?

My understanding is that the "new" text classes in trunk (including
Editor) are imported from Cuis.  However, even when I get the latest
trunk code updates, I see that Editor in trunk has a sensor instance
variable.  Editor in Cuis 2.2 does not.

While the earlier Cuis changes broke the formal dependency of the text
editors on MVC, since Editor ceased to be a sublcass of an MVC class,
they left a lot of the cruft.  Specifically, there was a lot of polling
of the sensor to get keyboard events, rather than using the Morphic
mechanisms that do the same thing.  I think Juan has cleaned this up in
the more recent Cuis releases--fantastic work; thank Juan!

I care because I'd like to get an autocompletion widget in Morphic, and
I'd much rather build on something that is relatively simple than
something that is, in my opinion, a mess.  However, the applications
that need the widget will benefit from magma.  It seems reasonable to
hope that magma will someday work on the trunk, or a release image based
on it.  So I'd hate to work on my widget and then not be able to use it.

I realize that the port from Cuis to squeak is complicated by the need
to support Unicode, and quite possibly other things as well.

Ross Boylan




More information about the Squeak-dev mailing list