cocoa 上 NSTextFields 上的 "rich text" 按钮的用途是什么?

What is the purpose of the "rich text" button on NSTextFields on cocoa?

我的意思是,NSTextFields 具有属性文本属性,对吗?那么,cocoa 上 NSTextField 的界面生成器上的这个 "rich text" 选项的目的是什么?

像往常一样,没有关于它的文档。

来自docs

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.

实际上,如果 RichText 在字体面板中被禁用,它的工作方式似乎是字体、颜色等 实际上改变了 - 只是 整个文本 ,而不仅仅是选定的 section/characters...