editedRange
The range of text that contains changes.
Declaration
var editedRange: NSRange { get }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.