[Lazarus] FPDoc Editor fails on namespace dotted unit names?

Sven Barth pascaldragon at googlemail.com
Sun Apr 14 09:41:01 CEST 2013


On 14.04.2013 00:38, Mattias Gaertner wrote:
> On Sat, 13 Apr 2013 17:30:15 -0400
> Anthony Walter <sysrpl at gmail.com> wrote:
>
>> It would seem that the Lazarus IDE integrated documentation editor fails to
>> work with units which use dotted names. For example:
>>
>> unit MyCompany.Utilities.Text;
>>
>> Can someone verify this for me? I am preparing some OSS pascal packages (a
>> cross platforming gaming library) which use the above pattern for unit
>> organization and was hoping to start writing documentation.
>
> I'm curious: why do you use dots instead of for example underscores?

Why shouldn't you? Also in difference to underscores each part of the 
dotted unit name will be a unique symbol. E.g. for a unit name like 
System.Collection.Generics all three parts will be a symbol so you can't 
use them in your code (can be considered both an advantage and a 
disadvantage).

Also FPC will in the future also provide units with dotted unitnames to 
increase compatibility with Delphi XE2 and newer.

Regards,
Sven





More information about the Lazarus mailing list