Tabs always converted to spaces when loading file

Post bug reports when testing beta versions here.
Post Reply
User avatar
vha
Posts: 1075
Joined: 27 Jun 2007 21:34
Location: Belgium

Tabs always converted to spaces when loading file

Post 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
User avatar
Rickard Johansson
Site Admin
Posts: 6577
Joined: 19 Jul 2006 14:29

Re: Tabs always converted to spaces when loading file

Post 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... :)
User avatar
vha
Posts: 1075
Joined: 27 Jun 2007 21:34
Location: Belgium

Re: Tabs always converted to spaces when loading file

Post by vha »

You're right. My mistake... :oops:
Post Reply