<p style="padding:0 0 0 0; margin:0 0 0 0;">I knw it but I always thought it is by design.</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;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: AlexeyT via Lazarus <lazarus@lists.lazarus-ide.org><br />
> Komu: Lazarus mailing list <lazarus@lists.lazarus-ide.org><br />
> Datum: 13.02.2018 20:22<br />
> Předmět: [Lazarus] IDE loose func default param on class completion<br />
></p>
On class completion (ctrl+shift+c?) I'm on method declaration in <br />
"implementation".<br />
<br />
method decl in "interface" has "default" values of params. and this <br />
hotkey changes line in "interface" to same as in "impl" and default <br />
values - are lost... :-\<br />
<br />
<br />
eg<br />
<br />
TATMarkers = class<br />
public<br />
procedure Add(APosX, APosY: integer;<br />
const ATag: Int64=0;<br />
ALenX: integer=0;<br />
ALenY: integer=0;<br />
APtr: TObject=nil;<br />
AInsertToBegin: boolean=false);<br />
<br />
-- <br />
Regards,<br />
Alexey<br />
<br />
-- <br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus-ide.org<br />
<a href="https://lists.lazarus-ide.org/listinfo/lazarus">https://lists.lazarus-ide.org/listinfo/lazarus</a><br />