From 7d22230b13c120b7e92cd5bf92fcd60bc16d9ae0 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Thu, 25 Jun 2015 05:54:34 +0200 Subject: [PATCH] keyboard-selection-extension fix --- AppKit/CPTextView/CPTextView.j | 1 + 1 file changed, 1 insertion(+) diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 41db7b763..57529d1ce 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -545,6 +545,7 @@ var kDelegateRespondsTo_textShouldBeginEditing } [self _setSelectedRange:CPMakeRange(_selectionRange.location + [string length], 0) affinity:0 stillSelecting:NO overwriteTypingAttributes:NO]; + _startTrackingLocation = _selectionRange.location; [self didChangeText]; [_layoutManager _validateLayoutAndGlyphs];