Contents

setSelectedAttributes(_:isMultiple:)

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

Declaration

func setSelectedAttributes(_ attributes: [String : Any], isMultiple flag: Bool)

Parameters

  • attributes:

    The new attributes.

  • flag:

    If True, 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