Instance Method

changeDocumentBackgroundColor:

Sets the background color of the selected content.

Declaration

- (void)changeDocumentBackgroundColor:(id)sender;

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

- changeFont:

An action method that changes the font of the selection, or all content if there is no selection.

- changeAttributes:

An action method that changes the attributes of the current selection.

- changeColor:

Sets the color of the selected content.