[Lazarus] class completion now updates multiple implementation signatures

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Jan 25 20:25:49 CET 2012


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.


Mattias




More information about the Lazarus mailing list