I need a way to force a refresh/reload of the active document. Is there a command to do this? Below is what I'm using now, but it's not exactly ideal. I know there is the "Revert to Saved" command in UltraEdit. Is there a corresponding script/macro command for this?
Code: Select all
var path = UltraEdit.activeDocument.path
UltraEdit.closeFile(path, 0);
UltraEdit.open(path);