Re: [Lazarus] IDE loose func default param on class completion
Thanks, I understand now. So I can confirm with Lazarus 1.9.0 r57291M FPC 3.0.4 x86_64-linux-qt. V. __ Od: Mattias Gaertner via Lazarus Komu: lazarus@lists.lazarus-ide.org Datum: 14.02.2018 00:45 Předmět: Re: [Lazarus] IDE loose func default param on class completion On Tue, 13 Feb 2018 22:26:28 +0100 Vojtěch Čihák via Lazarus wrote: > I knw it but I always thought it is by design. It should remove default values from implementation, not from interface. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus> -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE loose func default param on class completion
On Tue, 13 Feb 2018 22:26:28 +0100 Vojtěch Čihák via Lazarus wrote: > I knw it but I always thought it is by design. It should remove default values from implementation, not from interface. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE loose func default param on class completion
I knw it but I always thought it is by design. V. __ Od: AlexeyT via Lazarus Komu: Lazarus mailing list 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@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus> -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
Re: [Lazarus] IDE loose func default param on class completion
On Tue, 13 Feb 2018 22:22:56 +0300 AlexeyT via Lazarus wrote: > 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... :-\ Please create a bug report with a complete example. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
[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@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus