Found the solution: in the Options -> User interface -> Editor:
- uncheck "Smart Tab"
AND
- check "Use tab character"