Enumeration

NSSelectionGranularity

These constants specify how much the text view extends the selection when the user drags the mouse. They’re used by selectionGranularity, and selectionRange(forProposedRange:granularity:):

Declaration

enum NSSelectionGranularity : UInt

Topics

Constants

case selectByCharacter

Extends the selection character by character.

case selectByWord

Extends the selection word by word.

case selectByParagraph

Extends the selection paragraph by paragraph.