NBHelp in Squeak (Re: [squeak-dev] Re: Why FFI is not included with latest squeak ?)

Levente Uzonyi leves at elte.hu
Wed Aug 22 01:05:22 UTC 2012


On Wed, 22 Aug 2012, Igor Stasenko wrote:

> On 22 August 2012 02:11, Levente Uzonyi <leves at elte.hu> wrote:
>> On Wed, 22 Aug 2012, Igor Stasenko wrote:
>>
>>> On 22 August 2012 00:04, Levente Uzonyi <leves at elte.hu> wrote:
>>>>
>>>> On Tue, 21 Aug 2012, Igor Stasenko wrote:
>>>>
>>>>> On 21 August 2012 23:20, dimitris chloupis <thekilon at yahoo.co.uk> wrote:
>>>>>>
>>>>>>
>>>>>> Ah thank you , I had version 1 and now version 4 is installed together
>>>>>> with
>>>>>> all dependencies. Any idea how I use NB-help ?
>>>>>>
>>>>>
>>>>> i don't know how you can do it in squeak image, in pharo image just
>>>>> open help browser
>>>>
>>>>
>>>>
>>>> It uses too many "pharoisms", so it won't work in Squeak out of the box:
>>>> - Gofer
>>>> - LogicalFont
>>>> - StandardFonts
>>>> - pragma-based "registration" for HelpSystem
>>>>
>>>> The first can be loaded, the lines containing the next two can be
>>>> replaced
>>>> with "TextStyle defaultFont" and then you can open the HelpBrowser with:
>>>> HelpBrowser openOn: NBHelp asHelpTopic.
>>>>
>>>> Btw, green text for source code doesn't look very nice and it would be
>>>> better to use the Metacello API to load PP.
>>>>
>>>
>>> I never tried it on squeak, so sure thing it may not work.
>>
>>
>> Sure.
>>
>>
>>> I have two questions:
>>> - why LogicalFont considered pharoism?
>>> (StandardFonts is, but LogicalFont?)
>>
>>
>> Because it doesn't exist in Squeak.
>>
>>
>>> and
>>> - what is the metacello API you mentioned. I don't know much about
>>> metacello beyond the way how to create and manage own configs. Any
>>> pointers?
>>
>>
>> https://github.com/dalehenrich/metacello-work/blob/master/docs/MetacelloUserGuide.md
>>
>>
>>>
>>> how i can use it, if metacello is not installed by default in image?
>>
>>
>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2012-August/165199.html
>>
>>
>>> (well, of course, by all logic people will load NB anyways, so i can
>>> safely assume it already in image)
>>
>>
>> Um, a few mails before you wrote that NBHelp can be loaded without NB, so
>> that was what I did. :)
>>
> So, i repeating my question, how you can use Metacello API to load
> something, if it not in image?

You can't. But the idea is that it will be present in all base images.


Levente

>
>>
>> Levente
>>
>>
>>>
>>>>
>>>> Levente
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko.
>>>
>>>
>>
>
>
>
> -- 
> Best regards,
> Igor Stasenko.
>
>


More information about the Squeak-dev mailing list