rangesForUserCharacterAttributeChange
An array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes.
Declaration
var rangesForUserCharacterAttributeChange: [NSValue]? { get }Discussion
An array containing the ranges of characters affected by an action method that changes character (not paragraph) attributes, such as the NSText action method changeFont(_:). For rich text these ranges are typically the ranges of the selections. For plain text the range is the entire contents of the receiver.
See Also
Related Documentation
Customizing subclass behaviors
updateFontPanel()updateRuler()acceptableDragTypesupdateDragTypeRegistration()selectionRange(forProposedRange:granularity:)rangeForUserCharacterAttributeChangerangeForUserParagraphAttributeChangerangesForUserParagraphAttributeChangerangeForUserTextChangerangesForUserTextChangeshouldChangeText(in:replacementString:)shouldChangeText(inRanges:replacementStrings:)didChangeText()smartInsertDeleteEnabledsmartDeleteRange(forProposedRange:)