<page xmlns="http://projectmallard.org/1.0/"
      type="topic" style="task"
      id="gedit-tabs-moving">

  <info>
    <link type="guide" xref="index#gedit-working-with-files" group="last"/>
    <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>

    <credit type="collaborator">
      <name>Daniel Neel</name>
      <email>dneelyep@gmail.com</email>
    </credit>
  </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>

    <list type="numbered">
      <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 tabs</p>
      </item>
      <item><p>Release the mouse button</p></item>
    </list>

    <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 drag a tab into a new window:</p>

    <list type="numbered">
      <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>
    </list>

    <p>or, while the tab to be moved is open, choose <guiseq><gui>Documents
    </gui><gui>Move to New Window</gui></guiseq></p>

    <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>

    <list type="numered">
      <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>
    </list>

    <p>See <link xref="gedit-shortcut-keys#gedit-tab-shortcuts"/> for shortcuts 
    to make it easier to manage your tabs.</p>

  </section>

</page>
