This one has been driving me nuts, but I finally figured it out.
Sometimes in python after typing "if someting:<enter>" the next line isn't indented like it ought to be.
Example:
def myfunction(a,b,c,d):
if a.returxcode != 0:
pass # Autoindent works here
if a.returncode != 0:
pass # Autoindent FAILS here
It seems to be because "returncode" starts with "return" -- a keyword.
So even though Slick doesn't color "returncode" as a keyword, it does confuse the indenting logic somehow.
I found that "if definition:" as well as "if xdefinition:" also confuse it -- so the keyword doesn't even need to be the beginning of the identifier.