<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextView/rangesForUserTextChange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextView(py)rangesForUserTextChange"
  },
  "title" : "rangesForUserTextChange"
}
-->

# rangesForUserTextChange

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

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

## See Also

[`usesRuler`](/documentation/AppKit/NSTextView/usesRuler)

A Boolean value that controls whether the text views sharing the receiver’s layout manager use a ruler.

[`isEditable`](/documentation/AppKit/NSTextView/isEditable)

A Boolean value that controls whether the text views sharing the receiver’s layout manager allow the user to edit text.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)