marijnh/CodeMirror2 — pull request #270 by eustas (2011-12-01 13:08:31+00:00)
Title: Fix: closing bracket is marked as error.

Fix: closing bracket is marked as error, depending on previous lines indention
Add: mark not matching closing bracket as error

Concepts: indention matters only for python statements. So I made it explicit: instead of creating more scopes for different indention, we just change offset of "enclosing" scope; that way inside brackets "previous line indention" strategy works for new lines.