Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;IndentingCode.rtfd;;¬  Next Section	;MovingCopying.rtfd;;¬  Previous Section

Checking delimiters

¬	Double-click a brace to highlight the block it delimits.

¬	Double-click a square bracket to highlight the message it delimits.

¬	Double-click a parenthesis to highlight the function arguments or C expression delimited.

One common source of compiler errors is mismatched code delimiters: braces for blocks of code, brackets for message expressions, and parentheses for C expressions and function arguments. Project Builder's code editor allows you to check which delimiters match just by double-clicking.

¬¬

In addition to checking for missing or extra delimiters, you can use this technique for selecting the code in between (and including) the delimiters. 

If a matching delimiter is missing, the code editor displays the error in the status area in its upper-right corner. Project Builder also checks for delimiters as you type code. When you type a delimiter of any type, the cursor briefly jumps to the opposite delimiter. If the opposite delimiter is out of view, the line it's on appears in the status area.

You can also enable your right mouse button so that when you click anywhere in a type or message expression, that type or message is selected and then the Project Find panel performs a definition lookup. See Chapter 8 for more on this feature.  ;../08_FindingInformation/FindingInformation.rtfd;;¬