Update to latest CodeMirror:

* Explicitly call markClean() after clearHistory() since the two are no longer tied
* Pass new "precise" parameter to getTokenAt() to ensure tokens are properly updated after edits (addresses #2335)
This commit is contained in:
Narciso Jaramillo committed 2013-06-14 11:22:56 -07:00
1 parent 75721fe5fc
commit 157775b996
11 files changed
+22 -27

No files matched your search

@@ -119,9 +119,9 @@ define(function (require, exports, module) {
var cm = this.editor._codeMirror;
if (cursor) {
return cm.getTokenAt(cursor);
return cm.getTokenAt(cursor, true);
} else {
return cm.getTokenAt(this.getCursor());
return cm.getTokenAt(this.getCursor(), true);
}
};