<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-close-file" xml:lang="uk">

  <info>
    <link type="guide" xref="gedit-files-basic" group="fourth"/>
    <revision pkgversion="3.0" version="1.0" date="2011-03-25" status="final"/>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
    </credit>
  </info>

  <title>Close a file</title>

  <p>To close a file in <app>gedit</app>, select <guiseq><gui>File</gui><gui>Close</gui></guiseq>. Alternately, you can click the small "X" that appears on the right-side of the file's tab, or press <keyseq><key>Ctrl</key><key>W</key></keyseq>.</p>
  <p>Any one of these actions will close a file in <app>gedit</app>. If your file contains changes that have not been saved, <app>gedit</app> will prompt you to save those changes before closing the file.</p>

</page>
