Instance Method

invalidateLayoutForCharacterRange:actualCharacterRange:

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

Declaration

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

Parameters

charRange

The range of characters to invalidate.

actualCharRange

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

Discussion

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.