Revert
The Revert command is a request to replace one or more documents with the versions of the documents that were most recently saved.
SYNTAX
revert referenceToDocument
PARAMETER
- referenceToDocument
- A reference to the document or documents to be replaced by
the versions of the documents that were most recently saved. Because the Scriptable Text Editor's document and window objects are interchangeable, either document or window objects can be specified.
Class: Reference
RESULT
None
EXAMPLE
revert document "Really Big"