This happens all the time. It screws up my formatting... If I make a tab 2 times (8 spaces) it will turn to one tab (4 spaces) and 1 tab turns to 2 spaces etc. Does anyone know how to fix this?
2 Answers
Perhaps your tab size is set to 2 spaces. Click on menu "settings" then "Preferences...", then switch to tab "Language menu/Tab settings", check the value of "Tab size" on the right bottom
-
It is not, when i tab it creates 4 spaces, but when i re=open the file the tabs turn into 2 spaces Oct 23, 2012 at 19:23
Make sure you don't have the 'Replace by space' checkbox set next to the 'Tab Settings' in the Preferences->Language Menu/Tab settings.
-
I need the tabs to be spaces because of the formatting i am doing. It is set to 4 spaces Oct 23, 2012 at 19:26
-
If you create a brand new file, tab twice add some text "Hi there this is a test", and save it as myfile.txt. When you re-open it has just four spaces? I've just tried exactly that without any problems.– snowdudeOct 23, 2012 at 20:12