elfprince13 wrote:
Note up by line 124/125 you appear to have a garbage End + Else. It seems likely this is throwing off the indentation algorithm in some way.
I'm sure it's not. I exported the file and reupload it to SC. The indentation seems perfect, but after some typing it crashes again; no indentation, whereever I typ.
EDIT: I think I traced it. It happens after an If-Then statement within a For-loop.