The color of the insertion point.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property(copy) NSColor *insertionPointColor;
The color of the insertion point.
SDK
Framework
@property(copy) NSColor *insertionPointColor;
selected Ranges
An array containing the ranges of characters selected in the receiver’s layout manager.
- set Selected Range:
Sets the selection to the characters in an array of ranges.
- set Selected Range: affinity: still Selecting:
Sets the selection to a range of characters in response to user action.
- set Selected Ranges: affinity: still Selecting:
Sets the selection to the characters in an array of ranges in response to user action.
selection Affinity
The preferred direction of selection.
selection Granularity
The selection granularity for subsequent extension of a selection.
- update Insertion Point State And Restart Timer:
Updates the insertion point’s location and optionally restarts the blinking cursor timer.
selected Text Attributes
The attributes used to indicate the selection.
marked Text Attributes
The attributes used to draw marked text.
link Text Attributes
The attributes used to draw the onscreen presentation of link text.
- character Index For Insertion At Point:
Returns a character index appropriate for placing a zero-length selection for an insertion point associated with the mouse at the given point.