package
This commit is contained in:
parent
f032c68a79
commit
dc9832c26f
7 changed files with 29 additions and 18 deletions
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue