EmEditor Home - EmEditor Help - Command Reference - File category

Reload as Same Encoding command

Summary

Reloads the file using the default encoding.

Description

This command reloads the current file from the disk. If changes exist on the file since the last reloaded or opened period, this command will replace the document with the latest contents. If the document was changed, the prompt message "Are you sure you want to abandon changes?" appears. Selecting Yes will discard the changes without saving, and will reload the new contents. Selecting No will abort reloading and will allow you to continue editing the document.

How to Run

Plug-ins command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4109);

[VBScript]

editor.ExecuteCommandByID 4109

Copyright 2003-2014 by Emurasoft, Inc.