EmEditor Home - EmEditor Help - Command Reference - Search category

Set Word to Replace command

Summary

Sets the current word as the replace string.

Description

Sets the word at the cursor position to the replace string for the Replace Next command.  After running this command, if you select the Replace Next command, it will immediately replace the next query word with the word specified with this command. If the Custom is selected for the > button, the Replace dialog box will display the word specified by this command as default.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4446);

[VBScript]

editor.ExecuteCommandByID 4446

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2012 by Emurasoft, Inc.