In my case, I had somehow togged a setting (Edit -> Advanced -> Set Indentation) to be 'Spaces' and not 'Tabs'. When I set it to Tabs, the editor changed my indentation back to 4 spaces and tabs.