MonobjcMonobjc Documented Class Library
NSSelectionGranularity Enumeration
NamespacesMonobjc.AppKitNSSelectionGranularity

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSSelectionGranularity
Public Enumeration NSSelectionGranularity
public enum class NSSelectionGranularity
Members
MemberDescription
NSSelectByCharacter

Extends the selection character by character.

Available in Mac OS X v10.0 and later.


NSSelectByWord

Extends the selection word by word.

Available in Mac OS X v10.0 and later.


NSSelectByParagraph

Extends the selection paragraph by paragraph.

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)