Instance Method

clearSelection

Clears the selection.

Declaration

- (void)clearSelection;

Discussion

The view redraws as necessary but does not scroll. This call is equivalent to calling [PDFView setCurrentSelection:NULL].

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.

- copy:

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

- scrollSelectionToVisible:

Scrolls the view until the selection is visible.

highlightedSelections

Returns the array of selections that are highlighted using setHighlightedSelections.