Instance Property

editedRange

The range of text containing changes.

Declaration

iOS, Mac Catalyst, tvOS
@property(readonly, nonatomic) NSRange editedRange;
macOS
@property(readonly) NSRange editedRange;

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

A mask describing the kinds of edits pending for the text storage object.

changeInLength

The difference between the current length of the edited range and its length before editing began.