mark

Adds an item to the Function pop-up menu in the IDE editor.

Syntax

#pragma mark itemName

Targets
All platforms.
Remarks

This pragma adds itemName to the source file’s Function pop-up menu. If you open the file in the Carbide Editor and select the item from the Function pop-up menu, the editor brings you to the pragma. Note that if the pragma is inside a function definition, the item does not appear in the Function pop-up menu.

If itemName begins with “--”, a menu separator appears in the IDE’s Function pop-up menu:

#pragma mark --

This pragma does not correspond to any panel setting.