<?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-tabs-moving" xml:lang="da">

  <info>
    <link type="guide" xref="index#gedit-working-with-files" group="last"/>
    <link type="seealso" xref="gedit-tabs"/>
    <link type="seealso" xref="gedit-tab-groups"/>
    <desc>Change the position of a tab in the gedit window.</desc>
    <revision pkgversion="3.8" date="2013-02-24" status="review"/>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jcampbell@gnome.org</email>
    </credit>
    <credit type="collaborator">
      <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>Radina Matic</name>
      <email its:translate="no">radina.matic@gmail.com</email>
      <years>2013</years>
    </credit>
    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
  </info>

  <title>Move and re-order tabs</title>
  <p>Tabs in <app>gedit</app> can be moved, making it easier to work with your 
  files. Tabs can be can re-ordered within the same window, moved outside of 
  <app>gedit</app> (creating a new <app>gedit</app> window), and moved from one 
  window to another.</p>

  <section id="tabs-change-order">
    <title>Change the order of tabs in the gedit window</title>

    <p>To change the ordering of tabs in a window:</p>

    <steps>
      <item>
        <p>Click and hold the mouse button on the tab.</p>
      </item>
      <item>
        <p>Move the tab to the desired position among the other tab.</p>
      </item>
      <item>
        <p>Release the mouse button.</p>
      </item>
    </steps>

    <p>The tab will be placed in the position closest to where you release the 
    tab, immediately beside other opened tabs.</p>

  </section>

  <section id="tabs-moving-new-window">
    <title>Move a tab, creating a new gedit window</title>
    <p>To create a new window from an existing tab:</p>

    <steps>
      <item>
        <p>Click and hold the mouse button on the tab.</p>
      </item>
      <item>
        <p>Drag the tab out of the <app>gedit</app> window.</p>
      </item>
      <item>
        <p>Release the mouse button.</p>
      </item>
    </steps>

    <note style="tip">
      <p>To move a tab into a new window when <app>gedit</app> is maximized, 
      drag the tab onto the top bar at the top of the screen.</p>
    </note>
  </section>

  <section id="tabs-moving-other-window">
    <title>Move a tab to another gedit window</title>

    <p>If you want to move a tab from one window to another:</p>

    <steps>
      <item>
        <p>Click and hold the mouse button on the tab.</p>
      </item>
      <item>
        <p>Drag the tab to the new window.</p>
      </item>
      <item>
        <p>Place it beside other tabs in the new window.</p>
      </item>
      <item>
        <p>Release the mouse button.</p>
      </item>
    </steps>
    

    <note style="tip">
      <p>You may find it easier to move a tab from one window to another by
      dragging the tab to the <gui>Activities</gui> hot-corner of
      <gui>GNOME Shell</gui>. This will reveal each of the open
      <app>gedit</app> windows. You can then release the tab on the
      desired <app>gedit</app> window.</p>
    </note>

    <p>See the <link xref="gedit-shortcut-keys">tab-related shortcut
    keys</link> table to make it easier to manage your tabs.</p>

  </section>

</page>
