Autoindenting doesn't work on Notepad++ correctly. I can't find the equivalent SciTE file. menu Settings -> Preferences -> MISC -> Auto-indent is checked. I can't find any other Python indent settings other than menu Settings -> Preferences -> lang/tab settings -> default tab settings -> Python -> size 4, replace by space.
if True:
pass
But it does continue indenting if manually indented:
if True:
#foo
pass
In SciTE it works as intended. I found the variable that's controlling this:
# python.properties
statement.indent.$(file.patterns.py)=5 class def elif else except finally for if try while with
scite:
if True:
pass