fix #167
This commit is contained in:
parent
4dfe33655e
commit
94bd4171d9
1 changed files with 3 additions and 0 deletions
|
|
@ -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 = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue