DDoc and @comments

Jarrett Billingsley kb3ctd2 at yahoo.com
Sat Mar 1 18:50:00 PST 2008


"Ty Tower" <tytower at hotmail.com.au> wrote in message 
news:fqcsnj$eah$1 at digitalmars.com...
> I notice with DDoc that some new lines are missed  where @comments are 
> concerned
>
> here is an example of what is produced
>
> this(Composite parent, int style);
> Constructs a new instance of this class given its parent and a style value 
> describing its behavior and appearance.
> The style value is either one of the style constants defined in class DWT 
> which is applicable to instances of this class, or must be built by 
> bitwise OR'ing together (that is,  using the int "|" operator) two or more 
> of those DWT style constants. The class description lists the style 
> constants that are applicable to the class. Style bits are also inherited 
> from superclasses.
>
> @param parent a widget which will be the parent of the new instance 
> (cannot be null) @param style the style of widget to construct
>
> @exception IllegalArgumentException
> ERROR_NULL_ARGUMENT - if the parent is null
> @exception DWTException
> ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created 
> the parent
>
>
> @see DWT#NO_BACKGROUND @see DWT#NO_FOCUS @see DWT#NO_MERGE_PAINTS @see 
> DWT#NO_REDRAW_RESIZE @see DWT#NO_RADIO_GROUP @see Widget#getStyle
>
> in the code they are as so
> @see DWT#NO_BACKGROUND
> @see DWT#NO_FOCUS
> @see DWT#NO_MERGE_PAINTS
> @see DWT#NO_REDRAW_RESIZE
> @see DWT#NO_RADIO_GROUP
> @see Widget#getStyle

Have you read the DDoc documentation?

http://www.digitalmars.com/d/1.0/ddoc.html

It doesn't use the same syntax as doxygen. 





More information about the Digitalmars-d mailing list