Update CodeMirror to version 5.17.1

This commit is contained in:
Wu Cheng-Han 2016-07-30 12:25:24 +08:00
parent b6ca8649af
commit 1490eafdd2
27 changed files with 351 additions and 152 deletions

View file

@ -233,7 +233,7 @@
function dedent(stream, state) {
var indented = stream.indentation();
while (top(state).offset > indented) {
while (state.scopes.length > 1 && top(state).offset > indented) {
if (top(state).type != "py") return true;
state.scopes.pop();
}