Instance Method

copy:

Copies the text in the selection, if any, to the Pasteboard.

Declaration

- (IBAction)copy:(id)sender;

See Also

Handling Selections

currentSelection

The current selection.

- setCurrentSelection:animate:

Sets the current selection, in an animated way, if desired.

- selectAll:

Selects all text in the document.

- clearSelection

Clears the selection.

- scrollSelectionToVisible:

Scrolls the view until the selection is visible.

highlightedSelections

Returns the array of selections that are highlighted using setHighlightedSelections.