Destroying edit format lazarus / 9-Editor ---------------------------------------------------------------------- Anthony · 2005-05-29 09:29 Hello, I like to write my programs in a format I am used to. A form class look like this: Code: [Select] Type    TForm1  = Class (TForm)                   Private                   Public                   End; If I add a visual component to a form Lazarus adds after the word    Type, adds the line { TForm1 } to it, adds and shifts the Class declaration to the left. Now it looks like this: Code: [Select] Type { TForm1 } TForm1  = Class (TForm)                      Button1: TButton;                   Private                   Public                   End; I edit it back but it is a lot of work to do after every putting of a component. I am happy with Delphi as this behavior is not present there. Can it be switched off / disabled? Thanks. ---------------------------------------------------------------------- Marc · 2005-06-02 09:13 The IDE puts aCode: [Select]{ TForm1 } before the TForm1 declaration. In your case it is between the type and TForm1. I don't know if this can turned off. Can you file a bugreport that the { TForm 1 } comment should be placed on the line before the TForm1 declaration, and not between the type and the declaration. This way yuor formatting wont be touched. ---------------------------------------------------------------------- mattias · 2005-06-02 22:58 Disable it Environment -> CodeTools Options -> Code Creation -> Header Comment for class ---------------------------------------------------------------------- Anthony · 2005-06-03 07:10 Matitas, thanks