<doc>
  <legacy_id>2303</legacy_id>
  <name>revert</name>
  <type>command</type>
  <syntax>
    <example>revert</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Files, Folders, &amp; Resources</category>
  </classification>
  <references>
    <command tag="reset paint">reset paint Command</command>
    <command tag="revRollBackDatabase">revRollBackDatabase Command</command>
    <function tag="revdb_rollback">revdb_rollback Function</function>
    <property tag="substacks">substacks Property</property>
    <property tag="mainStack">mainStack Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Restores the <glossary tag="current stack">current stack</glossary> to its state when last saved, deleting all changes made since the last save.</summary>
  <examples>
    <example>revert</example>
    <example>if it is "Don't Save" then revert</example>
  </examples>
  <description>
    <p>Use the <b>revert</b> <glossary tag="command">command</glossary> to back out of any changes made to the <glossary tag="current stack">current stack</glossary> since the last save.</p><p/><p><b>Comments:</b></p><p>The <b>revert</b> <glossary tag="command">command</glossary> also <glossary tag="undo">undoes</glossary> changes made to other <function tag="stacks">stacks</function> stored in the same <glossary tag="stack file">stack file</glossary>. That is, if you <b>revert</b> a <glossary tag="main stack">main stack</glossary>, all <property tag="substacks">substacks</property> of that <object tag="stack">stack</object> also revert to the last save, and if you revert a <glossary tag="substack">substack</glossary>, its <glossary tag="main stack">main stack</glossary> and any other <property tag="substacks">substacks</property> also revert.</p>
  </description>
</doc>