BOOL allowsEditingTextAttributes
Discussion
If YES
, and the text value is an attributed string, it is displayed using the attributed string’s visual settings, which can be modified in the font panel.; if flag is NO
and the text is an attributed string. the string attributes (font, color, etc.) are ignored and the string is displayed based on the text field’s settings. Setting the attributed string’s attributes are ignored when displaying the string and when the text field is editing.
Text selections in an NSTextField are handled by the field editor. Unfortunately the field editor does not take into account text field’s font and color settings.
For this to work the attribute string needs to include the text field’s font and color settings.