Am 25.01.2012 20:26 schrieb "Mattias Gaertner" <[email protected]>:
>
> 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
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to