[Lazarus] CodeTools never uses Tab character settings from editor preferences

Martin lazarus at mfriebe.de
Wed Nov 16 16:27:26 CET 2011

On 16/11/2011 14:59, Graeme Geldenhuys wrote:
> On 16/11/2011, Martin<lazarus at mfriebe.de>  wrote:
>> I can't comment on most of the codetool issues you describe, but a
>> question this last one:
> This is what I meant by that last one. Two problems of indentation.
>    - Indentation in the class definition is wrong. Normally the Button1
> and procedure Button1Click() declarations would be indented one level
> from TForm1. In the case below, they are all on the same indent level.
>    - The cursor inside the Button1Click is placed at column 0 (where
> the | sign is). I believe it used to indented correctly when spaces
> are used instead of tab character indentation.

Ah seems there are indeed a few other methods that use the setting for 
spaces. So yes they will have to learn about the new setting to make it 
fully useful.

Don't know how easy or not it will be, to do that for codetools...

More information about the Lazarus mailing list