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

Automatic Indenting

Use this dialog box to specify the position where the cursor will be placed on the next line after you type a token and press Enter. If you type a line that does not contain a token, the first non-blank character in that line determines where the cursor will be placed on the next line. The information you type here will be stored for future Editor sessions in the language profile associated with the current file if the Save settings check box is selected.

Notes:

  1. Automatic indenting is not supported beyond column 256.
  2. If lines are going to exceed the record length of a file and be truncated, the automatic indenting feature will not indent them fully, but will right-justify them with the record length.

Controls found in this dialog box are listed below.

Tokens/Indent value contains a list of token types defined in the current language profile, and the indent values assigned to them. To change the indent value assigned to a specific token type, select that token type from this list, set the new indent value in the Change to field, then click the Change button.
Change to sets a new indent value for the token type selected in the Tokens/Indent value list.
Change applies the indent value set in the Change to field to the token type currently selected in the Tokens/Indent value list.
Save Settings stores changes to indenting settings in the current language profile for use in future editing sessions. The name of the language profile appears at the top of the Automatic indenting dialog box.
If this option is not checked, indent settings apply only to the current editing session.
OK applies changes you have made in this dialog box, and returns you to the Editor.
Defaults change all indent settings to the Editor installation defaults.
Cancel closes this dialog box without applying any changes to indent settings, and returns you to the Editor.
Help displays this help page.