[lazarus] Source Code Procedures

michael at tfdec1.fys.kuleuven.ac.be michael at tfdec1.fys.kuleuven.ac.be
Sat Jul 17 08:48:14 EDT 1999




On Fri, 16 Jul 1999, Cliff Baeseman wrote:

> Gents
> 
>    Do you mind if I put in procedure seperators like I did in the controls
> unit?
> 
> I always comment and put in procedure seperators like this...
> 
> {-------------------------------------------------------------------}
> {TMyType.MyMethod    "comments"                        }
> {-------------------------------------------------------------------}
> Procedure TMyType.MyMethod;
> begin
> end;

I think this is a very good idea;  I myself use


{ ---------------------------------------------------------------------
   Some text
  ---------------------------------------------------------------------}

In all editors I use, I have templates which insert this, and which
put the cursor on where the 'S' of 'Some text' should come.

(Simple suggestion for the editor : Code templates !!)

Michael.






More information about the Lazarus mailing list