| |||
| Home > Workspace Settings Reference > ALL > Text | |||
Settings in this group control the File Editor pane and editor functions within the Code window.
Saving changes might not take effect until the next time RealView Debugger starts, or when a new Code window opens.
The Text group contains third-level groups
and a series of settings:
Use this setting to specify the height, in number of lines, for text displayed in the File Editor pane.
Use this setting to specify the width, in number of characters, for text displayed in the File Editor pane.
Source coloring is used to make it easier to read source of high-level and low-level languages. All source coloring can be disabled in which case all text is the same color (usually black).
By default, source coloring is enabled, that is this setting
is False.
Settings in this group configure multiple language support.
Table A.4 describes these settings.
Table A.4. Internationalization settings
| Name | Properties |
|---|---|
Enabled | Use this to enable or disable internationalization.
By default, internationalization is disabled, that is this setting
is |
Language | Use this to specify the language to use for text. The options are:
For Chinese and Japanese languages, see the font recommendations in the RealView Debugger v1.8 Essentials Guide. |
Default_encoding | Use this to specify the default text encoding. The options are:
|
This group contains the Pane_font setting
to set the font used in panes:
On Windows, a Font dialog box is displayed to enable you to change the font settings shown in Table A.5. This table also shows the default font settings.
On Sun Solaris and Red Hat Linux, a dialog box is
displayed where you must type in the font information directly.
The default font is Courier New. The font information
must be in the following format:
font_name,n,n,n,n,n,n,n,n,n,n,n,n,n
For example, to set the equivalent font settings to those given in Table A.5, enter:
Courier New,-12,0,0,0,400,0,0,0,0,3,2,1,49
These settings control the colors used to identify source tokens. The defaults have been chosen to be easy to read and work well to isolate different program areas. The coloring choices are made relative to the built-in color models.
If you attempt to set the same foreground and background color, then RealView Debugger uses the foreground color but uses the default color for the background.
Table A.6 describes the settings.
Table A.6. Source_coloring settings
| Name | Properties |
|---|---|
File_extensions | The standard C/C++ source coloring is auto-enabled based on file extension. Use this to specify a comma-separated list of file extensions that, when loaded, trigger source code coloring. |
Scheme | The color scheme you want to use for source coloring. You can select one of:
|
Numbers_text | Use this to specify the foreground color for numbers displayed in the File Editor pane. |
Numbers_bkgrnd | Use this to specify the background color for numbers displayed in the File Editor pane. |
Strings_text | Use this to specify the foreground color for strings displayed in the File Editor pane. |
Strings_bkgrnd | Use this to specify the background color for strings displayed in the File Editor pane. |
Keywords_text | Use this to specify the foreground color for C/C++ keywords displayed in the File Editor pane. |
Keywords_bkgrnd | Use this to specify the background color for C/C++ keywords displayed in the File Editor pane. |
Comments_text | Use this to specify the foreground color for comments displayed in the File Editor pane. |
Comments_bkgrnd | Use this to specify the background color for comments displayed in the File Editor pane. |
Identifiers_text | Use this to specify the foreground color for identifiers displayed in the File Editor pane. |
Identifiers_bkgrnd | Use this to specify the background color for identifiers displayed in the File Editor pane. |
User_text | Use this to specify the foreground color for user-defined keywords displayed in the File Editor pane. |
User_bkgrnd | Use this to specify the background color for user-defined keywords displayed in the File Editor pane. |
Preprocessor_text | Use this to specify the foreground color
for preprocessor keywords ( |
Preprocessor_bkgrnd | Use this to specify the background color
for preprocessor keywords ( |
Operator_text | Use this to specify the foreground color for operators displayed in the File Editor pane. |
Operator_bkgrnd | Use this to specify the background color for operators displayed in the File Editor pane. |
User_keywords | Use this to specify a list of user-defined keywords that are highlighted when they appear in the File Editor pane. |