Instance Method


Invalidates the layout information for the glyphs mapped to the specified character range.


- (void)invalidateLayoutForCharacterRange:(NSRange)charRange actualCharacterRange:(NSRangePointer)actualCharRange;



The range of characters to invalidate.


If not NULL, on output, the actual range invalidated after any necessary expansion.


This method has the same effect as invalidateLayoutForCharacterRange:isSoft:actualCharacterRange: with flag set to NO.

This method only invalidates information; it performs no glyph generation or layout. You should rarely need to invoke this method.

See Also

Invalidating Glyphs and Layout

- invalidateDisplayForCharacterRange:

Invalidates display for the specified character range.

- invalidateDisplayForGlyphRange:

Invalidates a range of glyphs, requiring new layout information, and updates the appropriate regions of any text views that display those glyphs.

- invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:

Invalidates and adjusts the glyphs in the specified character range.

- processEditingForTextStorage:edited:range:changeInLength:invalidatedRange:

Notifies the layout manager that the contents of its text storage object changed due to an edit action.