Merge remote-tracking branch 'upstream/main' into Aristo3

This commit is contained in:
daboe01 committed 2026-02-01 19:44:07 +01:00
commit 4882f26142
1 file changed
+4
+4
View File
@@ -1867,6 +1867,10 @@ Sets the selection to a range of characters in response to user action.
}
else
{
attributes = [_textStorage attributesAtIndex:_selectionRange.location
longestEffectiveRange:_selectionRange
inRange:_selectionRange];
oldFont = [attributes objectForKey:CPFontAttributeName] || [self font];
[_typingAttributes setObject:[sender convertFont:oldFont] forKey:CPFontAttributeName];
}
}