On Thu, 16 Feb 2012 16:48:54 +0100 Sven Barth <[email protected]> wrote:
> Am 16.02.2012 16:23, schrieb waldo kitty: >[...] > Lazarus is doing this, because in theory (currently not possible*) you > could have the following setup: > > * for LCL help use the online documentation > * for RTL help use LHelp (CHM based) > * for FCL help use DocView (INF based) > > All three help systems are registered to the IDE and for each you have > added the corresponding files (e.g. rtl.chm and fcl.inf). Then the IDE > will ask each help system whether it can provide help and in our example > LHelp will answer with "Yes" for all identifiers that belong to rtl.chm. > > I know this example is rather artificial, but that is the purpose of > this help system. > > Note: A more practical use case might be to add third party > documentation that e.g is only available in CHM format, but for RTL, FCL > and LCL documentation you normally use DocView... > > * This is because of at least two reasons: > - the CHM package overrides all databases to itself > - DocView does not yet have an integration package Here is a more practical example: The package externhelp installs help for the windows unit opening a browser on msdn, the gtk2 units, opening the gtk2.org and the postgresql units. It also adds a page to the IDE options where you can define your own additions. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
