Contents

textSelections

An array of text selections associated by the text layout manager.

Declaration

var textSelections: [NSTextSelection] { get set }

Discussion

Each NSTextSelection represents an insertion point. The selection state that the framework shares among all viewports connected to the text layout manager through text containers.

See Also

Accessing the text storage