Permalink
Browse files

Ensure block-indent doesn't use outdated state

Closes #844
  • Loading branch information...
1 parent 07e933a commit c9035375b479f99a988d136df8374c4e71f623d4 @marijnh marijnh committed Sep 28, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/codemirror.js
View
@@ -1462,6 +1462,7 @@ window.CodeMirror = (function() {
if (indentString != curSpaceString)
replaceRange(indentString, {line: n, ch: 0}, {line: n, ch: curSpaceString.length});
+ line.stateAfter = null;
}
function loadMode() {

0 comments on commit c903537

Please sign in to comment.