Product Information > JADE Encyclopaedia of Classes – Volume 3 > Chapter 2 - Window Classes > convertEndOfLines

convertEndOfLines

convertEndOfLines(eolType: Integer);

The convertEndOfLines method of the JadeTextEdit class changes the line endings in the text to the value requested by the eolType parameter.

The value of the eolType parameter can be one of the JadeTextEdit class constants listed in the following table.

Class Constant Integer Value Description
SC_EOL_CR 1 Carriage return character
SC_EOL_CRLF 0 Carriage return and line feed characters
SC_EOL_LF 2 Line feed character