[squeak-dev] (UndefinedObject doesNotUnderstand: #selectionRects) when selecting a Font via ctrl+k

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Apr 25 21:43:23 UTC 2022

Shouldn't every un-protected paragraph inst.var. access be replaced with
self paragraph?

Le lun. 25 avr. 2022 à 23:40, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> a écrit :

> On MacOS, in a workspace, cmd+k invokes a FontChooser that works well, but
> ctrl+k invokes a simpler list chooser dialog Moprh that works less well.
> If I select another font in this dialog, I got the MNU from within:
> TextMorphForEditView>>handleInteraction:fromEvent:, because paragraph is
> (temporarily) set to nil
> Note that once the Debugger opens, the paragraph inst.var. is reset to a
> NewParagraph.
> Also note that oldParagrah temporary is a NewParagraph which kind of funny.
> When I inspect paragraph inst.var.ref., I see half are protected the
> ifNotNil: check, half not... The kind of state mutations leaving traps on
> the track.
> Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220425/e03a2182/attachment.html>

More information about the Squeak-dev mailing list