
Hitachi Embedded Workshop User Manual
84
Figure 4.14: Define Template Dialog
4.12.2
Deleting a Template
To delete a template:
1. Select [Edit->Templates->Define Templates...], select [Templates->Define Templates...] from the
local menu, press CTRL+T or click on the define template bookmark toolbar button (
). The dialog
shown in figure 4.14 will be displayed.
2. Use the Template name drop down list to select the name of the template you wish to remove and then
click the “Remove” button.
3. Clicking “OK” saves the template changes and dismisses the dialog.
4.12.3
Inserting a Template
To insert a template:
1. Select a template in the toolbar, then click the insert template toolbar button (
), select [Edit->
Templates->Insert Template...] or select [Templates-> Insert Template...] from the local menu. The
dialog is dismissed and the chosen template is added to the current editor window.
4.12.4
Brace Matching.
Complicated source code can often become unwieldy, especially when blocks of C code are deeply nested within
each other or when complex logic statements are expressed within an ‘if’ clause. To help in such situations, the
Hitachi Embedded Workshop editor provides a match brace feature which highlights text between braces of type
{ }, ( ) and [ ].
To find a matching brace:
1. Either highlight the open brace to match from or place the cursor before it.
2. Click the match braces toolbar button (
), press CTRL+B, select [Edit->Match Braces] or select
[Match Braces] from the local menu.
To check the structure of an entire file, place the cursor at its start and then repeatedly invoke the match brace
operation. The editor will successively highlight each pair of braces in turn until there are no more to match.