Contents

selectionAffinity

The preferred direction of selection.

Declaration

var selectionAffinity: NSSelectionAffinity { get }

Discussion

Selection affinity determines whether, for example, the insertion point appears after the last character on a line or before the first character on the following line in cases where text wraps across line boundaries.

See Also

Managing the selection