You can use the Line Breaks preference page to set the line break
preferences for the z Systems® LPEX Editor. This setting
applies to all files using the z Systems LPEX Editor,
regardless of which parser they use.
About this task
To set line breaks, complete the following steps:
Procedure
-
In the navigation pane of the Preferences window, double-click the
LPEX Editor node to open the tree of available preference pages.
-
Double-click the z Systems LPEX Editor node to open the tree of
available preference pages, and then click Line Breaks to open the
Line Breaks preference page.
-
From the Line Break drop-down list, select one of the following
values:
- Preserve - default setting; inserts the same style of line break characters that are
already used by the selected file when it is open.
- DOS - converts all existing line breaks in the selected file to DOS style line breaks
and adds all new lines with DOS style line breaks. DOS style line breaks use CR (Carriage Return) LF
(Line Feed) to mark the end of a line.
- UNIX - converts all existing line breaks in
the selected file to UNIX style line breaks and adds all new
lines with UNIX style line breaks. UNIX style line breaks use LF (Line Feed) to mark the end of a line.
Tip: The selected line break setting is only used when you save a file. When you save a
file, the de-limiters are converted to use this setting. If you open a file, set the end of line
(EOL) setting, but do not make any other changes to the file, you cannot save the file and the
de-limiters are not converted.
The z Systems LPEX
Editor always writes the same EOL character that is used on the first line of a file when it is
opened. If you modify the line break setting to use a different EOL character, this conversion is
completed each time that you save the file. If you are editing a large file, it is recommended that
you close, and then reopen the file after the first conversion so that no further conversions are
required.
-
Click Apply to save your selection in the preference page.
Results
The line break setting that you selected determines the type of character that is used to
mark the EOL in all files opened using the z Systems
LPEX Editor.