[Lazarus] Help on FCL?

Andrew Haines AndrewD207 at aol.com
Sun Jan 22 03:08:18 CET 2012


On 01/21/12 20:15, Mattias Gaertner wrote:
> On Sat, 21 Jan 2012 19:36:44 -0500
> Andrew Haines <AndrewD207 at aol.com> wrote:

>> At one point I tried to see if installing packages could make available
>> context help files (F1) but was not able to fully understand how to add
>> help databases. (Installing package "x.lpk" makes x.chm available.)
> 
> What do you need?
> 

Honestly at this point I don't remember.

>> And there are different types of help formats (local html files/ http / chm.
>> i.e. there was/is? no straightforward (that I found) way to add that.
> 
> Can you give an example?
> 

It's been probably a year since I looked at this. But I guess my problem
was how do we add a flexible "helpfile" setting to x.lpk?

I need to look at the helpsystem again to be able to answer this properly.

Does laz_xmlconf remember settings that are unknown to the current
lazarus? I want to know if setting for instance
'help/chm/api/filename/value'
'help/chm/ref/filename/value'
'help/chm/xxx/filename/value'
in a lpk would be erased by being modified with a version of lazarus
that was unaware of help/chm help.

I think my main problem was that I couldn't find where the codetools
figured out that the identifier it was looking up was not in the
lcl/fcl/rtl and had no help available for it. That is the point where I
needed to get it to see if the current project or the package the unit
belonged to has help associated with it.

I am still interested in implementing this but in the past I was unable
to follow the logic of connecting an identifier with it's help.

Regards,

Andrew




More information about the Lazarus mailing list