Enumeration

NSControlCharacterAction

Actions caused by control characters.

Declaration

typedef enum NSControlCharacterAction : NSInteger {
    ...
} NSControlCharacterAction;

Overview

These constants are used by the layoutManager:shouldUseAction:forControlCharacterAtIndex: delegate method.

Topics

Actions

NSControlCharacterActionContainerBreak

An action that triggers a break in layout for the current container.

NSControlCharacterActionHorizontalTab

An action that inserts a horizontal tab.

NSControlCharacterActionLineBreak

An action that causes a line break.

NSControlCharacterActionParagraphBreak

An action that causes a paragraph break.

NSControlCharacterActionWhitespace

An action that adds whitespace.

NSControlCharacterActionZeroAdvancement

An action that removes the glyph from layout.

See Also

Invalidating Glyphs and Layout

- layoutManagerDidInvalidateLayout:

Informs the delegate that the given layout manager has invalidated layout information (not glyph information).

- layoutManager:shouldGenerateGlyphs:properties:characterIndexes:font:forGlyphRange:

Enables customization of the initial glyph generation process.

- layoutManager:shouldUseAction:forControlCharacterAtIndex:

Returns the control character action for the control character at the given character index.