ah, I'm used to indentation detection (was editing via Caret)

Iterating left to right would cause a problem here though would it not? as tabs are being closed?