Page 1 of 1

Tabs always converted to spaces when loading file

Posted: 01 Jun 2015 12:13
by vha
Using v10.40 b1

When loading a file that contains spaces, these are always converted to spaces when the file is loaded (although I have the option 'convert tabs to spaces before saving' unchecked)

This is very dangerous as it corrupts e.g. makefiles that are using gcc


vha

Re: Tabs always converted to spaces when loading file

Posted: 01 Jun 2015 12:37
by Rickard Johansson
In "Options -> Tabs and spaces" you should make sure the option "Preserve tab characters" is checked. It is set by default, so I'm guessing you've unchecked it at some point... :)

Re: Tabs always converted to spaces when loading file

Posted: 01 Jun 2015 14:03
by vha
You're right. My mistake... :oops: