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 selectionRangeForProposedRange:granularity::

Declaration

typedef enum NSSelectionGranularity : NSUInteger {
    ...
} NSSelectionGranularity;

Topics

Constants

NSSelectByCharacter

Extends the selection character by character.

NSSelectByWord

Extends the selection word by word.

NSSelectByParagraph

Extends the selection paragraph by paragraph.