formatting

This commit is contained in:
daboe01
2015-02-26 05:53:37 +01:00
parent e8497bb0cc
commit 3a5ac9df10
+1 -4
View File
@@ -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:" "];
}
}
}