EmEditor Home - EmEditor Help - Command Reference - Edit category

Delete Word command

Summary

Deletes the word at the current cursor position.

Description

Deletes any text at the cursor position between two white space characters. This command deletes white space if there is no text present at the cursor position.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.SelectWord();
document.selection.Delete(1);

[VBScript]

document.selection.SelectWord
document.selection.Delete 1

Copyright 2003-2015 by Emurasoft, Inc.