Hi list,
earlier today, in this other thread,
http://lists.squeakfoundation.org/pipermail/squeak-dev/2023-February/223584....
I was trying to create a subclass of HelpBrowser, called HelpBrowserB, that would behave in a slightly modified way... to make things trivial to test, suppose that we create it like this:
HelpBrowser subclass: #HelpBrowserB instanceVariableNames: 'bindings' classVariableNames: 'LookupPools' poolDictionaries: '' category: 'Category-Edrx'
Then if we run this with "print it",
hb := HelpBrowserB openOn: TerseGuideHelp. hb model.
the result is "a HelpBrowser", not "a HelpBrowserB".
Is that intentional or a bug?
Thanks in advance! Eduardo Ochs http://anggtwu.net/eev-squeak.html
Hi all, after spending some time in the debugger I found that what I needed was just this...
HelpBrowserB class >> defaultHelpBrowser ^ HelpBrowserB.
Sorry for the noise! Cheers, Eduardo...
On Tue, 28 Feb 2023 at 22:29, Eduardo Ochs eduardoochs@gmail.com wrote:
Hi list,
earlier today, in this other thread,
http://lists.squeakfoundation.org/pipermail/squeak-dev/2023-February/223584....
I was trying to create a subclass of HelpBrowser, called HelpBrowserB, that would behave in a slightly modified way... to make things trivial to test, suppose that we create it like this:
HelpBrowser subclass: #HelpBrowserB instanceVariableNames: 'bindings' classVariableNames: 'LookupPools' poolDictionaries: '' category: 'Category-Edrx'
Then if we run this with "print it",
hb := HelpBrowserB openOn: TerseGuideHelp. hb model.
the result is "a HelpBrowser", not "a HelpBrowserB".
Is that intentional or a bug?
Thanks in advance! Eduardo Ochs http://anggtwu.net/eev-squeak.html
squeak-dev@lists.squeakfoundation.org