Instance Property

selectionAffinity

The current selection affinity.

Declaration

@property(nonatomic, readonly) NSSelectionAffinity selectionAffinity;

Discussion

For example, if text wraps across line boundaries, the value of this property indicates whether or not the insertion point appears after the last charactrer of the first line or before the first character of the following line.

See Also

Selecting Content in the Document

selectedDOMRange

The range of the current selection.

- setSelectedDOMRange:affinity:

Selects a range of nodes.