[FIX][BUG]UndefinedObject(Object)>>doesNotUnderstand: #focused:

htylim at yahoo.com.ar htylim at yahoo.com.ar
Thu Apr 1 18:47:08 UTC 2004


Hi, 

Poking a little I found that the problem is on
TextMorph>>keyboardFocusChange: first line:

	paragraph focused: aBoolean

Which was added on 5849TextMorphSelectionFix-rr

I read on TextMorph>>paragraph's comment that paragraph instantiation is
lazy so I think that we should use here the getter instead of accesing
directly to the variable.  Attached is my proposed fix but please
someone review it first because I know nothing of TextMorphs.

Regards,
Hernán
-------------- next part --------------
A non-text attachment was scrubbed...
Name: focusedFix-hpt.cs.gz
Type: application/octet-stream
Size: 421 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040401/d48b3574/focusedFix-hpt.cs.obj


More information about the Squeak-dev mailing list