Duplicate Line command

Summary

Duplicates the current logical line.

Description

Inserts a copy of the current logical line below the current cursor position.

How to Run

  • Default Menu: Insert > Duplicate Line

  • All Commands: Insert > Duplicate Line

  • Toolbar:

  • Status Bar: None

  • Default Keyboard Shortcut: CTRL+SHIFT+Y

Plug-in Command ID

EEID_DUPLICATE_LINE (4328)

Macros

[JavaScript]

document.selection.DuplicateLine();

[VBScript]

document.selection.DuplicateLine