[Lazarus] class completion now updates multiple implementation signatures

Sven Barth pascaldragon at googlemail.com
Thu Jan 26 07:29:53 CET 2012


Am 25.01.2012 20:26 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
>
> Hi all,
>
> I improved class completion to update multiple method
> signatures.
>
> For example:
>
> type
>  TMyClass = class
>  public
>    procedure DoIt(a: integer); // parameter added
>    procedure HandleIt(s: string); // parameter changed
>  end;
>
> procedure TMyClass.DoIt;
> begin
> end;
>
> procedure TMyClass.HandleIt(param: char);
> begin
> end;
>
> Doing code completion Ctrl+Shift+C in the TMyClass interface
> updates the implementation:
>
> procedure TMyClass.DoIt(a: integer);
> begin
> end;
>
> procedure TMyClass.HandleIt(s: string);
> begin
> end;
>
> When working with overloads (methods with same name but different
> parameter types) you have to change one signature at a time. Same as
> before.

Finally! Thank you! :D

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120126/58f509c8/attachment-0003.html>


More information about the Lazarus mailing list