General Editor Settings

Top  Previous  Next

The General tab of the Editor Options dialog sets up all common options applicable to every Source window opened.

Element of dialog

Description

Backspace Unindents

Checking/clearing this box toggles the Backspace Unindent mode. See below for explanations.

Keep Trailing Spaces

When this box is checked, the editor does not remove trailing spaces in lines when copying text to the buffer or saving it to a disk. Spaces are removed when the box is unchecked.

Vertical Blocks

If the box is checked, the Vertical Blocks mode is enabled for block operations.

Persistent Blocks

If the box is checked, the Persistent Blocks mode is enabled for block operations.

Create Backup File

If the box is checked then <%CM%> creates a *.BAK file each time a file is saved in the Source window.

Horizontal Cursor

If the box is checked it sets the cursor as a horizontal line, like the DOS command prompt.

CR/LF at End-of-file

If the box is checked, it adds an empty line to the file end when saving the file to disk (if there is no one yet).

Syntax Highlighting

If the box is checked, it forces syntax highlighting of language constructions.

Highlight Multi-line Comments

If the box is checked it enables highlighting of multi-line comments. By default, the window highlights only single-line comments.

 

Auto Word/AutoWatch Pane

If the box is checked, any new Source window will open with the Auto Word/AutoWatch pane at its right and the automatic word  completion function will be enabled.

Full Path in Window Title

If the box is checked, the Source window caption bar displays the full path to the opened file.

Empty Clipboard Before Copying

If the box is unchecked, then previously kept data remains retrievable after copying to the clipboard.

Convert Keyboard Input to OEM

If the box is checked, the Source window converts the characters that you input in the window from the MS Windows character set to the OEM (national) character set corresponding to your national version of the Windows operating system. Also, see note below.

AutoSave Files Each … min

If the box is checked, <%CM%> will save the file being edited every ‘X’ minutes, where ‘X’ is a settable constant chosen by the user.

Tab Size

Sets the tabulation size for the text display. The allowable value ranges from 1 to 32. If the file being edited contains ASCII tabulation characters, they will be replaced with a number of spaces equivalent to the tabulation size.

Undo Count

Sets the maximum number of available undo steps (512 by default). If this does not suffice, you can set a value of up to 10000 steps. However, larger values increase the editor’s memory requirement.

Automatic Word Completion

If the Enable box is checked, it allows the automatic word completion function. The Scan Range drop-down list sets the number of text lines to be scanned by the automatic word completion system.

Indenting

Toggles automatic indenting on/off for a new line that is created when you press Enter.

 
 

Note. You should check the Convert Keyboard Input to OEM box only if you are going to type something in the Source window when working with a file coded in the OEM character set. If you need only to display such a file, specify the Terminal font for the Source window in the Fonts tab of the Environment dialog: select Editor in the Windows list and press the Define Font button.

The Backspace Unindent mode establishes the editing result from pressing the Backspace key in the following four cases, when the cursor is positioned at the first non-space character in the line (there are several spaces between the first column of the window and the first non-space character):

 

 

Backspace Unindent enabled

Backspace Unindent disabled

Insert mode

Any preceding blank spaces in the line are deleted. The rest of the line shifts left until its first character is in the first column of the window.

One space to the left of the cursor is deleted. The cursor and the rest of the line to the right of the cursor shift one position left.

Overwrite mode

The cursor moves to the first column of the window. The text in the line remains in place.

Only the cursor moves one position left. The text in the line remains in place.