<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" version="1.1" id="edit-search-and-replace" lang="ja">
  <info>
    <!--
        Recommended statuses: stub incomplete draft outdated review candidate final
    -->
    <revision version="VERSION.NUMBER" date="2021-07-31" status="draft"/>

    <credit type="author copyright">
      <name>Günther Wagner</name>
      <email>info@gunibert.de</email>
      <years>2021</years>
    </credit>

    <link type="guide" xref="index#edit"/>

    <!--
        TODO: Remove comments when status will be final
        Think about whether other pages should be in the seealso list.
        The target page will automatically get a seealso link back.
    <link type="seealso" xref="someotherid"/>
    -->

    <!--
        Think about whether external resources should be in the seealso
        list. These require a title.
    <link type="seealso" href="http://someurl">
      <title>Link title</title>
    </link>
    -->

    <desc>テキストの検索と置換</desc>

    <keywords>search, replace</keywords>
  </info>

  <title>検索と置換</title>

  <p>GNOME text editor allows you to quickly search in big text files for a specific
  text parts. Oftentimes these text parts need to be replaced also.</p>

  <list>
    <title>テキストの検索</title>
    <item><p>Activate the search panel via <guiseq><gui>Main Menu</gui><gui>Find/Replace...</gui></guiseq> or activate it via <keyseq><key>Ctrl</key><key>F</key></keyseq>.</p></item>
    <item><p>検索したい単語を入力フィールドに書き込みます。</p></item>
    <item><p>The search is performed as you type. You can now iterate the search result with <key>↑</key> or <key>↓</key> or with the buttons beside the entry.</p></item>
    <item><p><key>Enter</key> を押すことでカーソルをハイライト中の検索結果まで移動できます。</p></item>
    <item><p><key>Escape</key> を押せば検索パネルおよび検索結果を破棄します。</p></item>
  </list>

  <list>
    <title>Search tips &amp; tricks</title>
    <item><p>In order to quickly search for a word highlight the word and press <keyseq><key>Ctrl</key><key>F</key></keyseq>. The word will be automatically entered into the search entry.</p></item>
    <item><p>The search can be refined with additional options in the <gui>gear</gui> menu.</p>
      <list>
        <item><p>Only match the whole word</p></item>
        <item><p>Using regular expressions as search term</p></item>
        <item><p>Respecting case sensitivity of the search term</p></item>
      </list>
    </item>
  </list>

  <list>
    <title>テキストの置換</title>
    <item><p>Activate the search panel via <guiseq><gui>Main Menu</gui><gui>Find/Replace...</gui></guiseq> or activate it via <keyseq><key>Ctrl</key><key>H</key></keyseq>.</p></item>
    <item><p>In case you opened the search panel via the <gui>Main Menu</gui> you have to click the button for activating the replace functionality.</p></item>
    <item><p>検索の単語は置換される側になります。入力フィールドにその検索単語を入れてください。</p></item>
    <item><p>置換先の単語は2番目の入力フィールドに書き込きます。</p></item>
    <item><p>The search is performed as you type. You can now iterate the search result with <key>↑</key> or <key>↓</key> or with the buttons beside the entry.</p></item>
    <item><p>It is now possible to only replace the current search result element via <gui>Replace</gui> or you can replace all occurrences via <gui>Replace All</gui>.</p></item>
  </list>

</page>
