EmEditor Home - EmEditor Help - Command Reference - Edit category

Delete Word command

Summary

Deletes the word at the current cursor position.

Description

Deletes any text between two white space characters. This command does delete white space if there is no text present.

How to Run

Plug-in Command ID

Macros

[JavaScript]

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

[VBScript]

document.selection.SelectWord
document.selection.Delete 1

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2012 by Emurasoft, Inc.