| |||
| Home > Workspace Settings Reference > ALL > Text | |||
Settings in this group control the source code view 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 source code view.
Use this setting to specify the width, in number of characters, for text displayed in the source code view.
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.3 describes these settings.
Table A.3. 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:
|
Default_encoding | Use this to specify the default text encoding. The options are:
|
See also:
the following in the RealView Debugger Essentials Guide:
This group contains the Pane_font setting
to set the font used in views:
On Windows, a Font dialog box is opened to enable you to change the font settings. shows the default font settings.
Table A.4. Default font settings
| Setting | Default Value |
|---|---|
| Font | Courier New |
| Font style | Regular |
| Size | 9 |
| Script | Western |
On Red Hat Linux, changing fonts with the Pane_font setting
is not supported. Table A.4 shows
the default font settings that are used.
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.5 describes the settings.
Table A.5. 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 source code view. |
Numbers_bkgrnd | Use this to specify the background color for numbers displayed in the source code view. |
Strings_text | Use this to specify the foreground color for strings displayed in the source code view. |
Strings_bkgrnd | Use this to specify the background color for strings displayed in the source code view. |
Keywords_text | Use this to specify the foreground color for C/C++ keywords displayed in the source code view. |
Keywords_bkgrnd | Use this to specify the background color for C/C++ keywords displayed in the source code view. |
Comments_text | Use this to specify the foreground color for comments displayed in the source code view. |
Comments_bkgrnd | Use this to specify the background color for comments displayed in the source code view. |
Identifiers_text | Use this to specify the foreground color for identifiers displayed in the source code view. |
Identifiers_bkgrnd | Use this to specify the background color for identifiers displayed in the source code view. |
User_text | Use this to specify the foreground color for user-defined keywords displayed in the source code view. |
User_bkgrnd | Use this to specify the background color for user-defined keywords displayed in the source code view. |
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 source code view. |
Operator_bkgrnd | Use this to specify the background color for operators displayed in the source code view. |
User_keywords | Use this to specify a list of user-defined keywords that are highlighted when they appear in the source code view. |