Contents

changeDocumentBackgroundColor(_:)

Sets the background color of the selected content.

Declaration

func changeDocumentBackgroundColor(_ sender: Any?)

Parameters

  • sender:

    The object that sent this message.

Discussion

This method is invoked by the NSColorPanel sender and behaves similar to the changeDocumentBackgroundColor(_:) method in NSTextView.

See Also

Changing the Font, Color and Other Attributes When Editing