On Mon, 30 Apr 2012 09:50:30 +0100 Howard Page-Clark <[email protected]> wrote:
> On 30/4/12 9:23, Mattias Gaertner wrote: > > On Mon, 30 Apr 2012 10:03:41 +0200 (CEST) > > Michael Van Canneyt<[email protected]> wrote: > > > >> > >> Hi, > >> > >> The lazarus code editor shows tooltip hints about identifiers; It gets > >> those > >> from the sources or even fpdoc. > >> > >> Is there any reason why the object inspector would not be able to offer > >> the same hints ? > >> Properties and events are also just identifiers after all. > > > > Right click on OI: enable Show hints > > There is also the (optional) OI information box which displays limited > documentation. However, it is often very limited. > e.g. > > "TControl.OnClick > Event Handler for mouse click" > > which hardly aids a programmer looking for more information, and in fact > is hardly worth displaying at all. > Would it be difficult to add parameter and parameter type information, > and function return type such as codetools offers in the Editor? The OI and the source editor show the same hint. Since 0.9.31 the hint shows some more fpdoc content. For example the description. Since yesterday it shows the type of redefined properties like OnClick. That means it shows property OnClick: TNotifyEvent. It's a todo to show related information like parameters of TNotifyEvent. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
