mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
formatting
This commit is contained in:
@@ -624,10 +624,8 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
if ([self _isFirstResponder])
|
||||
[self updateInsertionPointStateAndRestartTimer:((_selectionRange.length === 0) && ![_caret isBlinking])];
|
||||
|
||||
var peekLoc = CPMaxRange(range);
|
||||
|
||||
if (doOverwrite)
|
||||
[self setTypingAttributes:[_textStorage attributesAtIndex:peekLoc effectiveRange:nil]];
|
||||
[self setTypingAttributes:[_textStorage attributesAtIndex:CPMaxRange(range) effectiveRange:nil]];
|
||||
|
||||
[[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeSelectionNotification object:self];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user