[fpc-devel] fpdoc inherited entries

Mattias Gärtner nc-gaertnma at netcologne.de
Mon Feb 18 12:36:18 CET 2008


Zitat von Michael Van Canneyt <michael at freepascal.org>:

>
>
> On Sun, 17 Feb 2008, Mattias Gaertner wrote:
>
> >
> > In the LCL there is documentation for TControl.Caption which is useful
> > for all descendant classes like TButton.Caption too. It would be nice
> > if fpdoc shows the content of TControl.Caption if TButton.Caption does
> > not have a value or at least show a link to the inherited entries.
> >
> > Comments?
>
> This is in mantis as a feature request, but it is not easy to implement.

I added a button to the IDE built in fpdoc editor to automatically create a 'see
also' link to the next documented ancestor entry.


> Feel free to do a proposition. I'll then do the implementation :-)

That's an amazing offer.

fpdoc already knows the ancestor classes. So it should be possible to find out
the ancestor property/method/variable, right? (It's ok if the overridden method
search is not 100% perfect)

If yes, then it might be possible to traverse through all ancestors and find the
next existing short description, right?


Mattias



More information about the fpc-devel mailing list