switching to soft tabs in editor function