---
title: rangesForUserTextChange
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextview/rangesforusertextchange
---

# rangesForUserTextChange

An array containing the ranges of characters affected by a method that changes characters (as opposed to attributes).

## Declaration

```swift
var rangesForUserTextChange: [NSValue]? { get }
```

## See Also

### Related Documentation

- [usesRuler](appkit/nstextview/usesruler.md)
- [isEditable](appkit/nstextview/iseditable.md)

### Customizing subclass behaviors

- [updateFontPanel()](appkit/nstextview/updatefontpanel().md)
- [updateRuler()](appkit/nstextview/updateruler().md)
- [acceptableDragTypes](appkit/nstextview/acceptabledragtypes.md)
- [updateDragTypeRegistration()](appkit/nstextview/updatedragtyperegistration().md)
- [selectionRange(forProposedRange:granularity:)](appkit/nstextview/selectionrange(forproposedrange:granularity:).md)
- [rangeForUserCharacterAttributeChange](appkit/nstextview/rangeforusercharacterattributechange.md)
- [rangesForUserCharacterAttributeChange](appkit/nstextview/rangesforusercharacterattributechange.md)
- [rangeForUserParagraphAttributeChange](appkit/nstextview/rangeforuserparagraphattributechange.md)
- [rangesForUserParagraphAttributeChange](appkit/nstextview/rangesforuserparagraphattributechange.md)
- [rangeForUserTextChange](appkit/nstextview/rangeforusertextchange.md)
- [shouldChangeText(in:replacementString:)](appkit/nstextview/shouldchangetext(in:replacementstring:).md)
- [shouldChangeText(inRanges:replacementStrings:)](appkit/nstextview/shouldchangetext(inranges:replacementstrings:).md)
- [didChangeText()](appkit/nstextview/didchangetext().md)
- [smartInsertDeleteEnabled](appkit/nstextview/smartinsertdeleteenabled.md)
- [smartDeleteRange(forProposedRange:)](appkit/nstextview/smartdeleterange(forproposedrange:).md)
