[Lazarus] lHelp improvements

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Dec 28 23:38:28 CET 2020


On Mon, 28 Dec 2020 21:05:00 +0100
Marco van de Voort via lazarus <lazarus at lists.lazarus-ide.org> wrote:

>[...]
> It is wise to bring this up early, because it might require changes
> to the general LazarusĀ  help system, since lhelp needs to get a list
> of registered help files at once (so it can manage the combined index 
> together) rather than individually.

Querying all registered help databases is easy:

lcl unit lazhelpintf
for i:=0 to HelpDatabases.Count-1 do
  HelpDatabases[i]...

For example the IDE registers fpdoc help for RTL, FCL and LCL to
open the lazarus-ccr web pages.

The chmhelppkg replaces them with its own and opens chm files instead.
So, if you are only interested in chm files, see the chmhelppkg package.

 
> This is also the reason the CHM package does not support it yet,
> because it
> 
> 
> > Creating a new chm package additions also requires a lot of time.  

If you are talking about creating a chm file from the fpdoc files of a
package:
It would be nice if the chmhelppkg could add a button to the package
editor to create or update a chm file.


>[...]

Mattias


More information about the lazarus mailing list