Setting visual cues for record boundaries and cursor position
Use the Controls page of the z Systems® LPEX Editor preferences to set options for record boundaries and cursor column position.
Procedure
- In the Preferences window, click LPEX Editor > z Systems LPEX Editor.
- Click Controls.
- You can set these options:
- Enable visual indicator for record boundary: When you select this
checkbox, the z Systems LPEX editor displays a vertical
line along the record boundary of files. This setting helps you maintain record length limits when
you are typing in a source file. This option is enabled by default. In the following example, the
PRINTAPP.cbl file has a fixed record length of 80, marked by a vertical
line:Note: This setting uses the save.textLimit LPEX parameter, which, for remote MVS files, is based on the record length (LRECL). For local files, the default save.textLimit value is 0, so the record boundary indicator does not display unless you change its value. It can be changed on the command line or by using the LPEX Editor > Save > Maximum line length preference.
- Enable a vertical line that indicates the cursor column position:
When you select this checkbox, the z Systems LPEX editor
displays a vertical line along the column at which the cursor is located. You can also toggle this
line by pressing Alt+Shift+U in the editor. This setting is useful for checking that blocks of code
are aligned properly. This option is disabled by default. The following example shows the cursor
indicator at column 28:
- Enable visual indicator for record boundary: When you select this
checkbox, the z Systems LPEX editor displays a vertical
line along the record boundary of files. This setting helps you maintain record length limits when
you are typing in a source file. This option is enabled by default. In the following example, the
PRINTAPP.cbl file has a fixed record length of 80, marked by a vertical
line: