formatting

This commit is contained in:
daboe01 committed 2016-07-29 17:32:48 +02:00
1 parent a3601e5167
commit 0505b59781
1 file changed
+2 -2
+2 -2
View File
@@ -391,8 +391,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
var selectedRange = [self selectedRange],
pasteboard = [CPPasteboard generalPasteboard],
stringForPasting = [[self textStorage] attributedSubstringFromRange:CPMakeRangeCopy(selectedRange)];
richData = [_CPRTFProducer produceRTF:stringForPasting documentAttributes:@{}];
stringForPasting = [[self textStorage] attributedSubstringFromRange:CPMakeRangeCopy(selectedRange)],
richData = [_CPRTFProducer produceRTF:stringForPasting documentAttributes:@{}];
[pasteboard declareTypes:[CPStringPboardType, CPRTFPboardType] owner:nil];
[pasteboard setString:stringForPasting._string forType:CPStringPboardType];