[Lazarus] Building help files: the nitty-gritty
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Jul 16 16:55:27 CEST 2012
On Mon, 16 Jul 2012 14:41:12 +0000
Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
> Mattias Gaertner wrote:
>[...]
> 42 {$R *.res}
> 43
> 44 begin
> 45 Application.Initialize;
>
> Hitting F1 on 'Application' console shows:
>
> TIDEHelpManager.ShowHelpForSourcePosition A
> Filename=/usr/local/src/heavywethers/trunk/HeavyWethers.lpr x=6,y=45
> TIDEHelpManager.ShowHelpForSourcePosition B Success 1
> TIDEHelpManager.ShowHelpForSourcePosition C
> /usr/local/share/lazarus-trunk/lcl/forms.pp X=3 Y=1706
> TIDEHelpManager.ShowHelpForSourcePosition D PascalHelpContextLists.Count=1
> THelpDatabase.GetNodesForPascalContexts C
> FileItem.ClassName=THelpDBISourceDirectory
> Filename=/usr/local/share/lazarus-trunk/lcl/forms.pp 1
> TFPDocHTMLHelpDatabase.ShowHelp A Unitname=forms NewNode.HelpType=1
> NewNode.Title=LCL - Lazarus Component Library Units
> NewNode.URL=file://index.html
> TFPDocHTMLHelpDatabase.ShowHelp Filename="application." UnitName="forms"
> TFPDocHTMLHelpDatabase.ShowHelp BaseURL of Node.URL=""
> TFPDocHTMLHelpDatabase.ShowHelp GetEffectiveBaseURL="lcl.chm://"
> THTMLHelpDatabase.ShowURL B URL=lcl.chm://forms/application.html
> URLType=lcl.chm URLPath=forms/application.html URLParams=
> TChmHelpViewer.ShowNode Filename="lcl.chm"
> SearchPath="/usr/local/share/lazarus-trunk/docs/html/lcl"
> Found="/usr/local/share/lazarus-trunk/docs/html/lcl/lcl.chm"
It searched lcl identifier "Application.Initialize" and found lcl.chm.
Good.
>[...]
> Moving up to 'begin' and hitting F1, lhelp gains a reference guide
> section and displays appropriate info, debug shows:
>
> TIDEHelpManager.ShowHelpForSourcePosition A
> Filename=/usr/local/src/heavywethers/trunk/HeavyWethers.lpr x=3,y=44
> TChmHelpViewer.ShowNode Filename="ref.chm"
> SearchPath="/usr/local/share/lazarus-trunk/docs/html/lcl"
> Found="/usr/local/share/lazarus-trunk/docs/chm/ref.chm"
It searched keyword "begin" and found ref.chm. Good.
What do you expect?
Mattias
More information about the Lazarus
mailing list