Q:

In Notepad++, when i close a file and reopen it, 4 space tabs turn into 2 spaces. How can i fix this?

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?

A:

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

