<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="http://docbook.org/xml/5.0/rng/dbits.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
<!--
      (Do not remove this comment block.)
  Maintained by the MATE Documentation Project
  http://wiki.mate-desktop.org/dev-doc:doc-team-guide
  Template version: 2.0 beta
  Template last modified Jan 30, 2002
-->
<?db.chunk.max_depth 2?>
<article xmlns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.0" xml:id="index" xml:lang="zh-CN">
    <!-- please do not change the id; for translations, change lang to -->
    <!-- appropriate code -->
    <info>
        <title>Pluma 手册</title>

        <copyright its:translate="no">
            <year>2015-2021</year>
            <holder>MATE Documentation Project</holder>
        </copyright>
        <copyright its:translate="no">
            <year>2007</year>
            <holder>GNOME Documentation Project</holder>
        </copyright>
        <copyright its:translate="no">
            <year>2002</year>
            <year>2003</year>
            <year>2004</year>
            <holder>Sun Microsystems</holder>
        </copyright>
        <copyright its:translate="no">
            <year>2000</year>
            <holder>Eric Baudais</holder>
        </copyright>

        <publisher>
            <publishername>MATE 文档项目</publishername>
        </publisher>
        <publisher>
            <publishername>GNOME 文档项目</publishername>
        </publisher>

        <xi:include href="legal.xml"/>

        <authorgroup its:translate="no">
            <author>
                <orgname its:translate="yes">MATE 文档项目</orgname>
                <affiliation>
                    <orgname its:translate="yes">MATE 桌面</orgname>
                </affiliation>
            </author>
            <author>
                <personname>
                    <firstname>Joachim</firstname>
                    <surname>Noreiko</surname>
                </personname>
            </author>
            <author>
                <orgname its:translate="yes">GNOME 文档项目</orgname>
                <affiliation>
                    <orgname its:translate="yes">GNOME</orgname>
                </affiliation>
            </author>
            <author>
                <personname>
                    <firstname>Hal</firstname>
                    <surname>Canary</surname>
                </personname>
                <contrib its:translate="yes">增加快捷键栏</contrib>
            </author>
            <author>
                <orgname its:translate="yes">Sun Java 桌面系统开发团队</orgname>
                <affiliation>
                    <orgname its:translate="yes">Sun Microsystems</orgname>
                </affiliation>
                <email>gdocteam@sun.com</email>
            </author>
            <author>
                <personname>
                    <firstname>Eric</firstname>
                    <surname>Baudais</surname>
                </personname>
                <affiliation>
                    <orgname its:translate="yes">GNOME 文档项目</orgname>
                </affiliation>
                <email>baudais@okstate.edu</email>
            </author>
            <othercredit role="other">
                <personname>
                    <firstname>Baris</firstname>
                    <surname>Cicek</surname>
                </personname>
                <contrib its:translate="yes">提供有关 pluma 应用程序早期版本的修订信息。</contrib>
            </othercredit>
            <othercredit role="other">
                <personname>
                    <firstname>George</firstname>
                    <surname>Ajit</surname>
                </personname>
                <contrib its:translate="yes">提供有关插件的信息。</contrib>
            </othercredit>
        </authorgroup>

        <!-- According to GNU FDL, revision history is mandatory if you are
             modifying/reusing someone else's document.  If not, you can omit it. -->
        <revhistory its:translate="no">
            <!-- Remember to remove the &manrevision; entity from the revision
                 entries other than the current revision. -->
            <revision>
                <revnumber>1.0</revnumber>
                <date>2000</date>
                <revdescription>
                    <para role="author" its:translate="no">Eric Baudais <email>baudais@okstate.edu</email></para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.0</revnumber>
                <date its:translate="yes">2002年三月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.1</revnumber>
                <date its:translate="yes">2002年六月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.2</revnumber>
                <date its:translate="yes">2002年八月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.3</revnumber>
                <date its:translate="yes">2002年九月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.4</revnumber>
                <date its:translate="yes">2003年一月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.5</revnumber>
                <date its:translate="yes">2003年三月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.6</revnumber>
                <date its:translate="yes">2003年九月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.7</revnumber>
                <date its:translate="yes">2004年三月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun GNOME 开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.8</revnumber>
                <date its:translate="yes">2015年七月</date>
                <revdescription>
                    <para role="author" its:translate="yes">Sun Java 桌面系统开发团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.9</revnumber>
                <date its:translate="yes">2006年七月</date>
                <revdescription>
                    <para role="author" its:translate="yes">GNOME 文档团队</para>
                    <para role="publisher" its:translate="yes">GNOME 文档项目</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>3.0</revnumber>
                <date its:translate="yes">2015年七月</date>
                <revdescription>
                    <para role="author" its:translate="yes">MATE 文档团队</para>
                    <para role="publisher" its:translate="yes">MATE 文档项目</para>
                </revdescription>
            </revision>
        </revhistory>

        <releaseinfo>本手册涉及了 Pluma 的 1.10 版本</releaseinfo>

    
    <db:othercredit class="translator">
      <db:personname>
        <db:firstname>Dianjin Wang</db:firstname>
      </db:personname>
      <db:email>1132321739qq@gmail.com</db:email>
    </db:othercredit>
    <db:copyright>
      
        <db:year>2012</db:year>
      
      <db:holder>Dianjin Wang</db:holder>
    </db:copyright>
  </info>

    <indexterm><primary>pluma</primary></indexterm>
    <indexterm><primary>文本编辑器</primary></indexterm>

    <!-- ============= Document Body ========================================= -->
    <!-- ============= Introduction ========================================== -->
    <section xml:id="pluma-intro">
        <info>
            <title>介绍</title>
        </info>
        <!-- removed ids, here as anchors to prevent possible breakage -->
        <anchor xml:id="pluma-customize-toolbar"/>
        <para><application>pluma</application>应用程序可以让您创建并编辑文本文件。</para>
        <para><application>pluma</application>的目标是做一个简单且容易的文本编辑器。可以使用不同的<firstterm>插件</firstterm>在文本编辑时实现更多强大的功能。</para>
    </section>

    <!-- ============= Getting Started ======================================= -->
    <section xml:id="pluma-getting-started">
        <info>
            <title>入门</title>
        </info>

        <!-- ============= To Start pluma ==================================== -->
        <section xml:id="pluma-to-start">
            <info>
                <title>启动 pluma</title>
            </info>
            <para>您可以用以下方法启动<application>pluma</application>：</para>
            <variablelist>
                <varlistentry>
                    <term><guimenu>应用程序</guimenu>菜单</term>
                    <listitem>
                        <para>选择 <menuchoice> <guisubmenu>附件</guisubmenu> <guimenuitem>Pluma 文本编辑器</guimenuitem> </menuchoice>。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>命令行</term>
                    <listitem>
                        <para>执行以下命令：<command>pluma</command></para>
                    </listitem>
                </varlistentry>
            </variablelist>
            <para>默认状态下，当您在文件管理器中打开一个文本文档时，pluma 将会启动，并展示该文档。</para>
        </section>

        <section xml:id="pluma-when-you-start">
            <info>
                <title>pluma 窗口</title>
            </info>
            <para>当您启动 <application>pluma</application> 时，以下窗口会被展示：</para>

            <figure xml:id="pluma-window" its:translate="no">
                <info>
                    <title its:translate="yes">pluma 窗口</title>
                </info>
                <screenshot>
                    <mediaobject>
                        <imageobject>
                            <imagedata fileref="figures/pluma_window.png" format="PNG"/>
                        </imageobject>
                        <textobject>
                            <phrase its:translate="yes">显示 pluma 主窗口。</phrase>
                        </textobject>
                    </mediaobject>
                </screenshot>
            </figure>

            <para><application>pluma</application> 窗口包含以下元素：</para>
            <variablelist>
                <varlistentry>
                    <term>菜单栏</term>
                    <listitem>
                        <para>菜单栏上的菜单包含处理 <application>pluma</application> 文件所需的所有命令。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>工具栏</term>
                    <listitem>
                        <para>工具栏包含您可以从菜单栏访问的命令的子集。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>显示区域</term>
                    <listitem>
                        <para>显示区域包含您正在编辑的文件的文本。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>状态栏</term>
                    <listitem>
                        <para>状态栏显示当前 <application>pluma</application> 活动的信息和菜单项的上相关信息。状态栏还显示以下信息：</para>
                        <itemizedlist>
                            <listitem>
                                <para>光标位置：光标所在的行号和列号。</para>
                            </listitem>
                            <listitem>
                                <para>编辑模式：如果编辑器处于插入模式，状态栏将会显示文本 <guilabel>INS</guilabel>。如果编辑器处于替换模式，则状态栏将会显示文本 <guilabel>OVR</guilabel>。按 <keycap>Insert</keycap> 键改变编辑模式。</para>
                            </listitem>
                        </itemizedlist>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>侧边栏</term>
                    <listitem>
                        <para>侧边栏会显示打开的文档列表和其他的信息，这些信息取决于启用了哪些插件。</para>
                        <para>默认情况下侧窗格不会显示。要让它显示，请选择 <menuchoice> <guimenu>视图</guimenu> <guimenuitem>侧边栏</guimenuitem> </menuchoice>。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>底部面板</term>
                    <listitem>
                        <para>底部面板由编程工具（比如 <application>Python 控制面板</application> 插件）来显示输出。</para>
                        <para>默认情况下，底部面板不会显示。要显示它，请选择 <menuchoice> <guimenu>视图</guimenu> <guimenuitem>底部面板</guimenuitem> </menuchoice>。</para>
                    </listitem>
                </varlistentry>
            </variablelist>
            <para>当您右键单击 <application>pluma</application> 窗口时，应用程序将弹出一个菜单。它包含最常见的文本编辑命令。</para>
            <para>与其他 MATE 应用程序一样，<application>pluma</application> 中的操作可以通过多种方式执行：使用菜单、使用工具栏或快捷键。所有应用程序的通用快捷键都会列在 <link xlink:href="help:mate-user-guide/shortcuts-apps">用户指南</link> 中。</para>
        </section>

        <!-- ============= To Open Multiple Files from the Command Line ====== -->
        <section xml:id="pluma-run-from-cmd-line">
            <info>
                <title>命令行里运行 pluma</title>
            </info>
            <para>您可以从命令行运行 <application>pluma</application> 并打开一个或多个文件。要从命令行打开多个文件，请输入以下命令，然后按 <keycap>Return</keycap>：</para>
            <para><command>pluma <replaceable>文件1.txt 文件2.txt 文件3.txt</replaceable></command></para>
            <para>或者，您也可以指定一个 URI 而非文件名。</para>
            <para>请参阅 <link xlink:href="man:pluma"> <citerefentry> <refentrytitle>pluma</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> </link>手册页以获取有关如何从命令行运行 <application>pluma</application> 的更多信息。</para>
        </section>
    </section>

    <!-- ================ Usage ============================================== -->
    <section xml:id="pluma-usage">
        <info>
            <title>文件操作</title>
        </info>

        <!-- ============= To Create a New File ============================== -->
        <section xml:id="pluma-create-new-file">
            <info>
                <title>创建新文档</title>
            </info>
            <para>要创建新文档，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>新建</guimenuitem> </menuchoice>。<application>pluma</application> 窗口中会显示一个新的空白文档。</para>
        </section>

        <!-- ============= To Open a File ==================================== -->
        <section xml:id="pluma-open-file">
            <info>
                <title>打开文件</title>
            </info>
            <para>若要打开文件，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>打开</guimenuitem> </menuchoice> 以显示 <guilabel>打开文件</guilabel> 对话框。选择要打开的文件，然后单击 <guibutton>打开</guibutton>。文件会显示在 <application>pluma</application> 的窗口中。</para>
            <para>该应用程序将记录您编辑的五个最新文件的路径和文件名，并将这些文件显示为 <menuchoice> <guimenu>文件</guimenu> </menuchoice>菜单上的菜单项。您还可以单击工具栏上的 <inlinemediaobject its:translate="no">
                    <imageobject>
                        <imagedata fileref="figures/pluma_recent_files_menu_icon.png" format="PNG"/>
                    </imageobject>
                    <textobject>
                        <phrase its:translate="yes">显示最近的文件菜单图标。</phrase>
                    </textobject>
                </inlinemediaobject> 图标来显示最近的文件列表。</para>
            <note>
                <para>您可以在 <application>pluma</application> 中打开多个文件。应用程序会为每个打开的文件而向窗口添加一个选项卡。点击 <xref linkend="pluma-tabs"/> 以获取更多信息。</para>
            </note>
            <tip>
                <para>您可以在 <guilabel>打开文件</guilabel> 对话框中输入文件的位置。如果要在位置输入和面包屑导航之间切换，请按 <keycombo> <keycap>Ctrl</keycap> <keycap>l</keycap> </keycombo>，<keycap>.</keycap>，<keycap>~</keycap> 或 <keycap>/</keycap>。</para>
            </tip>
        </section>

        <!-- ============= To Save a File ==================================== -->
        <section xml:id="pluma-save-file">
            <info>
                <title>保存文件</title>
            </info>
            <para>您可以用以下方式保存文件：</para>
            <itemizedlist>
                <listitem>
                    <para>若要将更改保存到现有的文件，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>保存</guimenuitem> </menuchoice>。</para>
                </listitem>
                <listitem>
                    <para>若要保存新文件或将现有文件保存为另一个文件，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>另存为</guimenuitem> </menuchoice>。在<guilabel>另存为</guilabel> 对话框中输入文件名称，然后单击 <guibutton>保存</guibutton>。</para>
                </listitem>
                <listitem>
                    <para>若要保存当前在 <application>pluma</application> 中打开的所有文件，请选择 <menuchoice> <guimenu>文档</guimenu> <guimenuitem>全部保存</guimenuitem> </menuchoice>。</para>
                </listitem>
            </itemizedlist>
            <para>要关闭当前在 <application>pluma</application> 中打开的所有文件，请选择 <menuchoice> <guimenu>文档</guimenu> <guimenuitem>全部关闭</guimenuitem> </menuchoice>。</para>
        </section>

        <!-- ============= Working with tabs ================================= -->
        <section xml:id="pluma-tabs">
            <info>
                <title>标签页操作</title>
            </info>
            <para>当打开多个文件时，<application>pluma</application> 将在显示区域上方显示每个文档的 <firstterm>标签页</firstterm>。要切换到另一个文档，单击它的标签页。</para>
            <para>要将文档移动到另一个 <application>pluma</application> 窗口，请将文件对应的选项卡拖动到您要移动到的窗口。</para>
            <para>要将文档移动到新的 <application>pluma</application> 窗口，可将其标签拖到桌面上，或选择 <menuchoice> <guimenu>文档</guimenu> <guimenuitem>移动到新窗口</guimenuitem> </menuchoice>。</para>
        </section>

    </section>

    <section xml:id="working-with-text">
        <info>
            <title>文本操作</title>
        </info>

        <!-- ============= To Edit Text ====================================== -->
        <section xml:id="pluma-edit-text">
            <info>
                <title>编辑文本</title>
            </info>
            <para>您可以按照下列方式编辑一个文件中的文本：</para>
            <itemizedlist>
                <listitem>
                    <para>从键盘上输入新文本。闪烁的 <firstterm>插入光标</firstterm> 会标记新文字出现的点。要改变这一点，请使用键盘上的方向键或用鼠标点击。</para>
                </listitem>
                <listitem>
                    <para>要将选定的文本复制到剪贴板上，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>复制</guimenuitem> </menuchoice>。</para>
                </listitem>
                <listitem>
                    <para>要从文件中删除选定的文本，并将该段文本移动到剪贴板上，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>剪切</guimenuitem> </menuchoice> 。</para>
                </listitem>
                <listitem>
                    <para>想要从文件中永久删除所选文本，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>删除</guimenuitem> </menuchoice>。</para>
                </listitem>
                <listitem>
                    <para>要在光标位置插入剪贴板里的内容，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>粘贴</guimenuitem> </menuchoice>。无论是从pluma还是其他应用程序中粘贴，您都必须要先剪切或复制文本，然后才能将文本粘贴到文件中。</para>
                </listitem>
                <listitem>
                    <para>要选择文件中的所有文本，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>全选</guimenuitem> </menuchoice>。</para>
                </listitem>
            </itemizedlist>
        </section>

        <!-- ============== To Undo or Redo Edits ============================ -->
        <section xml:id="pluma-undo-redo-edits">
            <info>
                <title>撤销和重做更改</title>
            </info>
            <para>要撤销您所做的更改，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>撤销</guimenuitem> </menuchoice>。要重做此操作，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>重做</guimenuitem> </menuchoice>。</para>
        </section>
    </section>

    <section xml:id="pluma-find">
        <info>
            <title>查找和替换</title>
        </info>
        <para>在 <application>pluma</application> 中，有两种搜索文本的方法。您可以使用 <guilabel>查找</guilabel> 对话框来搜索特定的文本，或者使用 <guilabel>增量搜索</guilabel> 来突出显示匹配的文本。</para>

        <!-- ============= To Find Text ================================ -->
        <section xml:id="pluma-find-text">
            <info>
                <title>查找文本</title>
            </info>

            <para>如果要搜索一个文件中的文本字符串，请按照以下步骤执行。</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para>选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>查找</guimenuitem> </menuchoice> 以显示 <guilabel>查找</guilabel> 对话框。</para>
                </listitem>
                <listitem>
                    <para>在 <guilabel>搜索</guilabel> 输入框中键入您想要查找的字符串。您可以包含特殊字符，例如换行或制表符：请参见 <xref linkend="pluma-find-escapes"/>。</para>
                </listitem>
                <listitem>
                    <para>单击 <guibutton>查找</guibutton> 以在文件中搜索当前光标后第一个匹配的字符串。如果 <application>pluma</application> 找到了匹配的字符串，该应用程序会将第一个匹配的字符串选择并展现在您眼前。其他的匹配字符串也会被突出显示。</para>
                </listitem>
                <listitem>
                    <para>要查找下一个匹配的字符串，请点击 <guibutton>查找</guibutton> 或选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>查找下一个</guimenuitem> </menuchoice> 。要查找该文本的上一次出现，请选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>查找上一个</guimenuitem> </menuchoice>。</para>
                </listitem>
            </orderedlist>
            <para>关闭 <guilabel>查找</guilabel> 对话框后，您仍然可以通过选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>查找下一个</guimenuitem> </menuchoice> 和 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>查找上一个</guimenuitem> </menuchoice> 来将选择区域移动到文本的其他位置。</para>
            <para>要移除文本中的高亮显示，请选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>清除高亮</guimenuitem> </menuchoice>。</para>
             <para>参看 <link xlink:href="man:pcrepattern"> <citerefentry> <refentrytitle>pcrepattern</refentrytitle> <manvolnum>3</manvolnum> </citerefentry> </link> 以获得更多关于 <guilabel>查找</guilabel> 对话框支持的正则表达式语法和语义的信息。</para>
        </section>

        <section xml:id="pluma-find-incremental">
            <info>
                <title>增量搜索</title>
            </info>


            <para>增量搜索功能会在您逐字逐句输入要搜索的文本时高亮显示文本中的匹配文本。(类似于一些网页浏览器中的搜索功能)。</para>
            <para>要开始增量搜索，请选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>增量搜索</guimenuitem> </menuchoice>。搜索框会出现在显示区域的顶部。</para>
            <para>开始键入后，文档中匹配的文本将被高亮显示。光标位置后的第一个匹配文本也会被选中。</para>
            <para>在保持增量搜索框打开的情况下，如果要选中下一个匹配文本，请按 <keycombo> <keycap>Ctrl</keycap> <keycap>G</keycap> </keycombo>。按 <keycombo> <keycap>Ctrl</keycap> <keycap>Shift</keycap> <keycap>G</keycap> </keycombo> 键返回到上一个匹配文本。</para>
            <tip>
                <para>您也可以使用向上下方向键或鼠标滚轮来更换选择的匹配文本。</para>
            </tip>
        </section>

        <!-- ============= To Find and Replace Text ========================== -->
        <section xml:id="pluma-find-replace-text">
            <info>
                <title>替换文本</title>
            </info>
            <para>搜索一个文件中的字符串，并将其替换成另一个字符串，请执行以下步骤：</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para>选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>替换</guimenuitem> </menuchoice> 以显示 <guilabel>替换</guilabel> 对话框。</para>
                </listitem>
                <listitem>
                    <para>在 <guilabel>搜索</guilabel> 输入框中输入您要查找的字符串。您可以包含特殊字符，例如换行或制表符：参见<xref linkend="pluma-find-escapes"/>。</para>
                </listitem>
                <listitem>
                    <para>在 <guilabel>替换为</guilabel> 输入框中键入您需要的字符串来替换找到的字符串。</para>
                </listitem>
            </orderedlist>

            <para>要在替换字符串之前检查该每一个匹配字符串出现的位置，请点击 <guibutton>查找</guibutton>。如果 <application>pluma</application> 找到了该字符串，该应用程序会选择该字符串。点击 <guibutton>替换</guibutton> 以替换选中的字符串的出现。要查找下一个匹配字符串出现的位置，请再次点击 <guibutton>查找</guibutton>。</para>
            <para>要替换整个文档中出现的所有匹配字符串，请点击 <guibutton>全部替换</guibutton>。</para>
        </section>

        <!-- ============= Find and Replace Options ============================ -->
        <section xml:id="pluma-find-options">
            <info>
                <title>查找与替换选项</title>
            </info>

            <para><guilabel>查找</guilabel> 对话框和 <guilabel>替换</guilabel> 对话框都有以下选项：</para>
            <itemizedlist>
                <listitem>
                    <para>选择 <guilabel>区分大小写</guilabel> 选项，可以只查找与您输入的文本的大小写相匹配的字符串的出现。例如，如果选择了 <guilabel>区分大小写</guilabel>，“TEXT”将不匹配“text”。</para>
                </listitem>
                <listitem>
                    <para>选择 <guilabel>匹配整个单词</guilabel> 选项，可以只查找与您输入的文本中的整个单词相匹配的字符串。例如，选择了 <guilabel>匹配整个单词</guilabel> 选项，“text”将不匹配“texture”。</para>
                </listitem>
                <listitem>
                    <para>选择 <guilabel>反向搜索</guilabel> 选项，文档的最后开始反向搜索。</para>
                </listitem>
                <listitem>
                    <para>选择 <guilabel>回到文档头部继续搜索</guilabel> 选项，搜索到文件的一端时，会从文件的另一端继续搜索。</para>
                </listitem>
            </itemizedlist>
        </section>

        <!-- ============= Special Characters ============================ -->
        <section xml:id="pluma-find-escapes">
            <info>
                <title>特殊字符</title>
            </info>

            <para>您可以在文本中添加以下转义字符以查找或替换特殊字符：</para>
            <variablelist>
                <varlistentry>
                    <term><literal>\n</literal></term>
                    <listitem>
                        <para>插入一个新行。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><literal>\t</literal></term>
                    <listitem>
                        <para>插入一个制表符。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><literal>\r</literal></term>
                    <listitem>
                        <para>插入一个回车。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><literal>\\</literal></term>
                    <listitem>
                        <para>如要搜索反斜线字符，则使用必须转义字符。例如，如果您要找的是字符串“<literal>\n</literal>”，则您必须在 <guilabel>搜索</guilabel> 输入框中输入“\\n”。或者说，如果您要寻找一串反斜线，您必须将搜索到的反斜线数量加倍。</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <!-- ============= To Position the Cursor on a Specific Line ========= -->
        <section xml:id="pluma-goto-line">
            <info>
                <title>让光标跳转到特定行上</title>
            </info>
            <para>要将光标跳转到当前文件中的制定行上，请选择 <menuchoice> <guimenu>搜索</guimenu> <guimenuitem>跳转到指定行</guimenuitem> </menuchoice>。在显示区域的顶部会出现行号输入框。</para>
            <para>键入你要让光标跳转的行数，文档将自动滚动到您指定的行。</para>
            <para>要关闭该输入框并让光标跳转至指定行，请按 <keycap>回车</keycap>。</para>
        </section>
    </section>

    <section xml:id="pluma-printing">
        <info>
            <title>打印</title>
        </info>

        <!-- ============= To Set the Page Options =========================== -->
        <section xml:id="pluma-page-setup">
            <info>
                <title>设置页面选项</title>
            </info>

            <para>要设置页面选项，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>页面设置</guimenuitem> </menuchoice>来显示<guilabel>页面设置</guilabel> 对话框。</para>

            <para>通过 <guilabel>页面设置</guilabel> 对话框，您可以指定以下打印选项：</para>

            <section xml:id="pluma-page-setup-general">
                <info>
                    <title>一般标签部分</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term><guilabel>打印语法突出显示</guilabel></term>
                        <listitem>
                            <para>选择此选项可打印语法突出显示。更多关于语法突出显示的信息，请参阅<xref linkend="pluma-set-highlightmode"/>。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>打印页眉</guilabel></term>
                        <listitem>
                            <para>如果选择此选项，您打印的每一页中将包含页眉。您不能在此配置页眉。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>行号</guilabel></term>
                        <listitem>
                            <para>选择 <guilabel>打印行号</guilabel> 选项，在打印文件时将包括行号。</para>
                            <para>使用 <guilabel>每几行打印一次行号</guilabel> 数字设定框来指定打印行号的频率，例如每 5 行、每 10 行打印一次等。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>文字折行</guilabel></term>
                        <listitem>
                            <para>当您打印文件时，选择 <guilabel>启用文字折行</guilabel> 选项，以在字符级别上将文字折叠到下一行。该应用程序会在进行行号编号时将被折叠的行计为一行。</para>
                            <para>当您打印文件时，选择 <guilabel>不将一个单词拆在两行</guilabel> 选项，以在打印文件时，在单词级别上将文本折叠下一行。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="pluma-page-setup-fonts">
                <info>
                    <title>字体</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term><guilabel>主体</guilabel></term>
                        <listitem>
                            <para>单击此按钮，选择用于打印文件正文的字体。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>行号</guilabel></term>
                        <listitem>
                            <para>点击此按钮，选择用于打印行号的字体。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>页眉和页脚</guilabel></term>
                        <listitem>
                            <para>点击此按钮，选择要打印文件中的页眉和页脚的字体。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
                <para>要将字体重置为从 <application>pluma</application> 打印文件时默认的字体，请点击 <guibutton>恢复为默认字体</guibutton>。</para>
            </section>
        </section>

        <!-- ============= To Print a File ============================ -->
        <section xml:id="pluma-print-file">
            <info>
                <title>打印一个文档</title>
            </info>
            <para>您可以使用 <application>pluma</application> 执行以下打印操作：</para>
            <itemizedlist>
                <listitem>
                    <para>让打印机打印一个文档；</para>
                </listitem>
                <listitem>
                    <para>使打印命令输出到文件中。</para>
                </listitem>
            </itemizedlist>
            <para>如果您打印一个文件，<application>pluma</application> 会将该文件的输出发送到一个印前格式文件。最常见的印前格式是PostScript和便携式文档格式（PDF）。</para>
            <para>要预览您要打印的页面，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>打印预览</guimenuitem> </menuchoice>。</para>
            <para>要将当前文件打印到打印机或文件，请选择 <menuchoice> <guimenu>文件</guimenu> <guimenuitem>打印</guimenuitem> </menuchoice> 以显示打印对话框。</para>
            <para>在 <guilabel>打印</guilabel> 对话框中，您可以指定以下打印选项：</para>

            <section xml:id="print-dialog-job">
                <info>
                    <title>常规</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term><guilabel>范围</guilabel></term>
                        <listitem>
                            <para>选择以下选项之一以确定要打印的页数：</para>
                            <itemizedlist>
                                <listitem>
                                    <para><guilabel>所有页面</guilabel></para>
                                    <para>选择该项以打印文件中的所有页面。</para>
                                </listitem>
                                <listitem>
                                    <para><guilabel>行号</guilabel></para>
                                    <para>选择此选项，可以仅打印指定的行数。使用 <guilabel>从</guilabel> 和 <guilabel>直到</guilabel> 输入框指定行数范围。</para>
                                </listitem>
                                <listitem>
                                    <para><guilabel>选择部分</guilabel></para>
                                    <para>选择此选项，可以仅打印所选文本。此选项仅在文本被选择时可用。</para>
                                </listitem>
                            </itemizedlist>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>副本</guilabel></term>
                        <listitem>
                            <para>使用 <guilabel>副本数</guilabel> 旋转框来指定您要打印文件副本数量。</para>
                            <para>如果您打印了多个文件的副本，请选择 <guilabel>整理</guilabel> 选项来整理打印的副本。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="print-dialog-printer">
                <info>
                    <title>打印缩进选项</title>
                </info>

                <variablelist>
                    <varlistentry>
                        <term><guilabel>打印机</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择要打印文件的打印机。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>设置</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择打印机设置。</para>
                            <para>要配置打印机，请点击 <guibutton>配置</guibutton>。例如，如果打印机支持此功能，则可以启用或禁用双面打印，或计划延迟打印。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>定位</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择以下打印目标之一：</para>
                            <variablelist>
                                <varlistentry>
                                    <term><guilabel>CUPS</guilabel></term>
                                    <listitem>
                                        <para>使用 CUPS 打印机打印文件。</para>
                                        <note>
                                            <para>如果所选打印机是 CUPS 打印机，<guilabel>CUPS</guilabel> 会是此下拉列表中的唯一条目。</para>
                                        </note>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term><guilabel>按行打印</guilabel></term>
                                    <listitem>
                                        <para>使用普通打印机打印文件。</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term><guilabel>文件</guilabel></term>
                                    <listitem>
                                        <para>将文件打印到 PostScript 文件中。</para>
                                        <para>单击 <guibutton>另存为</guibutton> 以显示一个对话框，您可以在其中指定PostScript文件的名称和位置。</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term><guilabel>自定义</guilabel></term>
                                    <listitem>
                                        <para>使用指定的命令来打印文件。</para>
                                        <para>在文本框中键入命令的名称。包括所有命令行参数。</para>
                                    </listitem>
                                </varlistentry>
                            </variablelist>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>状态</guilabel></term>
                        <listitem>
                            <para>此版本的 pluma 不支持该功能。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>类型</guilabel></term>
                        <listitem>
                            <para>此版本的 pluma 不支持该功能。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>注释</guilabel></term>
                        <listitem>
                            <para>此版本的 pluma 不支持该功能。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="print-dialog-paper">
                <info>
                    <title>页面设置</title>
                </info>

                <variablelist>
                    <varlistentry>
                        <term><guilabel>纸张大小</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择要将文件打印到的纸张的大小。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>宽度</guilabel></term>
                        <listitem>
                            <para>使用此旋转框指定纸张的宽度。使用相邻的下拉列表更改测量单位。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>高度</guilabel></term>
                        <listitem>
                            <para>使用此旋转框指定纸张的高度。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>进纸方向</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择打印机中纸张的方向。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>页面方向</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择页面方向。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>布局</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择页面布局。您选择的每个布局的预览显示在 <guilabel>预览</guilabel> 区域中。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term><guilabel>纸盘</guilabel></term>
                        <listitem>
                            <para>使用此下拉列表选择纸盘。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>
        </section>
    </section>

    <section xml:id="pluma-programming-features">
        <info>
            <title>编程辅助</title>
        </info>
        <para><application>pluma</application> 的一些编程辅助功能是通过插件提供的。例如，Tag List 插件为不同的语言提供了一个常用的标记列表：见 <xref linkend="pluma-tag-list-plugin"/></para>

        <!-- ============= Syntax Highlighting ============================== -->
        <section xml:id="pluma-set-highlightmode">
            <info>
                <title>语法高亮</title>
            </info>

            <para>语法高亮可以通过不同的颜色以显示文本的不同部分，使代码更容易阅读。</para>
            <para><application>pluma</application> 会根据文档的类型选择合适的无法高亮模式。要重新设置突出显示（语法高亮）模式，选择 <menuchoice> <guimenu>视图</guimenu> <guimenuitem>突出显示模式</guimenuitem> </menuchoice>，然后选择以下菜单项之一：</para>
            <variablelist>
                <varlistentry>
                    <term><guimenuitem>纯文本</guimenuitem></term>
                    <listitem>
                        <para>不使用任何语法高亮。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guisubmenu>源代码</guisubmenu></term>
                    <listitem>
                        <para>使用突出显示来编辑源代码。使用 <guisubmenu>源代码</guisubmenu> 子菜单以选择源代码类型。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guisubmenu>标记</guisubmenu></term>
                    <listitem>
                        <para>使用突出显示来编辑标记语言。使用 <guisubmenu>标记</guisubmenu> 子菜单以选择标记语言类型。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guisubmenu>脚本</guisubmenu></term>
                    <listitem>
                        <para>使用突出显示来编辑脚本语言。使用 <guisubmenu>脚本</guisubmenu> 子菜单以选择脚本语言类型。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guisubmenu>其他</guisubmenu></term>
                    <listitem>
                        <para>使用突出显示来编辑其他形式的代码。使用 <guisubmenu>其他</guisubmenu> 子菜单以选择代码类型。</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <!-- ============= To Pipe the Output of a Command to a File ========= -->
        <section xml:id="pluma-pipe-output">
            <info>
                <title>将命令输出传输到文件</title>
            </info>
            <para>可以使用 <application>pluma</application> 将命令的输出通过管道传输（pipe）到文本文件。例如，要将ls命令的输出通过管道传输到文本文件，只需要输入 <command>ls | pluma</command>，然后按 <keycap>回车</keycap> 键。</para>
            <para><command>ls</command> 命令的输出将呈现在 <application>pluma</application> 窗口中新建的文本文件里。</para>
            <para>另外，你也可以使用 <application>外部工具</application> 插件将命令输出到当前文件。</para>
        </section>
    </section>

    <!-- ================ Shortcut Keys ====================================== -->
    <section xml:id="pluma-shortcutkeys">
        <info>
            <title>快捷键</title>
        </info>
        <para>使用快捷键可以比使用鼠标和菜单更快速地执行普通任务。下表列出了所有 <application>pluma</application> 的快捷键。</para>
        <para>有关快捷键的更多信息，请参阅 <link xlink:href="help:mate-user-guide/keyboard-skills">桌面用户指南</link>。</para>

        <!-- ============= Tabs ======================== -->
        <bridgehead>标签页</bridgehead>
        <para>标签页的快捷键</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Alt + PageUp</para>
                        </entry>
                        <entry>
                            <para>向左切换一个标签页。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Alt + PageDown</para>
                        </entry>
                        <entry>
                            <para>向右切换标签页。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + W</para>
                        </entry>
                        <entry>
                            <para>关闭标签页。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + L</para>
                        </entry>
                        <entry>
                            <para>保存所有标签</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + W</para>
                        </entry>
                        <entry>
                            <para>关闭所有标签页</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + n</para>
                        </entry>
                        <entry>
                            <para>切换到第 n 个标签页。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Files ======================== -->
        <bridgehead>文件</bridgehead>
        <para>文件操作中的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + N</para>
                        </entry>
                        <entry>
                            <para>新建一个文档。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + O</para>
                        </entry>
                        <entry>
                            <para>打开一个文档。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + S</para>
                        </entry>
                        <entry>
                            <para>保存当前文档到磁盘中。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + S</para>
                        </entry>
                        <entry>
                            <para>以一个新文件名保存当前文档。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + P</para>
                        </entry>
                        <entry>
                            <para>打印当前文档。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + P</para>
                        </entry>
                        <entry>
                            <para>文档打印预览。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + W</para>
                        </entry>
                        <entry>
                            <para>关闭当前文档。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Q</para>
                        </entry>
                        <entry>
                            <para>退出 Pluma。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Edit ======================= -->
        <bridgehead>编辑</bridgehead>
        <para>文档编辑中的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Z</para>
                        </entry>
                        <entry>
                            <para>撤销最近一次操作。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + Z</para>
                        </entry>
                        <entry>
                            <para>重做最后一次撤销的操作。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + X</para>
                        </entry>
                        <entry>
                            <para>剪切选中的文本或者文本块，把它们放入剪贴板中。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + C</para>
                        </entry>
                        <entry>
                            <para>复制选中的文本或位置到剪贴板。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + V</para>
                        </entry>
                        <entry>
                            <para>粘贴剪贴板内的内容。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + A</para>
                        </entry>
                        <entry>
                            <para>选择全部。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + D</para>
                        </entry>
                        <entry>
                            <para>删除当前一行内容。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + U</para>
                        </entry>
                        <entry>
                            <para>将选中部分改为大写。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + L</para>
                        </entry>
                        <entry>
                            <para>将选中部分改为小写。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + U</para>
                        </entry>
                        <entry>
                            <para>将每个字符反转大小写。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + L</para>
                        </entry>
                        <entry>
                            <para>将每个字符转化为大写。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + Up</para>
                        </entry>
                        <entry>
                            <para>将选中行上移一行。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + Down</para>
                        </entry>
                        <entry>
                            <para>将选中行下移一行。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Tab</para>
                        </entry>
                        <entry>
                            <para>将选中行增加缩进。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Shift + Tab</para>
                        </entry>
                        <entry>
                            <para>将选中行减少缩进。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= View ======================= -->
        <bridgehead>查看</bridgehead>
        <para>当前视图中的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Y</para>
                        </entry>
                        <entry>
                            <para>显示/隐藏 行号。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Panes ======================= -->
        <bridgehead>面板</bridgehead>
        <para>显示和隐藏面板的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>F9</para>
                        </entry>
                        <entry>
                            <para>显示/隐藏侧边栏</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + F9</para>
                        </entry>
                        <entry>
                            <para>显示/隐藏底部面板。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Search ======================= -->
        <bridgehead>查找</bridgehead>
        <para>搜索中的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + F</para>
                        </entry>
                        <entry>
                            <para>查找一个字符串。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + G</para>
                        </entry>
                        <entry>
                            <para>查找下一个匹配的字符串。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + G</para>
                        </entry>
                        <entry>
                            <para>查找上一个匹配的字符串。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + K</para>
                        </entry>
                        <entry>
                            <para>增量搜索。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + H</para>
                        </entry>
                        <entry>
                            <para>搜索并替换。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + K</para>
                        </entry>
                        <entry>
                            <para>清除高亮。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + I</para>
                        </entry>
                        <entry>
                            <para>跳转到指定行。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Tools ======================= -->
        <bridgehead>工具</bridgehead>
        <para>工具的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>Shift + F7</para>
                        </entry>
                        <entry>
                            <para>检查拼写（需要插件）。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Alt + F12</para>
                        </entry>
                        <entry>
                            <para>移除尾部空格（需要插件）。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + T</para>
                        </entry>
                        <entry>
                            <para>缩进（需要插件）。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + T</para>
                        </entry>
                        <entry>
                            <para>移除缩进（需要插件）。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>F8</para>
                        </entry>
                        <entry>
                            <para>在当前目录运行“make”（需要插件）。</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para>Ctrl + Shift + D</para>
                        </entry>
                        <entry>
                            <para>目录列表（需要插件）。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Help ======================= -->
        <bridgehead>帮助</bridgehead>
        <para>帮助的快捷键：</para>
        <informaltable frame="all">
            <tgroup cols="2" colsep="1" rowsep="1">
                <colspec colname="COLSPEC0" colwidth="50*"/>
                <colspec colname="COLSPEC1" colwidth="50*"/>
                <thead>
                    <row valign="top">
                        <entry colname="COLSPEC0">
                            <para>快捷键</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>命令</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para>F1</para>
                        </entry>
                        <entry>
                            <para>打开 <application>pluma</application> 的用户手册。</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>
    </section>

    <!-- ============= Preferences ============================= -->
    <section xml:id="pluma-prefs">
        <info>
            <title>首选项</title>
        </info>
        <para>若要配置 <application>pluma</application>，请选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>首选项</guimenuitem> </menuchoice>。<guilabel>首选项</guilabel> 对话框包含有以下内容：</para>
        <itemizedlist>
            <listitem>
                <para>
                    <xref linkend="pluma-prefs-view"/>
                </para>
            </listitem>
            <listitem>
                <para>
                    <xref linkend="pluma-prefs-editor"/>
                </para>
            </listitem>
            <listitem>
                <para>
                    <xref linkend="pluma-prefs-fontsandcolors"/>
                </para>
            </listitem>
            <listitem>
                <para>
                    <xref linkend="pluma-prefs-plugins"/>
                </para>
            </listitem>
        </itemizedlist>

        <section xml:id="pluma-prefs-view">
            <info>
                <title>查看首选项</title>
            </info>
            <variablelist>
                <varlistentry>
                    <term><guilabel>文字折行</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>文字折行</guilabel> 选项使一行过长文本自动换行，而非溢出窗口之外。这样就可以避免横向滚动</para>
                        <para>选择 <guilabel>不将一个单词拆在两行</guilabel> 选项使文本在换行时保留整个单词。这样就可以使文本更易于阅读。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>行号</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>显示行号</guilabel> 选项以在 <application>pluma</application> 窗口的左侧显示行号。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>当前行</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>突出显示当前行</guilabel> 选项以突出显示光标所在行。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>右边距</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>显示右边距</guilabel> 选项以显示一条指示右边距的垂直线。</para>
                        <para>使用 <guilabel>右边距于列</guilabel> 数字设定框以设定垂直线的位置。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>括号匹配</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>突出显示匹配的括号</guilabel> 选项使光标位于括号上时，突出显示与之匹配的括号。</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-editor">
            <info>
                <title>编辑器首选项</title>
            </info>
            <variablelist>
                <varlistentry>
                    <term><guilabel>制表符</guilabel></term>
                    <listitem>
                        <para>使用 <guilabel>跳格宽度</guilabel> 数字设定框以指定在按 <keycap>Tab</keycap> 键时 <application>pluma</application> 插入的空格宽度。</para>
                        <para>选择 <guilabel>插入空格代替制表符</guilabel> 选项以指定当你按 <keycap>Tab</keycap> 键时，<application>pluma</application> 会插入空格而非制表符。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>自动缩进</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>启用自动缩进</guilabel> 选项以指定下一行自动缩进到当前行的缩进级别。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>文件保存</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>在保存之前创建一个备份文件</guilabel> 选项，可在您每次保存文件时创建一份改文件的备份副本。备份副本文件的文件名的末尾会包含一个 ~ 符号。</para>
                        <para>选择 <guilabel>自动保存文件，每隔……分钟</guilabel>选项以定期自动保存当前文件。使用数字设定框指定您想要自动保存文件的频率。</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-fontsandcolors">
            <info>
                <title>字体和颜色首选项</title>
            </info>

            <variablelist>
                <varlistentry>
                    <term><guilabel>字体</guilabel></term>
                    <listitem>
                        <para>选择 <guilabel>使用默认主题字体</guilabel> 选项令 <application>pluma</application> 文本窗口中的文本使用系统默认字体。</para>
                        <para><guilabel>编辑器字体</guilabel> 字段显示 <application>pluma</application> 用于显示文本的字体。点击按钮以指定文本使用的字体类型、样式和大小。</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term><guilabel>配色方案</guilabel></term>
                    <listitem>
                        <para>你可以从配色方案列表中选取一个配色方案。有以下配色方案被默认安装：</para>
                        <variablelist>
                            <varlistentry>
                                <term><guilabel>Classic</guilabel></term>
                                <listitem>
                                    <para>Classic 配色方案基于 gvim 的配色方案创建。</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term><guilabel>Cobalt</guilabel></term>
                                <listitem>
                                    <para>蓝色基调的配色方案。</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term><guilabel>Kate</guilabel></term>
                                <listitem>
                                    <para>Kate 文本编辑器中使用的配色方案。</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term><guilabel>Oblivion</guilabel></term>
                                <listitem>
                                    <para>使用 Tango 色调的深色配色方案。</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term><guilabel>Tango</guilabel></term>
                                <listitem>
                                    <para>使用 Tango 配色方案的配色方案。</para>
                                </listitem>
                            </varlistentry>
                        </variablelist>
                        <para>您可以通过点击 <guilabel>添加...</guilabel> 并选取配色方案文件以添加一个新配色方案</para>
                        <para>您可以通过点击 <guilabel>移除</guilabel> 以移除选取的配色方案</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-plugins">
            <info>
                <title>插件首选项</title>
            </info>
            <para>插件可以为 <application>pluma</application> 提供额外的功能。更多有关插件及如何使用内置插件的信息，请参阅<xref linkend="pluma-plugins-overview"/>。</para>

            <!-- ============= To Load pluma Plugins ========================= -->
            <section xml:id="pluma-install-plugins">
                <info>
                    <title>启用插件</title>
                </info>
                <para>如果需要启用一个 <application>pluma</application> 插件，请按如下步骤操作：</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para>选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>首选项</guimenuitem> </menuchoice>。</para>
                    </listitem>
                    <listitem>
                        <para>选中 <guilabel>插件</guilabel> 标签页。</para>
                    </listitem>
                    <listitem>
                        <para>选中您想启用插件的名称一旁的复选框。</para>
                    </listitem>
                    <listitem>
                        <para>点击 <guibutton>关闭</guibutton> 以关闭 <guilabel>首选项</guilabel> 对话框。</para>
                    </listitem>
                </orderedlist>
            </section>

            <!-- ============= To Remove pluma Plugins ========================= -->
            <section xml:id="pluma-remove-plugins">
                <info>
                    <title>禁用插件</title>
                </info>

                <para>在您退出 <application>pluma</application> 时，插件会仍旧保持启用的状态。</para>
                <para>如果需要禁用一个 <application>pluma</application> 插件，请按如下步骤操作：</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para>选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>首选项</guimenuitem> </menuchoice>。</para>
                    </listitem>
                    <listitem>
                        <para>选中 <guilabel>插件</guilabel> 标签页。</para>
                    </listitem>
                    <listitem>
                        <para>取消选中您想禁用插件的名称一旁的复选框</para>
                    </listitem>
                    <listitem>
                        <para>点击 <guibutton>关闭</guibutton> 以关闭 <guilabel>首选项</guilabel> 对话框。</para>
                    </listitem>
                </orderedlist>
            </section>
        </section>
    </section>

    <!-- ============= To Use the pluma Plugins ========================= -->
    <section xml:id="pluma-plugins">
        <info>
            <title>插件</title>
        </info>

        <section xml:id="pluma-plugins-overview">
            <info>
                <title>插件操作</title>
            </info>
            <para>通过启用 <firstterm>插件</firstterm>，您可以让 <application>pluma</application> 实现更多功能。插件是用于增强应用程序功能的补充程序。插件在 <application>pluma</application> 的菜单中添加了可以提供提供新功能的项目。 </para>
            <para><application>pluma</application> 本身就内置了一些插件。</para>
            <para>如需启用或禁用插件，或查看插件的启用状态，请使用 <xref linkend="pluma-prefs-plugins"/>。</para>
            <para><application>pluma</application> 内置了以下插件：</para>
            <!-- Not yet documented:
                    File browser
            -->
            <itemizedlist>
                <listitem>
                    <para><xref linkend="pluma-document-statistics-plugin"/> 可以显示文档的行数、单词数以及字符数。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-external-tools-plugin"/> 可以让您在 <application>pluma</application> 中执行外部命令。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-file-browser-plugin"/> 可以让您在侧边栏浏览文件和文件夹。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-indent-lines-plugin"/> 可以为选中行添加或移除行首缩进。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-insert-date-time-plugin"/> 可以在文档中插入当前的日期与时间。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-modelines-plugin"/> 可以让您对单个文件设置编辑偏好，并提供 <application>Emacs</application>、<application>Kate</application> 和 <application>Vim</application> 样式的模式行。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-python-console-plugin"/> 可以让您在 python 编程语言中运行命令。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-trailsave-plugin"/> 可以在保存文档时自动除去行尾多余空格。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-snippets-plugin"/> 可以让您存储常用的文本片段并在需要时将它们快速插入到文档中。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-sort-plugin"/> 可以将选中的行按照文本字母顺序排列。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-spell-checker-plugin"/> 可以修正选中文本的拼写，或自动标记文档中的错误。</para>
                </listitem>
                <listitem>
                    <para><xref linkend="pluma-tag-list-plugin"/> 允许您从侧边栏中的列表中插入用于 HTML 和其他语言的常用标记。</para>
                </listitem>
            </itemizedlist>

            <note>
                <para>关于创建插件的更多信息，参见 <link xlink:href="https://github.com/mate-desktop/pluma/tree/master/plugins"/>。</para>
            </note>
        </section>

        <section xml:id="pluma-document-statistics-plugin">
            <info>
                <title>文档统计插件</title>
            </info>

            <para><application>文档统计</application> 插件可以计算当前文件中的行数、单词数、包含空格的字符数、不含空格的字符数和字节数。该插件能将上述结果展示在一个 <guilabel>文档统计</guilabel> 对话框中。如要使用文档统计插件，请按以下步骤执行：</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para>选择 <menuchoice> <guimenu>工具</guimenu> <guimenuitem>文档统计</guimenuitem> </menuchoice> 以显示 <guilabel>文档统计 </guilabel> 对话框。<guilabel>文档统计</guilabel> 对话框会显示当前文件的以下信息：</para>
                    <itemizedlist>
                        <listitem>
                            <para>当前文档所含行的数量。</para>
                        </listitem>
                        <listitem>
                            <para>当前文档所含单词的数量。</para>
                        </listitem>
                        <listitem>
                            <para>当前文档所含字符的数量，包括空格。</para>
                        </listitem>
                        <listitem>
                            <para>当前文档所含字符的数量，不包括空格。</para>
                        </listitem>
                        <listitem>
                            <para>当前文档所含字节的数量。</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
                <listitem>
                    <para>在 <guilabel>文档统计</guilabel> 对话框打开的情况下，您可以持续更新 <application>pluma</application> 中的文件。如果需要更新 <guilabel>文档统计</guilabel> 对话框中的内容，点击 <guibutton>更新</guibutton>。</para>
                </listitem>
            </orderedlist>
        </section>

        <section xml:id="pluma-external-tools-plugin">
            <info>
                <title>外部工具插件</title>
            </info>
            <para><application>外部工具</application> 插件可以让您在 <application>pluma</application> 中执行外部命令。您可以使用管道将一些信息输入到命令中，并使用它们的输出（如 <application>sed</application>），也可以启动一个已定义的命令（如 <application>make</application>）。</para>
            <para>使用 <guilabel>外部工具管理器</guilabel> 来创建并编辑命令。若要运行一个外部命令，请在 <guimenu>工具</guimenu> 菜单中选择它。</para>

            <section xml:id="pluma-external-tools-plugin-builtin">
                <info>
                    <title>内建命令</title>
                </info>
                <para>以下命令会随 <application>外部工具</application> 插件提供：</para>
                <variablelist>
                    <varlistentry>
                        <term>构建</term>
                        <listitem>
                            <para>在当前文档所在目录运行 <application>make</application>。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>目录列表</term>
                        <listitem>
                            <para>在新文档中列出当前文档的目录。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>环境变量</term>
                        <listitem>
                            <para>在底部面板列出环境变量。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>Grep</term>
                        <listitem>
                            <para>在当前文档所在目录下的每一个文档中使用模式匹配搜索特定短语。在底部面板显示结果。</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>移除多余空格</term>
                        <listitem>
                            <para>移除当前文档中所有行尾空格。</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="pluma-external-tools-plugin-define">
                <info>
                    <title xml:lang="en">Defining a Command</title>
                </info>
                <para xml:lang="en">To add an external command, choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>External Tools</guimenuitem> </menuchoice>.</para>
                <para xml:lang="en">In the <guilabel>External Tools Manager</guilabel> window, click <guibutton>New</guibutton>. You can specify the following details for the new command:</para>
                <variablelist>
                    <varlistentry>
                        <term>描述</term>
                        <listitem>
                            <para xml:lang="en">This description is shown in the statusbar when the menu command is chosen.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Accelerator</term>
                        <listitem>
                            <para xml:lang="en">Enter a keyboard shortcut for the command.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Commands</term>
                        <listitem>
                            <para xml:lang="en">The actual commands to be run. Several <application>pluma</application> environment variables can be used to pass content to these commands: see <xref linkend="pluma-external-tools-plugin-variables"/>.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>输入</term>
                        <listitem>
                            <para xml:lang="en">The content to give to the commands (as <systemitem>stdin</systemitem>): the entire text of the current document, the current selection, line, or word.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term>输出</term>
                        <listitem>
                            <para xml:lang="en">What to do with the output of the commands: display in the bottom pane, put in a new document, or place in the current document, at the end, at the cursor position, or replacing the selection or the entire document.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Applicability</term>
                        <listitem>
                            <para xml:lang="en">Determines which sort of documents can be affected by the command, for example whether saved or not, and local or remote.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="pluma-external-tools-plugin-edit">
                <info>
                    <title xml:lang="en">Editing and Removing Tools</title>
                </info>
                <para xml:lang="en">To edit a tool, select it in the list and make changes to its properties.</para>
                <para xml:lang="en">To rename a tool, click it again in the list.</para>
                <para xml:lang="en">To restore a built-in tool that you have changed, press <guilabel>Revert</guilabel>.</para>
                <para xml:lang="en">To remove a tool, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in tools, only those you have created yourself.</para>
            </section>

            <section xml:id="pluma-external-tools-plugin-variables">
                <info>
                    <title xml:lang="en">Variables</title>
                </info>
                <para xml:lang="en">You can use the following variables in the <guilabel>Commands</guilabel> field of the command definition:</para>
                <itemizedlist>
                    <listitem>
                        <para xml:lang="en">PLUMA_CURRENT_DOCUMENT_URI</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_CURRENT_DOCUMENT_NAME</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_CURRENT_DOCUMENT_SCHEME</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_CURRENT_DOCUMENT_PATH</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_CURRENT_DOCUMENT_DIR</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_DOCUMENTS_URI</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">PLUMA_DOCUMENTS_PATH</para>
                    </listitem>
                </itemizedlist>
            </section>
        </section>

        <section xml:id="pluma-file-browser-plugin">
            <info>
                <title xml:lang="en">File Browser Pane Plugin</title>
            </info>
            <para xml:lang="en">The <application>File Browser Pane</application> Plugin shows your files and folders in the side pane, allowing you to quickly open files.</para>
            <para>要查看文件浏览器，请选择<menuchoice><guimenu>查看</guimenu><guimenuitem>侧边栏</guimenuitem></menuchoice>，然后点击侧边栏底部显示文件浏览器图标的选项卡。</para>

            <section xml:id="pluma-file-browser-plugin-browsing">
                <info>
                    <title xml:lang="en">Browsing your Files</title>
                </info>
                <para xml:lang="en">The File Browser tab initially shows your file manager bookmarks. To browse the contents of any item, double-click it.</para>
                <para xml:lang="en">To show a parent folder, choose from the drop-down list, or press the up arrow on the File Browser's toolbar.</para>
                <para xml:lang="en">To show the folder that contains the document you are currently working on, right-click in the file list and choose <guimenuitem>Set root to active document</guimenuitem>.</para>
            </section>

            <section xml:id="pluma-file-browser-plugin-open">
                <info>
                    <title>打开文件</title>
                </info>
                <para xml:lang="en">To open a file in <application>pluma</application>, double-click it in the file list.</para>
            </section>

            <section xml:id="pluma-file-browser-plugin-create">
                <info>
                    <title xml:lang="en">Creating Files and Folders</title>
                </info>
                <para xml:lang="en">To create a new, empty text file in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New File</guimenuitem>.</para>
                <para xml:lang="en">To create a new folder in the current folder shown in the browser, right-click in the file list and choose <guimenuitem>New Folder</guimenuitem>.</para>
            </section>
        </section>

        <section xml:id="pluma-indent-lines-plugin">
            <info>
                <title xml:lang="en">Indent Lines Plugin</title>
            </info>
            <para xml:lang="en">The <application>Indent Lines</application> plugin adds or removes space from the beginning of lines of text.</para>
            <para xml:lang="en">To indent or unindent text, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Select the lines that you want to indent. To indent or unindent a single line, place the cursor anywhere on that line.</para>
                </listitem>
                <listitem>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">To indent the text, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Indent</guimenuitem> </menuchoice>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To remove the indentation, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Unindent</guimenuitem> </menuchoice>.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
            </orderedlist>
            <para xml:lang="en">The amount of space used, and whether tab character or space characters are used, depends on the <guilabel>Tab Stops</guilabel> settings in the Editor Preferences: see <xref linkend="pluma-prefs-editor"/>.</para>
        </section>

        <section xml:id="pluma-insert-date-time-plugin">
            <info>
                <title xml:lang="en">Insert Date/Time Plugin</title>
            </info>
            <para xml:lang="en">The <application>Insert Date/Time</application> plugin inserts the current date and time into a document. To use the Insert Date/Time plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Insert Date and Time</guimenuitem> </menuchoice>. </para>
                    <para xml:lang="en">If you have not configured the Insert Date/Time plugin to automatically insert the date/time without prompting you for the format, <application>pluma</application> displays the <guilabel>Insert Date and Time</guilabel> dialog. Select the appropriate date/time format from the list. Click <guibutton>Insert</guibutton> to close the <guilabel>Insert Date and Time</guilabel> dialog. <application>pluma</application> inserts the date/time at the cursor position in the current file. </para>
                    <para xml:lang="en">If you have configured <application>pluma</application> to use one particular date/time format, the <guilabel>Insert Date and Time</guilabel> dialog is not displayed. The date/time is automatically entered at the cursor position in the current file. </para>
                </listitem>
            </orderedlist>

            <section xml:id="pluma-date-time-configure">
                <info>
                    <title xml:lang="en">Configuring the Insert Date/Time Plugin</title>
                </info>
                <para xml:lang="en">To configure the Insert Date/Time plugin, perform the following steps:</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para>选择 <menuchoice> <guimenu>编辑</guimenu> <guimenuitem>首选项</guimenuitem> </menuchoice>。</para>
                    </listitem>
                    <listitem>
                        <para>选中 <guilabel>插件</guilabel> 标签页。</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Insert Date/Time</guilabel> plugin.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Click <guibutton>Configure Plugin</guibutton> to display the <guilabel>Configure insert date/time plugin</guilabel> dialog.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select one of the options, as follows: </para>
                        <itemizedlist>
                            <listitem>
                                <para xml:lang="en">To specify the date/time format each time you insert the date/time, select the <guilabel>Prompt for a format</guilabel> option.</para>
                            </listitem>
                            <listitem>
                                <para xml:lang="en">To use the same <application>pluma</application>-provided date/time format each time you insert the date/time, select the <guilabel>Use the selected format</guilabel> option, then select the appropriate format from the list. When you select this option, <application>pluma</application> does not prompt you for the date/time format when you choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Insert Date and Time</guimenuitem> </menuchoice>.</para>
                            </listitem>
                            <listitem>
                                <para xml:lang="en">To use the same customized date/time format each time you insert the date/time, select the <guilabel>Use custom format</guilabel> option, then enter the appropriate format in the text box. Refer to the <link xlink:href="man:strftime">
                                        <citerefentry>
                                            <refentrytitle>strftime</refentrytitle>
                                            <manvolnum>3</manvolnum>
                                        </citerefentry>
                                    </link> for more information on how to specify a custom format. When you select this option, <application>pluma</application> does not prompt you for the date/time format when you choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Insert Date and Time</guimenuitem> </menuchoice>.
                                </para>
                            </listitem>
                        </itemizedlist>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Click <guibutton>OK</guibutton> to close the <guilabel>Configure insert date/time plugin</guilabel> dialog.
                        </para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">To close the <guilabel>Preferences</guilabel> dialog, click <guibutton>Close</guibutton>.</para>
                    </listitem>
                </orderedlist>
            </section>
        </section>

        <section xml:id="pluma-modelines-plugin">
            <info>
                <title xml:lang="en">Modelines Plugin</title>
            </info>
            <para xml:lang="en">The <application>Modelines</application> plugin allows you to set preferences for individual documents. A <firstterm>modeline</firstterm> is a line of text at the start or end of the document with settings that <application>pluma</application> recognizes.</para>
            <para xml:lang="en">Preferences set using modelines take precedence over the ones specified in the preference dialog.</para>
            <para xml:lang="en">You can set the following preferences with modelines:</para>
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">Tab width</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Indent width</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Insert spaces instead of tabs</para>
                </listitem>
                <listitem>
                    <para>文字折行</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Right margin width</para>
                </listitem>
            </itemizedlist>
            <para xml:lang="en">The <application>Modelines</application> plugin supports a subset of the options used by other text editors <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>.</para>

            <section xml:id="pluma-modelines-plugin-emacs">
                <info>
                    <title xml:lang="en">Emacs Modelines</title>
                </info>
                <para xml:lang="en">The first two lines of a document are scanned for <application>Emacs</application> modelines.</para>
                <para xml:lang="en">The <application>Emacs</application> options for tab-width, indent-offset, indent-tabs-mode and autowrap are supported. For more information, see the <link xlink:href="http://www.delorie.com/gnu/docs/emacs/emacs_486.html">GNU Emacs Manual</link>.</para>
            </section>

            <section xml:id="pluma-modelines-plugin-kate">
                <info>
                    <title xml:lang="en">Kate Modelines</title>
                </info>
                <para xml:lang="en">The first and last ten lines a document are scanned for <application>Kate</application> modelines.</para>
                <para xml:lang="en">The <application>Kate</application> options for tab-width, indent-width, space-indent, word-wrap and word-wrap-column are supported. For more information, see the <link xlink:href="http://www.kate-editor.org/article/katepart_modelines">Kate website</link>.</para>
            </section>

            <section xml:id="pluma-modelines-plugin-vim">
                <info>
                    <title xml:lang="en">Vim Modelines</title>
                </info>
                <para xml:lang="en">The first and last three lines a document are scanned for <application>Vim</application> modelines.</para>
                <para xml:lang="en">The <application>Vim</application> options for et, expandtab, ts, tabstop, sw, shiftwidth, wrap, and textwidth are supported. For more information, see the <link xlink:href="http://vimdoc.sourceforge.net/htmldoc/options.html#modeline">Vim website</link>.</para>
            </section>
        </section>

        <section xml:id="pluma-python-console-plugin">
            <info>
                <title xml:lang="en">Python Console Plugin</title>
            </info>
            <para xml:lang="en">The <application>Python Console</application> Plugin allows you to run commands in the python programming language from <application>pluma</application>. Enabling the plugin adds a tab to the bottom pane. This shows recent output and a command prompt field.</para>
            <caution>
                <para xml:lang="en">Commands entered into the python console are not checked before they are run. It is therefore possible to hang <application>pluma</application>, for example by entering an infinite loop.</para>
            </caution>
        </section>

        <section xml:id="pluma-trailsave-plugin">
            <info>
                <title xml:lang="en">Save Without Trailing Spaces Plugin</title>
            </info>
            <para xml:lang="en">The <application>Save Without Trailing Spaces</application> Plugin removes whitespace characters such as space (<command>˽</command>), tab (<command>\t</command>), carriage returns (<command>\r</command>) etc. from the end of a line. To use the Save Without Trailing Spaces plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Enable the plugin as described in <xref linkend="pluma-prefs-plugins"/>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">When your document is ready, save it.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">You will see that any trailing whitespaces has been stripped after the document has been saved.</para>
                </listitem>
            </orderedlist>
        </section>

        <section xml:id="pluma-snippets-plugin">
            <info>
                <title xml:lang="en">Snippets Plugin</title>
            </info>
            <para xml:lang="en">The <application>Snippets</application> plugin allows you to store frequently-used pieces of text, called <firstterm>snippets</firstterm>, and insert them quickly into a document.</para>
            <para xml:lang="en">Snippets are specific to the language syntax of the current document. For example, when you are working with an HTML document, you can choose from a list of snippets that are useful for HTML. In addition, some snippets are global, and are available in all documents.</para>
            <para xml:lang="en">A number of built-in snippets are installed with <application>pluma</application>, which can be modified.</para>

            <section xml:id="pluma-snippets-plugin-insert">
                <info>
                    <title xml:lang="en">Inserting Snippets</title>
                </info>
                <para xml:lang="en">To insert a snippet into a document, type its <firstterm>tab trigger</firstterm> and press <keycap>Tab</keycap>. A snippet's tab trigger is usually the first few letters of the snippet, or something else that is short and easy to remember.</para>
                <para xml:lang="en">Alternatively, press <keycombo> <keycap>Ctrl</keycap> <keycap>Space</keycap> </keycombo> to see a list of snippets you can insert.</para>
            </section>

            <section xml:id="pluma-snippets-plugin-add">
                <info>
                    <title xml:lang="en">Adding Snippets</title>
                </info>
                <para xml:lang="en">To create a new snippet, do the following:</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para xml:lang="en">Choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Manage Snippets</guimenuitem> </menuchoice>. The <guilabel>Snippets Manager</guilabel> window opens.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">The list of snippets is grouped by language. Select the language you want to add a snippet to, or a snippet in that language group. To add a snippet for all languages, choose Global at the top of the list. The syntax of the document you are currently working with is shown by default.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Click <guibutton>New</guibutton>. A new snippet appears in the list.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Enter the following information for the new snippet:</para>
                        <variablelist>
                            <varlistentry>
                                <term>名称</term>
                                <listitem>
                                    <para xml:lang="en">Enter a name for the snippet in the text field within the snippet list. The name of a snippet serves only as a reminder of its purpose. You can change name of a snippet you create by clicking on it in the list.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">Snippet text</term>
                                <listitem>
                                    <para xml:lang="en">Enter the text of the snippet in the <guilabel>Edit snippet</guilabel> text box. For special codes you can use, see <xref linkend="pluma-snippets-plugin-syntax"/>.</para>
                                    <tip>
                                        <para xml:lang="en">You can switch back to the document window to copy text without closing the <guilabel>Snippets Manager</guilabel> window.</para>
                                    </tip>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">Tab Trigger</term>
                                <listitem>
                                    <para xml:lang="en">Enter the tab trigger for the snippet. This is the text that you type before pressing <keycap>Tab</keycap> to insert the snippet.</para>
                                    <para xml:lang="en">The tag must be either a single word comprising only letters, or any single character. The <guilabel>Tab trigger</guilabel> will highlight in red if an invalid tab trigger is entered.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">Shortcut key</term>
                                <listitem>
                                    <para xml:lang="en">Type a shortcut key to use for inserting the snippet.</para>
                                </listitem>
                            </varlistentry>
                        </variablelist>
                    </listitem>
                </orderedlist>
            </section>

            <section xml:id="pluma-snippets-plugin-edit">
                <info>
                    <title xml:lang="en">Editing and Removing Snippets</title>
                </info>
                <para xml:lang="en">To edit a snippet, select it in the list and make changes to its text and activation properties.</para>
                <para xml:lang="en">To rename a snippet, click it again in the list.</para>
                <para xml:lang="en">To restore a built-in snippet that you have changed, press <guilabel>Revert</guilabel>.</para>
                <para xml:lang="en">To remove a snippet, select it in the list and press <guibutton>Remove</guibutton>. You can not remove built-in snippets, only those you have created yourself.</para>
            </section>

            <section xml:id="pluma-snippets-plugin-syntax">
                <info>
                    <title xml:lang="en">Snippet Substitutions</title>
                </info>
                <para xml:lang="en">In addition to inserting stored text, a snippet can include customizable text, or mark spaces where you can add text once the snippet is inserted in your document.</para>
                <para xml:lang="en">You can use the following placeholder codes in snippet text:</para>
                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">Tab placeholders</term>
                        <listitem>
                            <para xml:lang="en"><literal>$<replaceable>n</replaceable></literal> defines a tab placeholder, where <literal>n</literal> is any number from 1 upwards. </para>
                            <para xml:lang="en"><literal>${<replaceable>n</replaceable>:<replaceable>default</replaceable>}</literal> defines a tab placeholder with a default value.</para>
                            <para xml:lang="en">A tab placeholder marks a place in the snippet text where you can add extra text after the snippet is inserted.</para>
                            <para xml:lang="en">To use tab placeholders, insert the snippet as normal. The cursor is placed at the first tab placeholder. Type text, and press <keycap>Tab</keycap> to advance to the next tab placeholder. The number in the placeholder code defines the order in which tab advances to each place in the text.</para>
                            <para xml:lang="en">Press <keycombo> <keycap>Shift</keycap> <keycap>Tab</keycap> </keycombo> to return to the previous tab placeholder. Pressing <keycap>Tab</keycap> when there are no more tab placeholders moves the cursor to the end of the snippet text, or to the end placeholder if it exists.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Mirror placeholders</term>
                        <listitem>
                            <para xml:lang="en">A repeated tab placeholder will mirror the placeholder already defined. This allows you to type in text only once that you want to appear several times in the snippet.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">End placeholder</term>
                        <listitem>
                            <para xml:lang="en"><literal>$0</literal> defines the end placeholder. This allows you to finish working with the snippet with the cursor at a point other than the end of the snippet text.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Environmental variables</term>
                        <listitem>
                            <para xml:lang="en">Environmental variable such as <literal>$PATH</literal> and <literal>$HOME</literal> are substituted in snippet text. The following variables specific to <application>pluma</application> can also be used:</para>
                            <variablelist>
                                <varlistentry>
                                    <term xml:lang="en">$PLUMA_SELECTED_TEXT</term>
                                    <listitem>
                                        <para xml:lang="en">The currently selected text.</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">$PLUMA_FILENAME</term>
                                    <listitem>
                                        <para xml:lang="en">The full filename of the document, or an empty string if the document isn't saved yet.</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">$PLUMA_BASENAME</term>
                                    <listitem>
                                        <para xml:lang="en">The basename of the filename of the document, or an empty string if the document isn't saved yet.</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">$PLUMA_CURRENT_WORD</term>
                                    <listitem>
                                        <para xml:lang="en">The word at the cursor's location in the document. When this variable is used, the current word will be replaced by the snippet text.</para>
                                    </listitem>
                                </varlistentry>
                            </variablelist>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Shell placeholders</term>
                        <listitem>
                            <para xml:lang="en"><literal>$(<replaceable>cmd</replaceable>)</literal> is replaced by the result of executing <replaceable>cmd</replaceable> in a shell. </para>
                            <para xml:lang="en"><literal>$(<replaceable>n</replaceable>:<replaceable>cmd</replaceable>)</literal> allows you to give this placeholder a reference, where <replaceable>n</replaceable> is any number from 1 upwards. Use <literal>$<replaceable>n</replaceable></literal> to use the output from one shell placeholder as input in another.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Python placeholders</term>
                        <listitem>
                            <para xml:lang="en"><literal>$&lt;<replaceable>cmd</replaceable>&gt;</literal> is replaced by the result of evaluating <replaceable>cmd</replaceable> in the python interpreter.</para>
                            <para xml:lang="en"><literal>$&lt;<replaceable>a</replaceable>:<replaceable>cmd</replaceable>&gt;</literal> specifies another python placeholder as a dependency, where <replaceable>a</replaceable> gives its order in the snippet. This allows you to use python functions defined in another snippet. To specify several dependencies, separate the numbers with commas thus: <literal>$&lt;<replaceable>a</replaceable>,<replaceable>b</replaceable>:<replaceable>cmd</replaceable>&gt;</literal></para>
                            <para xml:lang="en">To use a variable in all other python snippets, declare it as <literal>global</literal>.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>
        </section>

        <section xml:id="pluma-sort-plugin">
            <info>
                <title xml:lang="en">Sort Plugin</title>
            </info>
            <para xml:lang="en">The <application>Sort</application> plugin arranges selected lines of text into alphabetical order.</para>
            <para xml:lang="en">To use the Sort plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Select the lines of text you want to sort.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Sort</guimenuitem> </menuchoice>. The <guilabel>Sort</guilabel> dialog opens.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Choose the options you want for the sort:</para>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">To arrange the text in reverse order, select <guilabel>Reverse order</guilabel>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To delete duplicate lines, select <guilabel>Remove duplicates</guilabel>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To ignore case sensitivity, select <guilabel>Ignore case</guilabel>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To have the sort ignore the characters at the start of the lines, set the first character that should be used for sorting in the <guilabel>Start at column</guilabel> spin box.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
                <listitem>
                    <para xml:lang="en">To perform the sort operation, click <guibutton>Sort</guibutton>.</para>
                </listitem>
            </orderedlist>
        </section>

        <section xml:id="pluma-spell-checker-plugin">
            <info>
                <title xml:lang="en">Spell Checker Plugin</title>
            </info>
            <para xml:lang="en">The <application>Spell Checker</application> plugin checks the spelling in the selected text. You can configure <application>pluma</application> to check the spelling automatically, or you can check the spelling manually, in the specified language. The language setting, and the autocheck spelling properties, apply per document. To use the Spell checker plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Set Language</guimenuitem> </menuchoice> to display the <guilabel>Set language</guilabel> dialog. Select the appropriate language from the list. Click <guibutton>OK</guibutton> to close the <guilabel>Set language</guilabel> dialog.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To check the spelling automatically, choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Autocheck Spelling</guimenuitem> </menuchoice>. To unset the automatic spell check, choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Autocheck Spelling</guimenuitem> </menuchoice> again. When automatic spell checking is set, an icon is displayed beside the <guimenuitem>Autocheck Spelling</guimenuitem> menu item. Automatic spell checking is unset by default, each time <application>pluma</application> starts.</para>
                    <para xml:lang="en">Unknown spellings are displayed in a different color, and underlined. Right-click on an unknown spelling, then select <guimenu>Spelling Suggestions</guimenu> from the popup menu:</para>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">To replace the unknown spelling with another spelling in the list, select the replacement spelling from the <guimenu>Spelling Suggestions</guimenu> popup menu.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To add the unknown spelling to your personal dictionary, select <menuchoice> <guimenu>Spelling Suggestions</guimenu> <guimenuitem>Add</guimenuitem> </menuchoice>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To ignore all occurrences of the unknown spelling, so that they are no longer flagged as unknown but are not added to your personal dictionary, select <menuchoice> <guimenu>Spelling Suggestions</guimenu> <guimenuitem>Ignore All</guimenuitem> </menuchoice>. The unknown word is ignored in the current <application>pluma</application> session only.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
                <listitem>
                    <para xml:lang="en">To check the spelling manually, choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Check Spelling</guimenuitem> </menuchoice>.</para>
                    <para xml:lang="en">If there are no spelling errors, an <guilabel>Information</guilabel> dialog displays a message stating that the document does not contain misspelled words. Click <guibutton>OK</guibutton> to close the <guilabel>Information</guilabel> dialog.</para>
                    <para xml:lang="en">If there are spelling errors, the <guilabel>Check Spelling</guilabel> dialog is displayed:</para>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">The <guilabel>Misspelled word</guilabel> is displayed at the top of the dialog.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">A suggested known spelling is displayed in the <guilabel>Change to</guilabel> text box. You can replace this with another known spelling by selecting a spelling from the <guilabel>Suggestions</guilabel> list, or you can enter text directly into the <guilabel>Change to</guilabel> text box.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To check the spelling of the text in the <guilabel>Change to</guilabel> text box, click <guibutton>Check Word</guibutton>. If this is a known word, the <guilabel>Suggestions</guilabel> list is replaced with the text <literal>(correct spelling)</literal>. If the word is not known, new entries appear in the <guilabel>Suggestions</guilabel> list.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To ignore the current occurrence of the unknown word, click <guibutton>Ignore</guibutton>. To ignore all occurrences of the unknown word, click <guibutton>Ignore All</guibutton>. The unknown word is ignored in the current <application>pluma</application> session only.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To change the current occurrence of the unknown word to the text in the <guilabel>Change to</guilabel> text box, click <guibutton>Change</guibutton>. To change all occurrences of the unknown word to the text in the <guilabel>Change to</guilabel> text box, click <guibutton>Change All</guibutton>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To add the unknown word to your personal dictionary, click <guibutton>Add word</guibutton>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To close the <guilabel>Check Spelling</guilabel> dialog, click <guibutton>Close</guibutton>.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
            </orderedlist>
        </section>

        <section xml:id="pluma-tag-list-plugin">
            <info>
                <title xml:lang="en">Tag List Plugin</title>
            </info>
            <para><application>标签列表</application>插件允许您在侧边栏中插入列表中的普通标签。</para>
            <para xml:lang="en">To use the Tag List plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para>选择<menuchoice><guimenu>查看</guimenu><guimenuitem>侧边栏</guimenuitem></menuchoice>。</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">By default, the side pane shows a tab containing a list of open documents. Click on the tab showing a + icon at the bottom of the side pane to show the tag list tab.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Select the appropriate tag category from the drop-down list. For example, <guilabel>HTML - Tags</guilabel>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Scroll through the tag list to find the required tag.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To insert a tag at the cursor position in the current file, double-click on the tag in the tag list. You can also insert a tag as follows:</para>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">To insert a tag in the current file and change the focus from the side pane to the display area, press <keycap>Return</keycap>.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">To insert a tag in the current file and maintain the focus on the <guilabel>Tag list plugin</guilabel> window, press <keycombo> <keycap>Shift</keycap> <keycap>Return</keycap> </keycombo>.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
            </orderedlist>
        </section>
    </section>
</article>
