Merge remote branch 'origin/master'
Conflicts: lib/ace/editor.js lib/ace/test/change_document_test.js lib/ace/test/event_emitter_test.js lib/ace/test/text_edit_test.js lib/ace/test/virtual_renderer_test.js
This commit is contained in:
commit
864eb77d4d
5 changed files with 3 additions and 9 deletions
|
|
@ -965,8 +965,8 @@ var Editor =function(renderer, doc) {
|
|||
if (!ranges.length)
|
||||
return;
|
||||
|
||||
this.clearSelection();
|
||||
this.selection.moveCursorTo(0, 0);
|
||||
this.clearSelection();
|
||||
this.selection.moveCursorTo(0, 0);
|
||||
|
||||
for (var i = ranges.length - 1; i >= 0; --i)
|
||||
this.$tryReplace(ranges[i], replacement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue