Re: [Lazarus] question with IDE

2021-01-15 Thread Ondrej Pokorny via lazarus
On 15.01.2021 13:34, Mattias Gaertner via lazarus wrote: Do you have a complete example unit (you can strip the statements and vars)? See the attachment for two example units - obviously I cannot guarantee it is the same scenario that duilio experiences but it is definitely an example of Ctr

Re: [Lazarus] question with IDE

2021-01-15 Thread Martin Frb via lazarus
On 15/01/2021 16:51, Bart via lazarus wrote: I recently had this with fpc's deque.pp unit. I added two methods to the intrface, then pressed Ctrl+C and it made those two, but also a new empty implementation of TDeque.IncreaseCapacity method (which already existst). It's a generic class, if that m

Re: [Lazarus] question with IDE

2021-01-15 Thread Bart via lazarus
On Fri, Jan 15, 2021 at 1:34 PM Mattias Gaertner via lazarus wrote: > Do you have a complete example unit (you can strip the statements and > vars)? I recently had this with fpc's deque.pp unit. I added two methods to the intrface, then pressed Ctrl+C and it made those two, but also a new empty

Re: [Lazarus] question with IDE

2021-01-15 Thread Mattias Gaertner via lazarus
On Fri, 15 Jan 2021 13:06:16 +0100 duilio foschi via lazarus wrote: > my IDE sometimes decides that procedure X was not coded in the > implementation section of a unit...and adds an empty definition > (see: https://imgur.com/awP7cK2) > > The procedure is there (see https://imgur.com/6H5F2cG) but

Re: [Lazarus] question with IDE

2021-01-15 Thread Pascal Riekenberg via lazarus
Your existing implementation is missing the Paramter. Maybe that is the reason. Pascal > duilio foschi via lazarus hat am > 15.01.2021 13:06 geschrieben: > > > my IDE sometimes decides that procedure X was not coded in the > implementation section of a unit...and adds an empty defin

[Lazarus] question with IDE

2021-01-15 Thread duilio foschi via lazarus
my IDE sometimes decides that procedure X was not coded in the implementation section of a unit...and adds an empty definition (see: https://imgur.com/awP7cK2) The procedure is there (see https://imgur.com/6H5F2cG) but for some reason the IDE is brought to the crazy idea above. This always happen