diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index cc4d0b932..b9bd2c38f 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -213,17 +213,14 @@ var kDelegateRespondsTo_textShouldBeginEditing if (_copySelectionGranularity > 0) { if (![self _isCharacterAtIndex:MAX(0, _selectionRange.location - 1) granularity:_copySelectionGranularity]) - { [self insertText:" "]; - } } [super paste:sender]; + if (_copySelectionGranularity > 0) { if (![self _isCharacterAtIndex:CPMaxRange(_selectionRange) granularity:_copySelectionGranularity]) - { [self insertText:" "]; - } } }