mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
formatting
This commit is contained in:
1 parent
e897d2ef81
commit
9b30a634b1
1 file changed
+2
-2
@@ -1545,8 +1545,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
var currentAttributes = [_textStorage attributesAtIndex:range.location effectiveRange:nil] || _typingAttributes;
|
||||
|
||||
[[[[self window] undoManager] prepareWithInvocationTarget:self]
|
||||
setTextColor:[currentAttributes objectForKey:CPForegroundColorAttributeName]
|
||||
range:CPMakeRangeCopy(range)];
|
||||
setTextColor:[currentAttributes objectForKey:CPForegroundColorAttributeName]
|
||||
range:CPMakeRangeCopy(range)];
|
||||
|
||||
if (!CPEmptyRange(range))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user