NewlineCode Property (Document Object)

Retrieves the current newline character code of the document.

[JavaScript]

nNewlineCode = document.NewlineCode;

[VBScript]

nNewlineCode = document.NewlineCode

Parameters

nNewlineCode

Specifies one of the following values.

eeCrAndLf

CR+LF

eeCrOnly

CR only

eeLfOnly

LF only

eeNewlineMixed

Mixed

Version

Supported on EmEditor Professional Version 17.6 or later.