Setting Text Editor Options

With the HP Eloquence Development Environment, you can set the text editor’s behavior to suit your preferences and work habits. You can customize the text editor by:


Setting Tabs and Indents

You can indent text with tab characters several ways: When you press the TAB key, the insertion point moves to the next indent level.

You can also use Auto Indent (without Smart Indent) to automatically indent new lines to match the previous line.

To set Auto Indent

  1. From the View menu, choose Application Properties. The Application Properties dialog box appears.
  2. Select the Edit tab.
  3. Under Auto Indent, select the appropriate setting. To use Smart Indent, select the Smart option. Select the Default option to set the tab and indent size to match that of the previous level.
  4. Choose the OK button.

If you use Auto Indent (with Smart Indent enabled), the text editor automatically indents the text based on the context of the previous lines.

Anmerkung: Auto-Indent ist z.Zt. noch nicht implementiert

To set Smart Indent

  1. From the View menu, choose Application Properties. The Application Properties dialog box appears.
  2. Select the Edit tab.
  3. Under Auto Indent, select the Smart option.
  4. Choose the OK button.

To change tab and indent settings

  1. From the View menu, choose Application Properties. The Application Properties dialog box appears.
  2. Select the Edit tab.
  3. In the Tab Size box, type the number of spaces to use as a tab stop. The default is three spaces.
  4. In the Indent Size box, type the number of spaces to use for indents. The default is four spaces.

To change tab and insert settings using the Document property page

  1. Click the right mouse button with the mouse pointer in the source window,
  2. From the pop-up menu, choose Properties. The Document property page appears.
  3. In the Tab Size box and Indent Size box, type the tab and indent setting.
You can press the TAB key to move the caret to the next indent level. You can also move a block of lines one tab to the right or left.

To indent a group of lines

  1. Select the group of lines.
  2. Press the IndentSelection key combination.

To unindent a group of lines

  1. Select the group of lines.
  2. Press the UnindentSelection key combination.
Note The UnindentSelection command only returns to previous tab stops.

Setting Syntax Coloring

Using different colors for various elements of your display, such as functions or variables lines, gives you visual cues about the structure of your source code. These changes are global and affect all HP Eloquence source files.

To set syntax coloring in an individual source file

  1. Click the source file window or use the Window menu to make the source window active. If there are multiple windows open on the source file, select one. Syntax coloring changes will appear in all windows opened on the source file.
  2. From the Edit menu, choose Properties. The Document property page appears.
  3. Set syntax coloring for that source file, or select None to turn syntax coloring off.

Note Global syntax coloring is enabled by default.


© Copyright 1997 Hewlett-Packard GmbH. All rights reserved.
Revision: 98/02/18