<?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" id="gedit-tabs" xml:lang="pt_BR">

  <info>
    <link type="guide" xref="index#gedit-working-with-files" group="third"/>
    <link type="seealso" xref="gedit-tab-groups"/>
    <desc>Organize your tabs.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Wagner Luís de Araújo Menezes Macêdo</mal:name>
      <mal:email>wagnerluis1982@gmail.com</mal:email>
      <mal:years>2007</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Pedro Vaz de Mello de Medeiros</mal:name>
      <mal:email>pedrovmm@gmail.com</mal:email>
      <mal:years>2007</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Leonardo Ferreira Fontenelle</mal:name>
      <mal:email>leonardof@gnome.org</mal:email>
      <mal:years>2007, 2008</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Vladimir Melo</mal:name>
      <mal:email>vmelo@gnome.org</mal:email>
      <mal:years>2008</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Fabricio Godoy</mal:name>
      <mal:email>skarllot@gmail.com</mal:email>
      <mal:years>2008</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Krix Apolinário</mal:name>
      <mal:email>krixapolinario@gmail.com</mal:email>
      <mal:years>2009</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>José Carlos Menezes</mal:name>
      <mal:email>jcmenezes.91@gmail.com</mal:email>
      <mal:years>2013</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Enrico Nicoletto</mal:name>
      <mal:email>hiko@duck.com</mal:email>
      <mal:years>2013, 2014, 2022</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Rafael Fontenelle</mal:name>
      <mal:email>rafaelff@gnome.org</mal:email>
      <mal:years>2013-2020</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Bruno Lopes</mal:name>
      <mal:email>brunolopesdsilv@gmail.com</mal:email>
      <mal:years>2021.</mal:years>
    </mal:credit>
  </info>

  <title>Move tabs</title>

  <p>
    By default, documents are opened in new tabs inside the same
    <app>gedit</app> window.
  </p>

  <section>
    <title>Move a tab</title>
    <p>
      There are several means to move a tab to another location, to organize the
      files you edit in the way you like.
    </p>
    <p>
      You can right-click on a tab title and choose the desired option.
    </p>
    <p>
      Keyboard shortcuts are available too.
    </p>

    <section id="drag-and-drop-tabs">
      <title>Drag and drop tabs</title>
      <p>
        Another means is to drag and drop a tab:
      </p>
      <steps>
        <item>
          <p>Click and hold the mouse button on the tab title.</p>
        </item>
        <item>
          <p>Move the tab to the desired location.</p>
        </item>
        <item>
          <p>Solte o botão do mouse.</p>
        </item>
      </steps>
    </section>
  </section>

  <section>
    <title>Drag and drop locations</title>

    <section>
      <title>To re-order tabs within the same window</title>
      <p>
        Drag and drop the tab along the tabs titles.
      </p>
    </section>

    <section>
      <title>To create a new window from an existing tab</title>
      <p>
        Drag and drop the tab out of the <app>gedit</app> window.
      </p>
      <p>
        When <app>gedit</app> is maximized, drag the tab onto the top bar of
        <gui>GNOME Shell</gui> at the top of the screen.
      </p>
    </section>

    <section>
      <title>To move a tab from one gedit window to another</title>
      <p>
        Drag and drop the tab to the other window, either within the text area,
        or within the tabs titles to choose the exact location.
      </p>

      <!--
        This is currently not super convenient to use: once in the Activities
        overview, we don't have much time for choosing the right window. We
        often end up on a wrong window to drop the tab.
        So it's not a great tip to explain.
      -->
      <!--
      <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>
      -->
    </section>
  </section>
</page>
