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:
Joe Walker 2010-12-02 11:21:09 +00:00
commit 864eb77d4d
5 changed files with 3 additions and 9 deletions

View file

@ -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);