<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Dec 20, 2014 at 9:18 AM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:mailinglists@geldenhuys.co.uk" target="_blank">mailinglists@geldenhuys.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On 2014-12-20 11:29, Mattias Gaertner wrote:<br>
> What does it not allow exactly?<br>
<br>
</span>The built-in editor does very weird indentation, and there is no option<br>
to switch indentation off completely. Here is a quick example I just<br>
created with the built-in editor. Also note that the built-in editor<br>
simply appends to the end of the file. So the <module> description is<br>
somewhere in the middle of the file because I didn't write it first (I<br>
know it doesn't matter to fpdoc, but it does to me).<br>
<br>
================================<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<fpdoc-descriptions><br>
<package name="project1"><br>
<module name="mycomponent"><br>
<element name="TMyComponent"><br>
<short>My short description</short><br>
<descr><printshort id="TMyComponent"/>. My long description goes<br>
here.</descr><br>
<seealso>TObject</seealso><br>
</element><br>
<descr><p>This unit contains my cool component.</p><p>It is just<br>
what I wanted.</p><br>
</descr><element name="TMyComponent.Name"><short>Describes the<br>
name of the object</short><br>
</element><br>
</module><br>
</package><br>
</fpdoc-descriptions><br>
=================================<br>
<br>
I would have written it manually as follows to make sure fpdoc doesn't<br>
get whitespace errors, plus I have more control over ordering the<br>
documentation (not that it really makes a difference to fpdoc).<br>
<br>
==================================<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<fpdoc-descriptions><br>
<package name="project1"><br>
<br>
<module name="mycomponent"><br>
<descr><p>This unit contains my cool component.</p><p>It is just what I<br>
wanted.</p></descr><br>
<br>
<element name="TMyComponent"><br>
<short>My short description</short><br>
<descr><printshort id="TMyComponent"/>. My long description goes<br>
here.</descr><br>
<seealso>TObject</seealso><br>
</element><br>
<br>
<element name="TMyComponent.Name"><br>
<short>Describes the name of the object</short><br>
</element><br>
</module><br>
<br>
</package><br>
</fpdoc-descriptions><br>
==================================<br>
<br>
<br>
Doing it manually with code templates, I'm just as fast as the built-in<br>
editor, so it's note a speed thing. ;-)</blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">So why not add this option in the built-in editor? It seems a nice alternative to who want work using only Lazarus IDE. =)<br></div><div class="gmail_extra"><br></div>--<br><div class="gmail_signature">Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a></div>
</div></div>