Instance Method

setSelectedAttributes:isMultiple:

Informs the paragraph and character formatting panels when text in a selection has changed attributes.

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.