[Lazarus] IDE loose func default param on class completion

AlexeyT aaa5500 at ya.ru
Tue Feb 13 20:22:56 CET 2018


On class completion (ctrl+shift+c?) I'm on method declaration in 
"implementation".

method decl in "interface" has "default" values of params. and this 
hotkey changes line in "interface" to same as in "impl" and default 
values - are lost... :-\


eg

   TATMarkers = class
   public
     procedure Add(APosX, APosY: integer;
       const ATag: Int64=0;
       ALenX: integer=0;
       ALenY: integer=0;
       APtr: TObject=nil;
       AInsertToBegin: boolean=false);

-- 
Regards,
Alexey



More information about the Lazarus mailing list