
Hitachi Embedded Workshop User Manual
80
4.10
Configuring Text
The following sections detail how to change the appearance of the text displayed in the editor windows.
4.10.1
Changing the Editor Font
The Hitachi Embedded Workshop allows you to specify the font to be used in its internal editor. All editor
windows, regardless of the file type, use the same font.
To change the editor font:
1. Select [Tools->Format Views...]. The “Format Views” dialog will be displayed. Select the Source icon
in the tree (figure 4.10).
2. Select the desired font from the “Font” list.
3. Select the size of the font from the “Size” list.
4. Click “OK” to confirm the new editor settings.
Figure 4.10: Format Views Dialog Font Tab
4.11
Syntax Coloring
To enhance code readability, the HEW editor can display specific strings (i.e. keywords) in different colors. For
instance, C source code comments could be shown in green and C types (e.g. int) could be shown in blue.
The coloring method used can be specified on a file group by file group basis. For example, you can define
different color schemes for a C source files, text files, map files or even your own files.
To change existing colors:
1.
Select [Tools->Format Views...]. The “Format Views” dialog will be displayed.
2.
Select the item underneath the icon in the tree you wish to modify the colour for. This should be the file
type (e.g. C source file) and correct keyword group (e.g. identifier or pre-processor).