[Lazarus] Help on FCL?

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jan 28 09:48:51 CET 2012


On Sat, 28 Jan 2012 09:18:29 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:

> Mattias Gaertner schrieb:
> 
> >> Or the other way round: what makes the FPDoc Editor look into the right 
> >> directory, when no explicit path is given?
> > 
> > The search works as following:
> > First it searches for the declaration of the identifier.
> > Then it searches for the owner of the unit (e.g. a package)
> > If the package has a fpdoc path, an unitname.xml is searched.
> > Finally if the global fpdoc path is set, an unitname.xml is searched
> > there.
> 
> What's the "global fpdoc path"?

I meant the IDE options.

 
>[...]
> > ToDo: implement something to use the docs of a newer Lazarus Version
> > and newer package versions, where the units may have different owners
> > and paths. Maybe a file with a list of some information like: 
> > for the ideintf.lpk version 1.0.0 to 1.0.2, use fpdoc search path xyz,
> > and a list of unit aliases.
> > The IDE should be able to load several of these files, so that third
> > party packages can use that feature too.
> 
> For units inside the Lazarus directory all package documentation could 
> reside in subdirectories of docs/, by default. Projects and third-party 
> packages could use a docs/ subdirectory of the directory containing the 
> package/project file. IMO users would be happy with such a default 
> search path, before they start to invent their own locations.

You lost me here. 
How does that solve the renamed/moved unit problem?

 
> What about translations? I've asked this question already, some time 
> ago, with no response. There seem to exist no activities to translate 
> the Lazarus docs?

The wiki has some busy translators.
For the fpdoc files: AFAIK none.

Mattias




More information about the Lazarus mailing list