Instance Method

copyFont:

An action method that copies font information onto the font pasteboard.

Declaration

- (void)copyFont:(id)sender;

Parameters

sender

The object that sent this message.

Discussion

This action method copies the font information for the first character of the selection (or for the insertion point) onto the font pasteboard as NSFontPboardType.

See Also

Cut, Copy and Paste Action Methods

- copy:

Action method that copies the selected content to the general pasteboard.

- cut:

An action method that deletes selected content and puts it on the general pasteboard.

- delete:

An action method that deletes the selected content.

- paste:

An action method that pastes content from the pasteboard at the insertion point or over the selection.

- pasteFont:

An action method that pastes font information from the font pasteboard.

- pasteAsPlainText:

An action method that pastes pasteboard content as plain text.

- pasteAsRichText:

An action method that pastes pasteboard content into the receiver as rich text, maintaining its attributes.