[Lazarus] Code completation results in ugly indention

Florian Klämpfl florian at freepascal.org
Sun Aug 21 21:59:34 CEST 2011


Am 19.08.2011 21:22, schrieb Flávio Etrusco:
> On Fri, Aug 19, 2011 at 12:04 PM, Alexander Klenin <klenin at gmail.com> wrote:
>> 2011/8/19 Florian Klaempfl <florian at freepascal.org>:
>>> I just tried another time the code completation in lazarus for a class,
>>> however it resulted again in a pretty bad indention, see attachment. I
>>> played with various options and things but nothing helped
>>> (procedure/constructor should be at column 4 as it is typically in the
>>> compiler sources, begin/end at column 6). What is wrong/how can I tweak it?
>>
>> It seems that this file uses totally unique indentation rules,
>> incomatible with the rest of the world ;-)
>> I'd suggest to turn off auto-indent -- it is not very useful anyway.
>> Note that auto-indent is NOT the same as code completion,
>> which is much more important and should work for you.
>>
> 
> Yeah, auto-indent breaks in much simpler cases already :-(
> Florian, what do you think should be the ruler/pivot in that case? 

What do you mean with pivot? The "starting" indention? This one is
detected correctly.




More information about the Lazarus mailing list