[Solved] Problem with Indentation lazarus / 9-Editor ---------------------------------------------------------------------- Avishai · 2013-06-25 13:59 I had a meltdown with Lazarus a few days ago but I got it running again with help from the community.  But I had to do a Clean Re- Install to get it fixed.  Since then whenever I start a project, the initial code indents to column 7 Code: [Select]uses       Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs; type { TForm1 }       TForm1 = class(TForm)     procedure FormCreate(Sender: TObject);       private             { private declarations }       public             { public declarations }       end; var       Form1: TForm1; I have the same (column 7) problem when adding a new procedure Code: [Select]procedure something begin        | end; In Tools/Options I have set ALL Tab related settings to 2, Tabs to Spaces, Smart Tabs On/Off. I have played with all the settings that look like they might be related.  I have tried editing laz_indentation.pas but nothing seems to effect it.  Any ideas on what I need to set to fix this? What I am wanting is to have it set to column 2. ---------------------------------------------------------------------- Blaazen · 2013-06-25 14:27 My indentation is on two spaces, my settings: UnChecked: TabToSpaces Checked: SmartTabs TabWidth: 2 ------------------------- UnChecked: AutoIndent Checked: Tab indent blocks Block indent (spaces): 2 Block indent (tabs): 0 ---------------------------------------------------------------------- Avishai · 2013-06-25 15:43 Thanks Blaazen, I tried your settings but it didn't change anything. ---------------------------------------------------------------------- Blaazen · 2013-06-25 17:35 Here it works. Changing "Block indent (spaces): 2" to other value has the effect. Try to reopen your project (I guess restart of Lazarus is not needed). ---------------------------------------------------------------------- Avishai · 2013-06-25 17:52 I've tried that.  I even rebooted my system and still no change. ---------------------------------------------------------------------- Avishai · 2013-06-25 18:06 OK.  I just got the latest SVN and indentation is working again.