How to stop CodeTools inserting tabs, when spaces are desired lazarus / 9-Editor ---------------------------------------------------------------------- howardpc · 2019-06-01 18:57 I have not been able to find a combination of settings on the IDE Options page which ensures that when, for instance, you press Ctrl+Shift+C to insert a new variable, you reliably get the "var" and the newly named variable indented only with spaces. Whatever settings I select, CodeTools always uses tabs. On a (possibly) related issue: recently, the "Edit->Tabs to Spaces in Selection" command does not do anything any more. Which makes replacing all the pesky unwanted tabs much harder than it should be. Am I the only one affected by this, or am I simply unable to understand the tab and indent settings page properly? ---------------------------------------------------------------------- ASerge · 2019-06-01 20:55 Quote from: howardpc on June 01, 2019, 08:57:51 pmWhatever settings I select, CodeTools always uses tabs. On a (possibly) related issue: recently, the "Edit->Tabs to Spaces in Selection" command does not do anything any more. Which makes replacing all the pesky unwanted tabs much harder than it should be. Am I the only one affected by this, or am I simply unable to understand the tab and indent settings page properly? Windows 7, Lazarus 2.0.2. There are spaces everywhere. I tried to put that the tab is necessary, all the same uses spaces. The "Edit->Tabs to Spaces in Selection" command works. ---------------------------------------------------------------------- howardpc · 2019-06-01 21:30 OK, maybe this is a Linux or GTK2 issue. Mint 19 Cinnamon, Lazarus 2.0.2 ---------------------------------------------------------------------- lucamar · 2019-06-01 21:57 Quote from: howardpc on June 01, 2019, 11:30:23 pmOK, maybe this is a Linux or GTK2 issue. Mint 19 Cinnamon, Lazarus 2.0.2 No. I'm on various Linuxen (with GTK widgetset) and all work as they should, inseritng spaces. Sounds like something is mis-configured on your end.