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:
You can indent text with tab characters several ways:
- Use the INDENT SELECTION key.
- Use Auto Indent (without Smart Indent)
- Use Auto Indent (with Smart Indent enabled)
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
- From the View menu, choose Application Properties.
The Application Properties dialog box appears.
- Select the Edit tab.
- 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.
- 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
- From the View menu, choose Application Properties.
The Application Properties dialog box appears.
- Select the Edit tab.
- Under Auto Indent, select the Smart option.
- Choose the OK button.
To change tab and indent settings
- From the View menu, choose Application Properties.
The Application Properties dialog box appears.
- Select the Edit tab.
- In the Tab Size box, type the number of spaces to use as a tab
stop. The default is three spaces.
- 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
- Click the right mouse button with the mouse pointer in the
source window,
- From the pop-up menu, choose Properties.
The Document property page appears.
- 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
- Select the group of lines.
- Press the IndentSelection key combination.
To unindent a group of lines
- Select the group of lines.
- Press the UnindentSelection key combination.
Note The UnindentSelection command only returns to previous
tab stops.
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
- 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.
- From the Edit menu, choose Properties.
The Document property page appears.
- 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