---
title: editedRange
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextstorage/editedrange
---

# editedRange

The range of text that contains changes.

## Declaration

```swift
var editedRange: NSRange { get }
```

## Discussion

Discussion The specified range can reflect changes to characters or attributes. The text storage object’s delegate and layout managers can use this information to determine the nature of edits in their respective notification methods.

## See Also

### Determining the nature of changes

- [editedMask](appkit/nstextstorage/editedmask.md)
- [changeInLength](appkit/nstextstorage/changeinlength.md)
