[squeak-dev] Sanity check - changeTextFont

Gary Dunn garydunnhi at gmail.com
Mon May 2 22:18:31 UTC 2011


Looking into why yellowButtonMenu set font does not work while CTRL-K
does. Have gotten as far as discovering that the value of paragraph
var is wrong when changeTextFont is called from yellowButtonMenu.
Appears to be old, deleted text, some sort of undo buffer gone bad.
Just discovered that changeTextFont is being called from two different
directions. For the yellowButtonMenu -- the broken one -- it comes via
ScrollableField (yes, this is a scrolling text morph). For CTRL-K it
is called from SmalltalkEditor.

I'm going for a run. I won't get back to this for a couple hours. I
would appreciate any insights, suggestions, warnings or wave-offs
anyone cares to make during that time. The code seems terribly
convoluted. Is it just me?

-- 
Gary Dunn
Honolulu



More information about the Squeak-dev mailing list