<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="gedit-undo-redo" xml:lang="zh-HK">

  <info>
    <link type="guide" xref="index#gedit-working-with-files"/>
    <desc>Revert a recent change to one of your files.</desc>
    <revision pkgversion="3.8" date="2013-02-24" status="review"/>
    <revision pkgversion="3.12" date="2014-02-17" status="review"/>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jcampbell@gnome.org</email>
    </credit>
    <credit type="author">
      <name>Daniel Neel</name>
      <email>dneelyep@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>Sindhu S</name>
      <email>sindhus@live.in</email>
    </credit>
    <credit type="editor">
      <name>Shobha Tyagi</name>
      <email its:translate="no">tyagishobha@gmail.com</email>
    </credit>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  </info>

  <title>Undo/redo a recent action</title>

  <p>If you make a mistake while editing a document in <app>gedit</app>, you can
  undo the change by pressing <keyseq><key>Ctrl</key><key>Z</key></keyseq>.</p>

  <note style="important">
    <p>You cannot undo a change after you have closed a <app>gedit</app> file.</p>
  </note>

  <p>To redo the change that was undone, press
  <keyseq><key>Ctrl</key><key>Shift</key><key>Z</key></keyseq>.</p>
</page>
