Configuring Basic Editor Functions

Configure basic Code Editor functionality in the General interface: the width of the line number pane, the line length associated with text in the Code Editor, the end of line character, and the behavior of the editor's vertical block select function.

You can choose to display a line number pane to the right of the Code Editor window. The number of digits that can be displayed in this pane depend on the pane width. To modify the width of the line number pane from the default (4), enter a new value (from 1 to 6) in the Line number pane width text box.

By default, the Code Editor sets the basic line length for editor text at 318 columns. In most cases, if Code Editor text is pasted into another text editor, any trailing spaces are stripped from each line. Some editors, however, preserve the extra spaces, which can lead to line wrapping issues or other undesirable behavior.

To change the default Code Editor line length, enter a value up to 2048 in the Line Length entry field. Note that if you open an existing file that contains lines longer than the new limit that you have specified, AcuBench shows a warning message, then wraps any long lines to the new length.

As a Windows editor, the Code Editor's default behavior is to set the end-of-line marker in your files to an ASCII carriage return/linefeed (CR/LF) character. If you plan to save your file in a UNIX environment, you may want to set your end-of-line marker to an ASCII linefeed (LF) character. To toggle between these two end-of-line markers, mark either the Save Record Delimiter as CR/LF or the Save Record Delimiter as LF option.

The Virtual Space option affects two different aspects of the editor. When the Virtual Space check box is not checked and you use the vertical block select function, as described in Working with Blocks of Code, the column is always precisely the width of the last line in the text block. In addition, lines of text created in the editor are not padded with spaces to the line length indicated in the Line length field.

When Virtual Space is checked (the default), you have more flexibility in determining the width of a column selected with the vertical block select function. In addition, all lines in your file are padded with spaces, as needed, to reach the line length indicated in the Line length field.

The HOME key goes to column 1 option controls the behavior of the HOME key whilst the cursor is positioned in the Code Editor. When it is not checked (the default), using the HOME key toggles between column 1 and the first non-space character of the current line. When the option is checked, the HOME key positions the cursor on column 1 of the current line only.