Added auto tabs/space detection