[squeak-dev] whisker browser

Martin Kuball martinkuball at web.de
Sun May 24 13:26:23 UTC 2020


Hi!

I haven't used squeak for programing in years (yes, I know it's sad). Now that
I do, I noticed that there is no whisker package for 5.3. Well actually there
seems to be no package at all any more. So my question is, does anybody has a
whisker version that plays well with the current squeak version?

Meanwhile I loaded the version I used in 3.9. Had to fix some deprecated
warnings and some errors during initialization. I have it running now. But
it's missing some of the new features - like the icons - of the system
browser.

While fixing the errors I noticed the following method:

StringMorph>>font: aFont emphasis: emphasisCode

	self
		setFont: ((aFont isNil or: [aFont emphasis = emphasisCode] or:
[emphasisCode isNil])
			ifTrue: [aFont]
			ifFalse: [aFont emphasized: emphasisCode])
		emphasis: (emphasisCode ifNil: [aFont emphasis]).

The check (aFont isNil) seems to imply that nil is a valid value here. But if
you try, the method fails at [aFont emphasis].

Martin





More information about the Squeak-dev mailing list