Returns an adjusted selected range based on the selection granularity.
The proposed selected range.
The selection granularity.
The adjusted selected range, taking into account the selection granularity.
This method is invoked repeatedly during mouse tracking to modify the range of the selection. Override this method to specialize selection behavior.
Methods for Subclasses to Use or Override
Updates the Font panel to contain the font attributes of the selection.
Updates the ruler view in the receiver’s enclosing scroll view to reflect the selection’s paragraph and marker attributes.
The data types that the receiver accepts as the destination view of a dragging operation.
The range of characters affected by a method that changes characters (as opposed to attributes).
An array containing the ranges of characters affected by a method that changes characters (as opposed to attributes).
Sends out necessary notifications when a text change completes.
A Boolean value that controls whether the receiver inserts or deletes space around selected words so as to preserve proper spacing and punctuation.
Returns an extended range that includes adjacent whitespace that should be deleted along with the proposed range in order to preserve proper spacing and punctuation.