Instance Method


Ensures that attributes are fixed in the given range.


- (void)ensureAttributesAreFixedInRange:(NSRange)range;



The range of characters whose attributes might be examined.


An NSTextStorage object using lazy attribute fixing is required to call this method before accessing any attributes within range. This method gives attribute fixing a chance to occur if necessary. NSTextStorage subclasses wishing to support laziness must call this method from all attribute accessors they implement.

See Also

Handling Text Editing Messages

- edited:range:changeInLength:

Tracks changes made to the receiver, allowing the text storage to record the full extent of changes made.


A Boolean value indicating whether the text storage object fixes attributes lazily.

- invalidateAttributesInRange:

Invalidates attributes in the specified range.

- processEditing

Cleans up changes made to the receiver and notifies its delegate and layout managers of changes.