Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-29 Thread Andrey Gusev
* Mattias Gaertner [EMAIL PROTECTED] [Fri, 28 Dec 2007 17:21:54 +0100]: On Fri, 28 Dec 2007 18:27:02 +0300 Andrey Gusev [EMAIL PROTECTED] wrote: * Damien Gerard [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:29:02 +0100]: May be it is related to the fact in Delphi empty implementation attached

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Vincent Snijders
Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an example, but if you have a declaration without implementation, you cannot

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Damien Gerard
On Dec 28, 2007, at 3:15 PM, Vincent Snijders wrote: Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an example, but if you

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Vincent Snijders
Andrey Gusev schreef: background was http://bugs.freepascal.org/view.php?id=10455, have sample, constructed from real rpoblem. Empty duplicate body of my own procedure was inserted. As i undestand: for all declared unimplemented procedures will be inserted implementations. It right guessed

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Andrey Gusev
* Vincent Snijders [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:15:31 +0100]: Andrey Gusev schreef: It may be explained by a few words ? I don't wish discuss is it useful or harmful, correctly or incorrectly, it important for me, to undestand: for what ? Maybe I don't understand you without an

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Andrey Gusev
* Damien Gerard [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:29:02 +0100]: May be it is related to the fact in Delphi empty implementation attached to an event are automatically removed at the compilation How with that in Lazarus, in future ?

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Mattias Gaertner
On Fri, 28 Dec 2007 18:27:02 +0300 Andrey Gusev [EMAIL PROTECTED] wrote: * Damien Gerard [EMAIL PROTECTED] [Fri, 28 Dec 2007 15:29:02 +0100]: May be it is related to the fact in Delphi empty implementation attached to an event are automatically removed at the compilation How with

Re: [lazarus] Why IDE automatically insert empty events reactors implementations if its declarations presented ?

2007-12-28 Thread Alexsander Rosa
Delphi removes empty event handlers when you save, not at compile time. It's a nice feature and it does not remove code you wrote yourself. 2007/12/28, Damien Gerard [EMAIL PROTECTED]: On Dec 28, 2007, at 3:15 PM, Vincent Snijders wrote: Andrey Gusev schreef: It may be explained by a few