beautypg.com

Figure 118. code folding margin – Zilog Z8F0130 User Manual

Page 199

background image

UM013037-1212

Code Folding Margin

Zilog Developer Studio II – Z8 Encore!

User Manual

175

The folding points of a document are based on the hierarchical structure of the document
contents. In C programming code, the document hierarchy is determined by the brace
characters, conditional preprocessor macros, commented code block and file/function
header.

Code folding is available only with C and HTML files; it is not available with assembly
files.

Folding and unfolding the code does not change the content or structure of the code.

To contract or expand single foldable block of code, click the fold point, or press

Ctrl

+

=

while the text caret is positioned on the fold pointing line of code or within the block of
code.

To contract or expand all foldable blocks of code, click anywhere on the fold margin while
pressing the Ctrl key.

To show or hide the folding margin of a codeset, perform the following steps:

1. From the

Tools

menu, select

Options

. The

Options

dialog box is displayed.

Figure 118. Code Folding Margin