BlockContext serialization

Ned Konz ned at bike-nomad.com
Tue Mar 4 16:42:25 UTC 2003


On Tuesday 04 March 2003 07:49 am, Stephane Rollandin wrote:

> a ScaleMorph can not be written to a file (nor serialized with
> SIXX) because of its tickPrintBlock
> inst var which is a BlockContext.
>
> is that a bug or a feature ?

A bug, I think.

> is there a workaround, apart from saving the whole project around
> the morph ?

Change the ScaleMorph code to use a Message and then use #sentTo: 
instead of #value: ?

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list