[Lazarus] Updating procedure signatures

Vojtěch Čihák vojtech.cihak at atlas.cz
Tue Jun 25 13:34:59 CEST 2013


Hello,
 
it isn't a new feature, or am I missing something?
I think this exist at least one year.
 
@ Note: It does not work backward from implementation to interface.
 
Furthermore, I tried to add parameter in implementation and it updates the interface here.
 
Lazarus 1.1 r41867M FPC 2.7.1 x86_64-linux-qt 
 
Vojtěch 
______________________________________________________________
> Od: "Mattias Gaertner" <nc-gaertnma at netcologne.de>
> Komu: <lazarus at lists.lazarus.freepascal.org>
> Datum: 25.06.2013 13:09
> Předmět: [Lazarus] Updating procedure signatures
>
Hi all,

Code completion can now update procedure signatures. For example:

procedure DoSomething;

implementation

procedure DoSomething;
begin
end;


Now add a parameter c:char to the interface procedure:

procedure DoSomething(c: char);

Place cursor on this declaration and invoke code completion
(Ctrl+Shift+C). This will replace the signature in the
implementation section.

procedure DoSomething(c: char);

implementation

procedure DoSomething(c: char);
begin
end;

Note: It does not work backward from implementation to interface.

Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130625/aa206eb4/attachment-0003.html>


More information about the Lazarus mailing list