Instance Method

setSelectedAttributes:isMultiple:

Informs the Font panel that the specified font attributes changed for the selected text.

Declaration

- (void)setSelectedAttributes:(NSDictionary<NSString *,id> *)attributes isMultiple:(BOOL)flag;

Parameters

attributes

The new attributes.

flag

If YES, informs the panel that multiple fonts or attributes are enclosed within the selection.

Discussion

This method is used primarily by NSTextView.

See Also

Setting Attributes

- convertAttributes:

Converts attributes in response to an object initiating an attribute change, typically the Font panel or Font menu.