This commit is contained in:
nightwing 2013-11-05 21:23:25 +04:00
commit 68c6c4e86c

View file

@ -109,9 +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();
var shiftPressed = this.mousedownEvent.getShiftKey();
setTimeout(function(){
if (shiftPresed) {
if (shiftPressed) {
editor.selection.selectToPosition(pos);
}
else if (!this.$clickSelection) {