This commit is contained in:
Fabian Jakobs 2011-06-08 15:41:53 +02:00
commit dc9832c26f
7 changed files with 29 additions and 18 deletions

View file

@ -6145,7 +6145,13 @@ var Editor =function(renderer, session) {
if (this.selection.isEmpty())
this.selection.selectLineEnd();
this.session.remove(this.getSelectionRange());
var range = this.getSelectionRange();
if (range.start.column == range.end.column && range.start.row == range.end.row) {
range.end.column = 0;
range.end.row++;
}
this.session.remove(range);
this.clearSelection();
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long