[squeak-dev] hb := HelpBrowserB openOn: TerseGuideHelp. hb model. --> a HelpBrowser

Eduardo Ochs eduardoochs at gmail.com
Wed Mar 1 03:12:10 UTC 2023


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 at gmail.com> wrote:

> Hi list,
>
> earlier today, in this other thread,
>
>
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2023-February/223584.html
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20230301/b62513e0/attachment.html>


More information about the Squeak-dev mailing list