fix #1669 Everything until cursor position is selected in IE8
This commit is contained in:
parent
93a88fcb5e
commit
3ab631640b
1 changed files with 2 additions and 1 deletions
|
|
@ -109,8 +109,9 @@ function DefaultHandlers(mouseHandler) {
|
|||
pos = pos || this.editor.renderer.screenToTextCoordinates(this.x, this.y);
|
||||
var editor = this.editor;
|
||||
// allow double/triple click handlers to change selection
|
||||
var shiftPresed = this.mousedownEvent.getShiftKey();
|
||||
setTimeout(function(){
|
||||
if (this.mousedownEvent.getShiftKey()) {
|
||||
if (shiftPresed) {
|
||||
editor.selection.selectToPosition(pos);
|
||||
}
|
||||
else if (!this.$clickSelection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue