This commit is contained in:
Fabian Jakobs 2011-07-22 13:13:04 +02:00
commit 94bd4171d9

View file

@ -169,6 +169,9 @@ var EditSession = function(text, mode) {
this.setValue = function(text) {
this.doc.setValue(text);
this.selection.moveCursorTo(0, 0);
this.selection.clearSelection();
this.$resetRowCache(0);
this.$deltas = [];
this.$deltasDoc = [];