April 11, 2018 at 11:29 am #22983
Yutaka Emura
Keymaster
I added this property to v17.6.0 beta 1.
document.NewLineCode
This is a GET-ONLY property. You can’t use it to set a value.
For example:
code = document.NewlineCode;
switch( code ) {
case eeCrAndLf:
...
case eeCrOnly:
...
case eeLfOnly:
...
case eeNewlineMixed:
...
}