[Lazarus] SynEdit: AutoIndent with Tabs instead of spaces, is this possible?

Martin lazarus at mfriebe.de
Mon Sep 24 20:03:48 CEST 2012


On 24/09/2012 18:50, Bernd wrote:
> 2012/9/24 Martin <lazarus at mfriebe.de>:
>
>> You can select 1 of the 3
>> "spaces"
>> "space/tab" as previous line
>> "pos only"
> What combination of Options and Options2 do I need for that or how is
> the property called? I can't find it.
>

Oh in your own app, not in the IDE.

its in the beautifier

   TSynBeautifier = class(TSynCustomBeautifier)
   published
     property IndentType: TSynBeautifierIndentType read FIndentType 
write FIndentType;

Make sure you have the correct beautifier, the default is one instance 
(not sure which class) for all edits.

There is a callback for indent too. so you can customize




More information about the Lazarus mailing list