In python if you type
print 'something with a colon:
It assumes that the second print statement should be indented as well, so when you type the : (electric key) it indents the line. This is really annoying!! I've had a look at the python.xml file in the 'modes' directory and played around with the regexes, but either I'm shit at regular expressions or the solution isn't that simple. If you remove the 'electrickeys' tag then it removes the problem but it ruins all other indentation cleverness. Nothing else seems to fix it. There's no 'indentThisLine' tag, so why does it indent it?