IDE Window: Help Options

From Lazarus wiki
Revision as of 22:19, 13 September 2011 by Nashev (talk | contribs) (wrong URL)

General tab

Todo

Viewers tab

Todo

(Help for this tab should be presented in hints, because when nothing is yet configured...)

Windows: (Help on Windows should simply use "open" with the document type, but...) For "HTML Browser" set BrowserPath to your <browser>.exe. That's all, for now.

Databases tab

Download HTML Help from folder http://sourceforge.net/projects/lazarus-ccr/files/FPC%2BLazarus%20doc-html/

Release notes: This file contains the tarred and bzip2ed html documents used for the context sensitive help.

For the remainder this instruction assumes you have installed Lazarus in c:\lazarus, and you want to use the default subdirectory c:\lazarus\docs\doc-html\. In what follows, adjust the path according to your installation.

First, extract this file to c:\lazarus\docs\doc-html. You now have subdirectories like rtl and lcl. In lazarus, go to Help -> Configure Help -> Databases tab.

(The stupid setup doesn't provide any default, and requires to specifiy each subdirectory, instead of only the common path, so...) Select RTLUnits in the left pane and browse to c:\lazarus\docs\doc-html\rtl in the BaseURL property.

The BaseURL property contains now: 'file://c:/lazarus/docs/doc-html/rtl'. The URL on a *nix might look like: 'file:///home/myhome/lazarus/docs/doc-html/rtl'.

Similarly change the BaseURL for the FCLUnits and LCLUnits help databases by replacing rtl by fcl rsp. lcl in the url.

ToDo: suggested StartPage?