<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="guide" id="gedit-search-and-replace" lang="pt_BR">

  <info>
    <link type="guide" xref="index#gedit-working-with-files" group="sixth"/>
    <desc>Find and replace portions of text in a file.</desc>
  <credit type="translator copyright"><name>Wagner Luís de Araújo Menezes Macêdo</name><email>wagnerluis1982@gmail.com</email><years>2007</years></credit><credit type="translator copyright"><name>Pedro Vaz de Mello de Medeiros</name><email>pedrovmm@gmail.com</email><years>2007</years></credit><credit type="translator copyright"><name>Leonardo Ferreira Fontenelle</name><email>leonardof@gnome.org</email><years>2007, 2008</years></credit><credit type="translator copyright"><name>Vladimir Melo</name><email>vmelo@gnome.org</email><years>2008</years></credit><credit type="translator copyright"><name>Fabricio Godoy</name><email>skarllot@gmail.com</email><years>2008</years></credit><credit type="translator copyright"><name>Krix Apolinário</name><email>krixapolinario@gmail.com</email><years>2009</years></credit><credit type="translator copyright"><name>José Carlos Menezes</name><email>jcmenezes.91@gmail.com</email><years>2013</years></credit><credit type="translator copyright"><name>Enrico Nicoletto</name><email>hiko@duck.com</email><years>2013, 2014, 2022</years></credit><credit type="translator copyright"><name>Rafael Fontenelle</name><email>rafaelff@gnome.org</email><years>2013-2020</years></credit><credit type="translator copyright"><name>Bruno Lopes</name><email>brunolopesdsilv@gmail.com</email><years>2021.</years></credit><credit type="translator copyright"><name>Giovanni dos S.A.L Rodrigues</name><email>giovannilombone.io@gmail.com</email><years>2024</years></credit></info>

  <title>Search and replace</title>

  <links type="topic" groups="first"/>

  <section>
    <title>The simple search</title>
    <p>
      To open the search entry field, click on:
    </p>
    <p>
      <guiseq>
        <gui style="menu">Menu Button</gui>
        <gui style="menuitem">Find…</gui>
      </guiseq>
    </p>
  </section>

  <section>
    <title>The search and replace</title>
    <p>Para abrir a opção de Localizar e substituir, clique em:</p>
    <p>
      <guiseq>
        <gui style="menu">Menu Button</gui>
        <gui style="menuitem">Find and Replace…</gui>
      </guiseq>
    </p>
  </section>

  <section>
    <title>Limpa destaque</title>
    <p>
      Usually, the text that you've searched for will remain highlighted in the
      document. To remove the highlight, click on:
    </p>
    <p>
      <guiseq>
        <gui style="menu">Menu Button</gui>
        <gui style="menuitem">Clear Highlight</gui>
      </guiseq>
    </p>
  </section>

  <section>
    <title>Dicas</title>
    <p>
      If you first select a portion of text in the document, and then start a
      simple search or open the Find and Replace dialog, the text you've
      selected will appear in the search entry.
    </p>
  </section>

  <section>
    <title>Search options</title>
    <p>
      The Find and Replace dialog presents the search options as check boxes.
    </p>
    <p>
      For the simple search, click on the
      <gui style="button">Magnifying Glass</gui> icon in the search entry field.
    </p>
    <list>
      <item><p>Selecione <gui>Diferenciar maiúsculas/minúsculas</gui> para tornar a pesquisa sensível a caixa de texto maiúscula ou minúscula.</p></item>
      <item>
        <p>
          Select <gui>Match Entire Word Only</gui> to search for a specific word
          without including fragments of other words.
        </p>
        <p>
          For example, if you searched for the word “and” with this option
          selected, the word “and” would be matched, but the words
          “sand” and “comm<em>and</em>er” would not be matched.
        </p>
      </item>
      <item><p>
        Select <gui>Wrap Around</gui> to continue at the other end of the
        document when going to the next or previous search result.
      </p></item>
    </list>
  </section>

  <section>
    <title>Usando sequências de escapes</title>
    <p>
      In a search or replace entry, you can use <em>escape sequences</em> with
      the following meanings:
    </p>
    <terms>
      <item>
        <title>\n</title>
        <p>Nova linha</p>
      </item>
      <item>
        <title>\r</title>
        <p>Retorno de carro</p>
      </item>
      <item>
        <title>\t</title>
        <p>Tabulação</p>
      </item>
      <item>
        <title>\\</title>
        <p>
          Backslash. If you actually want a backslash and avoid one of the above
          special meanings, the backslash needs to be escaped.
        </p>
      </item>
    </terms>
  </section>
</page>
