The editing features in the Program Unit editor (and Stored Program Unit editor) include:
Automatic indent |
When you press the Enter key at the end of a line, the next line is automatically indented. |
Color syntax highlighting |
Keywords, comments, strings, and symbols such as := and || are colored differently. |
Column and line selection) |
You can select columns of text as well as lines of source code. To select a column, press the ALT key, then click and drag horizontally. To select a line, click on the extreme left margin of the line in the Source pane. |
Drag and drop text manipulation |
Selected text may be copied or moved by dragging and dropping. To copy text, press the CTRL key and drag the selected text. To move text, simply drag the selected text. |
Indent/Outdent lines |
The Indent/Outdent commands in the Edit menu enable you to indent or outdent selected source lines. |
Multiple split views |
You can create up to four separate views of the current program unit. To create horizontal views, place the cursor on the split bar at the top of the vertical scroll bar. Then click and drag the split bar down. To create vertical views, place the cursor on the split bar at the far left of the horizontal scroll bar. Then click and drag the split bar to the right. To remove a horizontal or vertical view, double-click the split bar that separates the views. |
Printing |
Choose File | Print to print the current program unit. |
Unlimited undo/redo |
The Undo/Redo commands on the Edit menu enable you to undo or redo changes as far back as the last save operation. |
Note: These features are available in Microsoft Windows only. In UNIX, you can print the current program unit, and you can use TAB/Shift-TAB to indent/outdent selected lines.