Matching preprocessor conditional macros, Figure 113. highlighting matching parentheses – Zilog ZUSBOPTS User Manual
Page 169

UM017105-0511
Using the Editor
Zilog Developer Studio II – ZNEO™
User Manual
141
When braces or parentheses are nested, the innermost pair containing the text caret is
highlighted.
You can also locate the matching brace by pressing Ctrl+E; this keyboard shortcut is espe-
cially useful when the braces are extended over multiple pages. Place your text caret any-
where in between the braces or parentheses and then press Ctrl+E to move to the closing
or opening brace or parenthesis, respectively. Use this hotkey to quickly jump between
opening and closing braces or parentheses.
To select content within matching braces or parentheses, place the text caret anywhere in
between the braces or parentheses, respectively, then press Ctrl+Shift+E.
Matching Preprocessor Conditional Macros
Source code is often grouped between compiler preprocessor statements. The ZDS II edi-
tor will allow you to move from inside a conditional statement to the enclosing preproces-
sor statements.
Move the text cursor to the line of a preprocessor conditional statement or to a line that is
enclosed by preprocessor conditional statements, then perform either of the following
actions:
•
Press Ctrl+K to find the matching preprocessor conditional statements that exist for-
ward or backward
Figure 113. Highlighting Matching Parentheses