Instance Method

pasteAsRichText:

This action method inserts the contents of the pasteboard into the receiver’s text as rich text, maintaining its attributes.

Declaration

- (void)pasteAsRichText:(id)sender;

Parameters

sender

The control that sent the message; may be nil.

Discussion

The text is inserted at the insertion point if there is one, otherwise replacing the selection.

See Also

Clicking and Pasting

- clickedOnLink:atIndex:

Causes the text view to act as if the user clicked on some text with the given link as the value of a link attribute associated with the text.

- pasteAsPlainText:

Inserts the contents of the pasteboard into the receiver’s text as plain text.