I had this annoying problem while coding python using SciTE.
SciTE uses TAB indentation instead of the regular 4 spaces. Moreover, it doesn't stick with the existing indentation of the current file.
To solve this problem:
use.tabs=1
#indent.auto=1
to
indent.size=4
use.tabs=0
indent.auto=1
PS: Unfortunately, it does affect all other languages as well. Also, doing the same modifications only in python.properties file doesn't restrict the changes to python files.
SciTE uses TAB indentation instead of the regular 4 spaces. Moreover, it doesn't stick with the existing indentation of the current file.
To solve this problem:
- Go to Options -> Open Global Options File.
- Scroll down to #Indentation
- Modify the following variables
use.tabs=1
#indent.auto=1
to
indent.size=4
use.tabs=0
indent.auto=1
PS: Unfortunately, it does affect all other languages as well. Also, doing the same modifications only in python.properties file doesn't restrict the changes to python files.