[Lazarus] LazDe enhancement

Michael Van Canneyt michael at freepascal.org
Tue Jul 26 21:04:55 CEST 2011


Hello,

At the request of Hans-Peter Diettrich (DoDi), I programmed a little extension 
to the lazde documentation file editor. It can now be opened with the 
editor opened on a certain element node:

This can be done using the --element=path.to.element option.

The following will show the help for rtl.system.writeln

lazde --element=rtl.system.writeln system.xml

the package name can be ommitted if there is only 1 package in the file:

lazde --element=system.writeln system.xml

if there is only 1 module (unit) then you can omit the module name as well:

lazde --element=writeln system.xml

All this is committed in lazarus revision 31807.

Note that the --element option MUST be BEFORE the filename.

For instance

lazde --element=rtl.system.writeln system.xml --element=rtl.classes.tstream classes.xml

will open 2 files: system.xml and classes.xml.

The first will be opened on system.writeln, the second on classes.tstream

Michael.




More information about the Lazarus mailing list