Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Command Reference > Edit category

EmEditor Command Reference: Insert CR command

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Command Reference - Edit category

Insert CR command

Summary

Inserts a carriage return at the current cursor position.

Description

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.

How to Run

Default Menu: None

All Commands: Edit >Insert > CR Only

Toolbar: None

Status Bar: None

Default Keyboard Shortcut: None

Plug-in Command ID

EEID_INSERT_CR (4145)

Macros

[JavaScript]

editor.ExecuteCommandByID(4145);

[VBScript]

editor.ExecuteCommandByID 4145

Copyright © 2003-2016 by Emurasoft, Inc.