fix github issue #4

This commit is contained in:
Fabian Jakobs 2010-09-28 13:51:27 +02:00
commit ec9796f329

View file

@ -461,7 +461,7 @@ var Document = function(text, mode) {
this.remove = function(range, fromUndo) {
if (range.isEmpty())
return;
return range.start;
this.$remove(range, fromUndo);