From 68c6c4e86c1e1fc9ceb254f45d8024b09b5d848a Mon Sep 17 00:00:00 2001 From: nightwing Date: Tue, 5 Nov 2013 21:23:25 +0400 Subject: [PATCH] fix typo --- lib/ace/mouse/default_handlers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ace/mouse/default_handlers.js b/lib/ace/mouse/default_handlers.js index daee58ce..bff2e2bb 100644 --- a/lib/ace/mouse/default_handlers.js +++ b/lib/ace/mouse/default_handlers.js @@ -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) {