mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-08 01:48:04 +00:00
font panel fix
This commit is contained in:
1 parent
cbd5853389
commit
e600ec95ed
1 file changed
+2
-2
@@ -715,9 +715,9 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
if (_isFirstResponder)
|
||||
[self updateInsertionPointStateAndRestartTimer:((_selectionRange.length === 0) && ![_caretTimer isValid])];
|
||||
|
||||
[[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeSelectionNotification object:self];
|
||||
|
||||
[self setTypingAttributes:[_textStorage attributesAtIndex:MAX(0, range.location -1) effectiveRange:nil]];
|
||||
|
||||
[[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeSelectionNotification object:self];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user