From 55cfe31dfe0afde028e4b62750a66028c6fcb3ad Mon Sep 17 00:00:00 2001 From: daboe01 Date: Wed, 28 Sep 2016 17:36:28 +0200 Subject: [PATCH] fixed: selection did not work directly after aborted drag --- AppKit/CPTextView/CPTextView.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index ec8a5e7df..a77006ce4 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -2022,6 +2022,7 @@ var kDelegateRespondsTo_textShouldBeginEditing if (CPLocationInRange(_movingSelection.location, _selectionRange)) { [self setSelectedRange:_movingSelection]; + _movingSelection = nil; return; }