Setting preferences for folding in the EGL editor

You can use folding to collapse blocks of code in the EGL editor to hide them.

Folding does not affect EGL source code or generated source; it is a tool that you can use to view the active parts of your source code while hiding parts that you are not currently working with.

To set folding preferences:
  1. From the main menu, click Window > Preferences.
  2. In the Preferences window, expand EGL > Editor and click Folding.
  3. On the Folding page of the Preferences window, select Enable folding to enable the EGL editor to collapse sections of your code.
  4. Under Initially fold these elements, select the check boxes that are next to the sections of EGL code that you want to fold automatically when you open a file.
  5. In the Number of property block lines needed to enable folding field, enter the minimum number of lines in a block of properties to fold. If you select Properties Block, EGL will automatically fold blocks of properties of the given size or larger.
  6. To save your changes and remain in the Preferences window, click Apply. To save your changes and exit the window, click OK.

Feedback