EmEditor Home - EmEditor Help - Command Reference - Edit category

Delete Right Word command

Summary

Deletes the word to the right of the cursor.

Description

Deletes text from the cursor position to the first character of the next word in the current line. This command does delete white space.

How to Run

Plug-in Command ID

Macros

[JavaScript]

document.selection.WordRight(true,1);
document.selection.Delete(1);

[VBScript]

document.selection.WordRight true,1
document.selection.Delete 1

Copyright 2003-2015 by Emurasoft, Inc.