[Lazarus] Auto indentation

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Nov 6 03:15:33 CET 2009


Jürgen Hestermann schrieb:

>> And that's kind of formatting that I don't like. My formatter would 
>> append dangling begins to the end of the preceding part of the 
>> statement. This is where the language syntax comes into play:
>> Pascal:
>> if a then BEGIN
>>   ...
>> END else BEGIN
>>   ...
>> END
> 
> And that's something *I* don't like. You never know which END belongs to 
> wheach BEGIN. I always column align all ENDs to their corresponding 
> BEGINs.

You missed the second part of my argumentation. I'm thinking in the 
superior Modula syntax, that does not require begin-end pairs around 
statement sequences.

DoDi





More information about the Lazarus mailing list