What is your real tab dependency? 
If you need real tab e.g. in PHP files and spaces in TXT (or other) files, it is
possible to set.
If you need to use real TAB and spaces in one file type, then is necessary to
solve e.g. by scripting.

PSPad freeware editor https://www.pspad.com

Odpovedet emailem