[Lazarus] ChmHelpPkg: better way to show all CHMs when starting lhelp?

Reinier Olislagers reinierolislagers at gmail.com
Sat Dec 15 16:24:11 CET 2012


On 15-12-2012 12:43, Reinier Olislagers wrote:
>> On 21-7-2012 13:56, Reinier Olislagers wrote:
>>> Editing ChmHelpPkg to try and solve bug 22110 Help (at least CHM help)
>>> should open all help files to enable content/index search
>>>
>>> I want to open all .chm files in the help database when starting up
>>> lhelp, which allows browsing and searching through the entire
>>> documentation set.
>>>
>>> See modified code below.
> By explicitly adding an 'application/x-chm' mime type to some CHM help
> database classes, I now got the LCL.CHM help to open in addition to
> whatever lhelp will search for (and I'm avoiding opening online help).
> However, I still don't get e.g. rtl.chm open... what code would I need
> to edit there?
> 
> Wondering if this is the right way to go?
> Isn't there some way to recurse through all *.chm files in the chmd
> files dir and open the corresponding table of contents URL/node?

Thanks for the overwhelming responses ;)

Ok, I got all chms to open now, please see patch at
http://bugs.freepascal.org/view.php?id=22110

Thanks,
Reinier




More information about the Lazarus mailing list