Inserts a carriage return at the current cursor position.
Inserts a carriage return (CR) at the current cursor position. EmEditor can edit files with the mixture of CR and LF as new lines. Pressing the ENTER key inserts the same new line method at the current line, CR only, LF only or CR+LF. This command always inserts CR only, no matter what new line method is used at the current line.
editor.ExecuteCommandByID(4145);
editor.ExecuteCommandByID 4145