Instance Property

editedRange

The range of text containing 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.

See Also

Determining the Nature of Changes

var editedMask: NSTextStorage.EditActions

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

var changeInLength: Int

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