[Lazarus] IDE loose func default param on class completion

Vojtěch Čihák vojtech.cihak at atlas.cz
Tue Feb 13 22:26:28 CET 2018


I knw it but I always thought it is by design.
 
V.
______________________________________________________________
> Od: AlexeyT via Lazarus <lazarus at lists.lazarus-ide.org>
> Komu: Lazarus mailing list <lazarus at lists.lazarus-ide.org>
> Datum: 13.02.2018 20:22
> Předmět: [Lazarus] IDE loose func default param on class completion
>
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
 
 -- 
 _______________________________________________
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org
 https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180213/413ee324/attachment.html>


More information about the Lazarus mailing list