mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-13 22:21:29 +00:00
formatting
This commit is contained in:
@@ -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:" "];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user