Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

View Settings for the Source View

A "setting" is a user defined selection which changes the look and feel of the Source view or the Editor window. Selections in the View Settings view let you set various options that customize the functioning of the Editor.

There is a sample view at the bottom of the View Settings view which reflects what selecting a setting does to a Source view.

Setting changes take effect immediately. Settings available are:

Window Controls enables or disables the Editor default control settings in the Source view. Controls are enabled if a check mark appears beside them. To toggle a control between enabled and disabled states, click on its entry. Control settings available are:
Command line If enabled, displays an Editor command entry area at the bottom of the view.
Format line If enabled, displays a ruler at the top of each file view.
Status line If enabled, displays a status line at the top of each file view showing:
  • Cursor row and column location
  • Insert/replace mode
  • Number of changes to file since last save
Message line If enabled, displays a message line area at the bottom of the Source view and the Editor window.
Language editing sets options and features described in the language profile for editing files. You can select or deselect any or all of the following settings to enable or disable the features.
Token highlighting Provides highlighting of tokens to let you use language-editing features.
Automatic indenting Provides automatic indenting for the file in the Editor.
Lexical errors Lets you enable or disable lexical error logging.

Note: The language profile associated with the file you are currently editing determines which of these features are available.

Profiles will run and edit load profiles in the Editor. The range of settings shown will vary according to which load profiles are defined on your system, and the type of file you are editing. Settings that appear are:
All active Opens for editing all load profiles that apply to the current file.
User file load Opens for editing the profsys.lxu profile, if it is defined.
Language load:<lang> Opens for editing the language profile (lang.lxl) for the current file, if it is defined.
User preferences Opens for editing the profile.lx profile, if it is defined.
Key behavior defines the behavior of certain keyboard keys in the Editor, for example, the Enter, Delete, and Backspace keys. You can select one of the existing editor personalities with which you might already be familiar, such as EPM or SEU.
  • Customize opens the Key Behavior - customize dialog box, in which you can define your own key behaviors. Changes to key behaviors are saved between IDE sessions.
Default view allows you to change the Source view and Editor windows' display characteristics. Select one of the following:
  • Show object source only
  • Show entire file source

Other Options allows you to change the look of the Editor. Select one of the following settings:

  • Font changes the basic font used to display text in the Source view or Editor window.
  • Color palette customizes the colors used in the Editor. You can define and save a new color palette, or select an existing color palette for use by the Editor.
  • Token attributes customizes the display characteristics of the tokens defined for the current file type. You can preview and change the character display attributes for the different token types found in your file.
  • Automatic indenting sets the indent values for each programming language token, and saves them in the current language profile.
    Note: To activate automatic indenting after you have changed the settings, select Automatic indenting from the Language editing selection.
  • Global variables will view, change, and set global variables. The Global variables dialog box appears, listing each name together with its current value, and enabling you to change an existing variable or set a new one.

If you want help on another aspect of the IDE interface, more IDE interface help is available.



Customize the Editor using the Keyboard