<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks. I understand now.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I tested it a little (Lazarus 1.1 r41895M FPC 2.7.1 x86_64-linux-qt) and I have two issues:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">1) Inconsistent behaviour when both options are UNchecked (Update all method signatures and Update multiple procedure signatured are OFF)</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">this:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">procedure A(a: string); | //hit CTRL+SHIFT+C here<br />
procedure B(a: string);<br />
<br />
implementation<br />
<br />
procedure A;<br />
begin<br />
<br />
end;<br />
<br />
procedure B;<br />
begin<br />
<br />
end; </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">leads to this:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">procedure A(a: string); |<br />
procedure B(a: string);<br />
<br />
implementation<br />
<br />
procedure A(a: string);<br />
begin<br />
<br />
end;<br />
<br />
procedure B;<br />
begin<br />
<br />
end;</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">BUT this:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">public<br />
{ public declarations }<br />
procedure A(a: string); | //hit CTRL+SHIFT+C here<br />
procedure B(a: string);<br />
end; <br />
<br />
var<br />
Form1: TForm1;<br />
<br />
implementation <br />
<br />
{ TForm1 }<br />
<br />
procedure TForm1.A;<br />
begin<br />
<br />
end;<br />
<br />
procedure TForm1.B;<br />
begin<br />
<br />
end; </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">leads to this:</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">public<br />
{ public declarations }<br />
procedure A(a: string); |<br />
procedure B(a: string);<br />
end; <br />
<br />
var<br />
Form1: TForm1;<br />
<br />
implementation <br />
<br />
{ TForm1 }<br />
<br />
procedure TForm1.A(a: string);<br />
begin<br />
<br />
end;<br />
<br />
procedure TForm1.B(a: string);<br />
begin<br />
<br />
end;<br />
<br />
procedure TForm1.B;<br />
begin<br />
<br />
end;</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">i.e. the third method is created</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">2) Attempt to update signature of procedure (not method) backwards from implememtation to interface leads to Acces Violation or Out of memory error, it sometimes kills IDE.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">It works well for one method, as you mentioned in your mail.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Vojtěch<br />
</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: "Mattias Gaertner" <nc-gaertnma@netcologne.de><br />
> Komu: <lazarus@lists.lazarus.freepascal.org><br />
> Datum: 25.06.2013 16:26<br />
> Předmět: Re: [Lazarus] Updating procedure signatures<br />
></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">On Tue, 25 Jun 2013 13:34:59 +0200<br />
Vojtěch Čihák <vojtech.cihak@atlas.cz> wrote:<br />
<br />
Yes, for methods. Not for procedures.<br />
<br />
Mattias<br />
<br />
--<br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus.freepascal.org<br />
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a></p>