EmEditor Home - EmEditor Help - Command Reference - Edit category

Insert CR and LF command

Summary

Inserts a carriage return and a line feed at the current cursor position.

Description

Inserts a carriage return (CR) and a line feed (LF) 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+LF no matter what new line method is used at the current line.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4274);

[VBScript]

editor.ExecuteCommandByID 4274

Copyright 2003-2015 by Emurasoft, Inc.