Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-07

LazDe enhancement

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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.

Reply by email