[Lazarus] fpdoc + XML description file + indentation whitespace

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Feb 9 08:23:56 CET 2012


Mattias Gaertner schrieb:

> Maybe this is not a good example, because this is already wrong in the
> fpdoc document:
> 
>           <pre>naAdd,           // add as last sibling of Destination
>     naAddFirst,      // add as first sibling of Destination
>     naAddChild,      // add as last child of Destination
>     naAddChildFirst, // add as first child of Destination
>     naInsert,        // insert in front of Destination
>     naInsertBehind   // insert behind Destination
> </pre>
> 
> Note: fpdoc has correctly converted the element to HTML.

A simple modification could help:
Let all preformatted text start on a new line, not directly after <pre> 
or <code>. The document generators can remove that additional line 
ending, if required.

DoDi





More information about the Lazarus mailing list