Convert StyleEditor.ts to spaces for indent