queryLineBreak

The queryLineBreak command determines the End of Line (EOL) setting for the current file.

Syntax

queryLineBreak

The command and parameters are case sensitive.

Return values

UNIX
Returned if the file is set to convert all existing line breaks 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. For example, "\n".
DOS
Returned if the file is set to convert all existing line breaks 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. For example, "\r\n".
LF
Returned if the file is set to use an LF character at the end of a line. For example, "\n".
CLRF
Returned if the file is set to use a carriage return and a line feed at the end of a line. For example, "\r\n".
Preserve
Returned if the file is set to insert the same style of line break characters that are already used by the selected file when it is open.
Default
Returned if the file is set to insert the same style of line break characters that are already used by the selected file when it is open.