I want to replace all the \"four spaces\" that is written by another text edit
Select all, then:
Ctrl+Shift+p
then type "indent"
Shift+Command+p