<?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="cy">
    <!-- please do not change the id; for translations, change lang to -->
    <!-- appropriate code -->
    <info>
        <title xml:lang="en">Pluma Manual</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 xml:lang="en">MATE Documentation Project</publishername>
        </publisher>
        <publisher>
            <publishername xml:lang="en">GNOME Documentation Project</publishername>
        </publisher>

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

        <authorgroup its:translate="no">
            <author>
                <orgname its:translate="yes" xml:lang="en">MATE Documentation Project</orgname>
                <affiliation>
                    <orgname its:translate="yes" xml:lang="en">MATE Desktop</orgname>
                </affiliation>
            </author>
            <author>
                <personname>
                    <firstname>Joachim</firstname>
                    <surname>Noreiko</surname>
                </personname>
            </author>
            <author>
                <orgname its:translate="yes" xml:lang="en">GNOME Documentation Project</orgname>
                <affiliation>
                    <orgname its:translate="yes" xml:lang="en">GNOME</orgname>
                </affiliation>
            </author>
            <author>
                <personname>
                    <firstname>Hal</firstname>
                    <surname>Canary</surname>
                </personname>
                <contrib its:translate="yes" xml:lang="en">Added the Shortcut Keys Table</contrib>
            </author>
            <author>
                <orgname its:translate="yes" xml:lang="en">Sun Java Desktop System Documentation Team</orgname>
                <affiliation>
                    <orgname its:translate="yes" xml:lang="en">Sun Microsystems</orgname>
                </affiliation>
                <email>gdocteam@sun.com</email>
            </author>
            <author>
                <personname>
                    <firstname>Eric</firstname>
                    <surname>Baudais</surname>
                </personname>
                <affiliation>
                    <orgname its:translate="yes" xml:lang="en">GNOME Documentation Project</orgname>
                </affiliation>
                <email>baudais@okstate.edu</email>
            </author>
            <othercredit role="other">
                <personname>
                    <firstname>Baris</firstname>
                    <surname>Cicek</surname>
                </personname>
                <contrib its:translate="yes" xml:lang="en">Provided information from earlier revisions of the pluma application.</contrib>
            </othercredit>
            <othercredit role="other">
                <personname>
                    <firstname>George</firstname>
                    <surname>Ajit</surname>
                </personname>
                <contrib its:translate="yes" xml:lang="en">Provided information about plugins.</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" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.0</revnumber>
                <date its:translate="yes" xml:lang="en">March 2002</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.1</revnumber>
                <date its:translate="yes" xml:lang="en">June 2002</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.2</revnumber>
                <date its:translate="yes" xml:lang="en">August 2002</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.3</revnumber>
                <date its:translate="yes" xml:lang="en">September 2002</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.4</revnumber>
                <date its:translate="yes" xml:lang="en">January 2003</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.5</revnumber>
                <date its:translate="yes" xml:lang="en">March 2003</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.6</revnumber>
                <date its:translate="yes" xml:lang="en">September 2003</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.7</revnumber>
                <date its:translate="yes" xml:lang="en">March 2004</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.8</revnumber>
                <date its:translate="yes" xml:lang="en">July 2015</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">Sun Java Desktop System Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>2.9</revnumber>
                <date its:translate="yes" xml:lang="en">July 2006</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">GNOME Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">GNOME Documentation Project</para>
                </revdescription>
            </revision>
            <revision>
                <revnumber>3.0</revnumber>
                <date its:translate="yes" xml:lang="en">July 2015</date>
                <revdescription>
                    <para role="author" its:translate="yes" xml:lang="en">MATE Documentation Team</para>
                    <para role="publisher" its:translate="yes" xml:lang="en">MATE Documentation Project</para>
                </revdescription>
            </revision>
        </revhistory>

        <releaseinfo xml:lang="en">This manual describes version 1.10 of pluma.</releaseinfo>

    </info>

    <indexterm xml:lang="en">
        <primary>pluma</primary>
    </indexterm>
    <indexterm xml:lang="en">
        <primary>text editor</primary>
    </indexterm>

    <!-- ============= Document Body ========================================= -->
    <!-- ============= Introduction ========================================== -->
    <section xml:id="pluma-intro">
        <info>
            <title xml:lang="en">Introduction</title>
        </info>
        <!-- removed ids, here as anchors to prevent possible breakage -->
        <anchor xml:id="pluma-customize-toolbar"/>
        <para xml:lang="en">The <application>pluma</application> application enables you to create and edit text files.</para>
        <para xml:lang="en">The aim of <application>pluma</application> is to be a simple and easy to use text editor. More powerful features can be enabled with different <firstterm>plugins</firstterm>, allowing a variety of tasks related to text-editing.</para>
    </section>

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

        <!-- ============= To Start pluma ==================================== -->
        <section xml:id="pluma-to-start">
            <info>
                <title xml:lang="en">Starting pluma</title>
            </info>
            <para xml:lang="en">You can start <application>pluma</application> in the following ways:</para>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <guimenu>Applications</guimenu> menu</term>
                    <listitem>
                        <para xml:lang="en">Choose <menuchoice> <guisubmenu>Accessories</guisubmenu> <guimenuitem>Pluma Text Editor</guimenuitem> </menuchoice>.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term>Llinell orchymyn</term>
                    <listitem>
                        <para xml:lang="en">Execute the following command: <command>pluma</command></para>
                    </listitem>
                </varlistentry>
            </variablelist>
            <para xml:lang="en">By default, when you open a text document in the file manager, pluma will start, and display the document.</para>
        </section>

        <section xml:id="pluma-when-you-start">
            <info>
                <title xml:lang="en">The pluma Window</title>
            </info>
            <para xml:lang="en">When you start <application>pluma</application>, the following window is displayed:</para>

            <figure xml:id="pluma-window" its:translate="no">
                <info>
                    <title its:translate="yes" xml:lang="en">pluma Window</title>
                </info>
                <screenshot>
                    <mediaobject>
                        <imageobject>
                            <imagedata fileref="figures/pluma_window.png" format="PNG"/>
                        </imageobject>
                        <textobject>
                            <phrase its:translate="yes" xml:lang="en">Shows pluma main window.</phrase>
                        </textobject>
                    </mediaobject>
                </screenshot>
            </figure>

            <para xml:lang="en">The <application>pluma</application> window contains the following elements:</para>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">Menubar</term>
                    <listitem>
                        <para xml:lang="en">The menus on the menubar contain all the commands you need to work with files in <application>pluma</application>.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">Toolbar</term>
                    <listitem>
                        <para xml:lang="en">The toolbar contains a subset of the commands that you can access from the menubar.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">Display area</term>
                    <listitem>
                        <para xml:lang="en">The display area contains the text of the file that you are editing.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">Statusbar</term>
                    <listitem>
                        <para xml:lang="en">The statusbar displays information about current <application>pluma</application> activity and contextual information about the menu items. The statusbar also displays the following information:</para>
                        <itemizedlist>
                            <listitem>
                                <para xml:lang="en">Cursor position: the line number and column number where the cursor is located.</para>
                            </listitem>
                            <listitem>
                                <para xml:lang="en">Edit mode: If the editor is in insert mode, the statusbar contains the text <guilabel>INS</guilabel>. If the editor is in overwrite mode, the statusbar contains the text <guilabel>OVR</guilabel>. Press the <keycap>Insert</keycap> key to change edit mode.</para>
                            </listitem>
                        </itemizedlist>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">Side Pane</term>
                    <listitem>
                        <para xml:lang="en">The side pane displays a list of open documents, and other information depending on which plugins are enabled.</para>
                        <para xml:lang="en">By default, the side pane is not shown. To show it, choose <menuchoice> <guimenu>View</guimenu> <guimenuitem>Side Pane</guimenuitem> </menuchoice>.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">Bottom Pane</term>
                    <listitem>
                        <para xml:lang="en">The bottom pane is used by programming tools such as the <application>Python Console</application> plugin to display output.</para>
                        <para xml:lang="en">By default, the bottom pane is not shown. To show it, choose <menuchoice> <guimenu>View</guimenu> <guimenuitem>Bottom Pane</guimenuitem> </menuchoice>.</para>
                    </listitem>
                </varlistentry>
            </variablelist>
            <para xml:lang="en">When you right-click in the <application>pluma</application> window, the application displays a popup menu. The popup menu contains the most common text editing commands.</para>
            <para xml:lang="en">Like other MATE applications, actions in <application>pluma</application> can be performed in several ways: with the menu, with the toolbar, or with shortcut keys. Shortcuts keys common to all applications are listed in the <link xlink:href="help:mate-user-guide/shortcuts-apps">User Guide</link>.</para>
        </section>

        <!-- ============= To Open Multiple Files from the Command Line ====== -->
        <section xml:id="pluma-run-from-cmd-line">
            <info>
                <title xml:lang="en">Running pluma from a Command Line</title>
            </info>
            <para xml:lang="en">You can run <application>pluma</application> from a command line and open a single file or multiple files. To open multiple files from a command line, type the following command, then press <keycap>Return</keycap>:</para>
            <para xml:lang="en">
                <command>pluma <replaceable>file1.txt file2.txt file3.txt</replaceable></command>
            </para>
            <para xml:lang="en">Alternatively, you can specify a URI instead of a filename.</para>
            <para xml:lang="en">Refer to the <link xlink:href="man:pluma"> <citerefentry> <refentrytitle>pluma</refentrytitle> <manvolnum>1</manvolnum> </citerefentry> </link> man page for more information on how to run <application>pluma</application> from a command line.</para>
        </section>
    </section>

    <!-- ================ Usage ============================================== -->
    <section xml:id="pluma-usage">
        <info>
            <title xml:lang="en">Working with Files</title>
        </info>

        <!-- ============= To Create a New File ============================== -->
        <section xml:id="pluma-create-new-file">
            <info>
                <title xml:lang="en">Creating a New Document</title>
            </info>
            <para xml:lang="en">To create a new document, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>New</guimenuitem> </menuchoice>. The application displays a new blank document in the <application>pluma</application> window.</para>
        </section>

        <!-- ============= To Open a File ==================================== -->
        <section xml:id="pluma-open-file">
            <info>
                <title xml:lang="en">Opening a File</title>
            </info>
            <para xml:lang="en">To open a file, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Open</guimenuitem> </menuchoice> to display the <guilabel>Open File</guilabel> dialog. Select the file that you want to open, then click <guibutton>Open</guibutton>. The file is displayed in the <application>pluma</application> window.</para>
            <para xml:lang="en">The application records the paths and filenames of the five most recent files that you edited and displays the files as menu items on the <menuchoice> <guimenu>File</guimenu> </menuchoice> menu. You can also click on the <inlinemediaobject its:translate="no">
                    <imageobject>
                        <imagedata fileref="figures/pluma_recent_files_menu_icon.png" format="PNG"/>
                    </imageobject>
                    <textobject>
                        <phrase its:translate="yes" xml:lang="en">Shows Recent Files menu icon.</phrase>
                    </textobject>
                </inlinemediaobject> icon on the toolbar to display the list of recent files.</para>
            <note>
                <para xml:lang="en">You can open multiple files in <application>pluma</application>. The application adds a tab for each open file to the window. For more on this see <xref linkend="pluma-tabs"/>.</para>
            </note>
            <tip>
                <para xml:lang="en">You can type the file location on <guilabel>Open File</guilabel> dialog. To switch between location entry and breadcrumbs, press <keycombo><keycap>Ctrl</keycap><keycap>l</keycap></keycombo>, <keycap>.</keycap>, <keycap>~</keycap> or <keycap>/</keycap>.</para>
            </tip>
        </section>

        <!-- ============= To Save a File ==================================== -->
        <section xml:id="pluma-save-file">
            <info>
                <title xml:lang="en">Saving a File</title>
            </info>
            <para xml:lang="en">You can save files in the following ways:</para>
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">To save changes to an existing file, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Save</guimenuitem> </menuchoice>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To save a new file or to save an existing file under a new filename, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Save As</guimenuitem> </menuchoice>. Enter a name for the file in the <guilabel>Save As</guilabel> dialog, then click <guibutton>Save</guibutton>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To save all the files that are currently open in <application>pluma</application>, choose <menuchoice> <guimenu>Documents</guimenu> <guimenuitem>Save All</guimenuitem> </menuchoice>.</para>
                </listitem>
            </itemizedlist>
            <para xml:lang="en">To close all the files that are currently open in <application>pluma</application>, choose <menuchoice> <guimenu>Documents</guimenu> <guimenuitem>Close All</guimenuitem> </menuchoice>.</para>
        </section>

        <!-- ============= Working with tabs ================================= -->
        <section xml:id="pluma-tabs">
            <info>
                <title xml:lang="en">Working With Tabs</title>
            </info>
            <para xml:lang="en">When more than one file is open, <application>pluma</application> shows a <firstterm>tab</firstterm> for each document above the display area. To switch to another document, click on its tab.</para>
            <para xml:lang="en">To move a document to another <application> pluma</application> window, drag the tab corresponding to the file to the window you want to move it to.</para>
            <para xml:lang="en">To move a document to a new <application> pluma</application> window, either drag its tab to the desktop, or choose <menuchoice> <guimenu>Documents</guimenu> <guimenuitem>Move to New Window</guimenuitem> </menuchoice>.</para>
        </section>

    </section>

    <section xml:id="working-with-text">
        <info>
            <title xml:lang="en">Working with Text</title>
        </info>

        <!-- ============= To Edit Text ====================================== -->
        <section xml:id="pluma-edit-text">
            <info>
                <title xml:lang="en">Editing Text</title>
            </info>
            <para xml:lang="en">You can edit the text of a file in the following ways:</para>
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">Type new text from the keyboard. The blinking <firstterm>insertion cursor</firstterm> marks the point where new text appears. To change this, use the arrow keys on the keyboard or click with the mouse.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To copy the selected text to the clipboard, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Copy</guimenuitem> </menuchoice>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To delete the selected text from the file and move the selected text to the clipboard, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Cut</guimenuitem> </menuchoice>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To permanently delete the selected text from the file, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Delete</guimenuitem> </menuchoice>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To insert the contents of the clipboard at the cursor position, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Paste</guimenuitem> </menuchoice>. You must cut or copy text before you can paste text into the file, either from pluma or another application.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To select all the text in a file, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Select All</guimenuitem> </menuchoice>.</para>
                </listitem>
            </itemizedlist>
        </section>

        <!-- ============== To Undo or Redo Edits ============================ -->
        <section xml:id="pluma-undo-redo-edits">
            <info>
                <title xml:lang="en">Undoing and Redoing Changes</title>
            </info>
            <para xml:lang="en">To undo a change you have made, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Undo</guimenuitem> </menuchoice>. To reverse this action, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Redo</guimenuitem> </menuchoice>.</para>
        </section>
    </section>

    <section xml:id="pluma-find">
        <info>
            <title xml:lang="en">Finding and Replacing</title>
        </info>
        <para xml:lang="en">In <application>pluma</application>, there are two ways of searching for text. You can use the <guilabel>Find</guilabel> dialog to search for a specific piece of text, or <guilabel>Incremental Search</guilabel> to highlight matching text as you type it.</para>

        <!-- ============= To Find Text ================================ -->
        <section xml:id="pluma-find-text">
            <info>
                <title xml:lang="en">Finding Text</title>
            </info>

            <para xml:lang="en">To search a file for a string of text, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice>
                            <guimenu>Search</guimenu>
                            <guimenuitem>Find</guimenuitem>
                        </menuchoice> to display the <guilabel>Find</guilabel> dialog.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Type the string that you want to find in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="pluma-find-escapes"/>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Click <guibutton>Find</guibutton> to search the file for the first occurrence of the string after your current cursor position. If <application>pluma</application> finds the string, the application selects first occurrence of the string. Other occurrences of the string are highlighted.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">To find the next occurrence of the string, click <guibutton>Find</guibutton> or choose <menuchoice>
                            <guimenu>Search</guimenu>
                            <guimenuitem>Find Next</guimenuitem>
                        </menuchoice>. To find the previous occurrence of the text, choose <menuchoice>
                            <guimenu>Search</guimenu>
                            <guimenuitem>Find Previous</guimenuitem>
                        </menuchoice>.</para>
                </listitem>
            </orderedlist>
            <para xml:lang="en">After you have closed the <guilabel>Find</guilabel> dialog, you can still move the selection to other occurrences of the text by choosing  <menuchoice>
                    <guimenu>Search</guimenu>
                    <guimenuitem>Find Next</guimenuitem>
                </menuchoice> and  <menuchoice>
                    <guimenu>Search</guimenu>
                    <guimenuitem>Find Previous</guimenuitem>
                </menuchoice>.</para>
            <para xml:lang="en">To remove the highlighting from the text, choose  <menuchoice>
                    <guimenu>Search</guimenu>
                    <guimenuitem>Clear Highlight</guimenuitem>
                </menuchoice>.</para>
             <para xml:lang="en">Refer to the <link xlink:href="man:pcrepattern"> <citerefentry> <refentrytitle>pcrepattern</refentrytitle> <manvolnum>3</manvolnum> </citerefentry> </link> for more information about the syntax and the semantics of the regular expressions supported on <guilabel>Find</guilabel>  dialog.</para>
        </section>

        <section xml:id="pluma-find-incremental">
            <info>
                <title xml:lang="en">Incremental Search</title>
            </info>


            <para xml:lang="en">Incremental search highlights matching text in the document as you type it letter by letter. (This is similar to the search feature in several web browsers.)</para>
            <para xml:lang="en">To start an incremental search, choose <menuchoice>
                    <guimenu>Search</guimenu>
                    <guimenuitem>Incremental Search</guimenuitem>
                </menuchoice>. The search box appears at the top of the display area. </para>
            <para xml:lang="en">Begin typing, and text that matches will be highlighted in the document. The first instance after the cursor position is also selected.</para>
            <para xml:lang="en">To advance the selection to the next match while keeping the incremental search box open, press <keycombo>
                    <keycap>Ctrl</keycap>
                    <keycap>G</keycap>
                </keycombo>. Press <keycombo>
                    <keycap>Ctrl</keycap>
                    <keycap>Shift</keycap>
                    <keycap>G</keycap>
                </keycombo> to go back to the previous match.</para>
            <tip>
                <para xml:lang="en">You can also use the up and down arrow keys or the mouse wheel to move the selection between matches.</para>
            </tip>
        </section>

        <!-- ============= To Find and Replace Text ========================== -->
        <section xml:id="pluma-find-replace-text">
            <info>
                <title xml:lang="en">Replacing Text</title>
            </info>
            <para xml:lang="en">To search a file for a string, and replace the string with an alternative string, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice>
                            <guimenu>Search</guimenu>
                            <guimenuitem>Replace</guimenuitem>
                        </menuchoice> to display the <guilabel>Replace</guilabel> dialog.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Type the string that you want to find, in the <guilabel>Search for</guilabel> field. You can include special characters such as a new line or tab: see <xref linkend="pluma-find-escapes"/>.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Type the string that you want to use to replace the string that you find, in the <guilabel>Replace with</guilabel> field.</para>
                </listitem>
            </orderedlist>

            <para xml:lang="en">To examine each occurrence of the string before replacing it, click <guibutton>Find</guibutton>. If <application>pluma</application> finds the string, the application selects the string. Click <guibutton>Replace</guibutton> to replace the selected occurrence of the string. To find the next occurrence of the string, click <guibutton>Find</guibutton> again.</para>
            <para xml:lang="en">To replace all occurrences of the string throughout the document, click <guibutton>Replace All</guibutton>.</para>
        </section>

        <!-- ============= Find and Replace Options ============================ -->
        <section xml:id="pluma-find-options">
            <info>
                <title xml:lang="en">Find and Replace Options</title>
            </info>

            <para xml:lang="en">The <guilabel>Find</guilabel> dialog and the <guilabel>Replace</guilabel> dialog both have the following options:</para>
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">Select the <guilabel>Match case</guilabel> option to only find occurrences of the string that match the case of the text that you type. For example, with <guilabel>Match case</guilabel> selected, "TEXT" will not match "text".</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Select the <guilabel>Match entire word only</guilabel> option to only find occurrences of the string that match the entire words of the text that you type. For example, with <guilabel>Match entire word only</guilabel> selected, "text" will not match "texture". <!-- translators, please make up your own example ;) --></para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Select the <guilabel>Search backwards</guilabel> option to search backwards towards the beginning of the document. </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Select the <guilabel>Wrap around</guilabel> option to search to one end of the document and then continue the search from the other end of the file. </para>
                </listitem>
            </itemizedlist>
        </section>

        <!-- ============= Special Characters ============================ -->
        <section xml:id="pluma-find-escapes">
            <info>
                <title xml:lang="en">Special Characters</title>
            </info>

            <para xml:lang="en">You can include the following escape sequences in the text to find or replace to represent special characters:</para>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <literal>\n</literal>
                    </term>
                    <listitem>
                        <para xml:lang="en">Specifies a new line.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <literal>\t</literal>
                    </term>
                    <listitem>
                        <para xml:lang="en">Specifies a tab character.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <literal>\r</literal>
                    </term>
                    <listitem>
                        <para xml:lang="en">Specifies a carriage return.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <literal>\\</literal>
                    </term>
                    <listitem>
                        <para xml:lang="en">The backslash character itself must be escaped if it is being searched for.
                            For example, if you are looking for the "<literal>\n</literal>" literal, you will
                            have to type "\\n" in the <guilabel>Search for</guilabel> field. Or if you are
                            looking for a sequence of backslashes, you will have to double the number of
                            searched backslashes.</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <!-- ============= To Position the Cursor on a Specific Line ========= -->
        <section xml:id="pluma-goto-line">
            <info>
                <title xml:lang="en">Positioning the Cursor on a Specific Line</title>
            </info>
            <para xml:lang="en">To position the cursor on a specific line in the current file, choose <menuchoice> <guimenu>Search</guimenu> <guimenuitem>Go to Line</guimenuitem> </menuchoice>. The line number box appears at the top of the display area.</para>
            <para xml:lang="en">Begin typing the number of the line that you want to move the cursor to and the document will scroll to the specified line.</para>
            <para xml:lang="en">To dismiss the box and move the cursor to the specified line, press <keycap>Return</keycap>.</para>
        </section>
    </section>

    <section xml:id="pluma-printing">
        <info>
            <title xml:lang="en">Printing</title>
        </info>

        <!-- ============= To Set the Page Options =========================== -->
        <section xml:id="pluma-page-setup">
            <info>
                <title xml:lang="en">Setting the Page Options</title>
            </info>

            <para xml:lang="en">To set the page options, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Page Setup</guimenuitem> </menuchoice> to display the <guilabel>Page Setup</guilabel> dialog.</para>

            <para xml:lang="en">The <guilabel>Page Setup</guilabel> dialog enables you to specify the following print options:</para>

            <section xml:id="pluma-page-setup-general">
                <info>
                    <title xml:lang="en">General Tabbed Section</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Print syntax highlighting</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Select this option to print syntax highlighting. For more information about syntax highlighting, see <xref linkend="pluma-set-highlightmode"/>.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Print page headers</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Select this option to include a header on each page that you print. You cannot configure the header. </para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Line Numbers</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Select the <guilabel>Print line numbers</guilabel> option to include line numbers when you print a file.</para>
                            <para xml:lang="en">Use the <guilabel>Number every ... lines </guilabel> spin box to specify how often to print the line numbers, for example every 5 lines, every 10 lines, and so on.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Text Wrapping</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Select the <guilabel>Enable text wrapping</guilabel> option to wrap text onto the next line, at a character level, when you print a file. The application counts wrapped lines as one line for line numbering purposes.</para>
                            <para xml:lang="en">Select the <guilabel>Do not split words over two lines</guilabel> option to wrap text onto the next line, at a word level, when you print a file.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="pluma-page-setup-fonts">
                <info>
                    <title>Ffontiau</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Body</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Click on this button to select the font used to print the body text of a file.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Line numbers</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Click on this button to select the font used to print line numbers.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Headers and footers</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Click on this button to select the font to use to print the headers and footers in a file.  </para>
                        </listitem>
                    </varlistentry>
                </variablelist>
                <para xml:lang="en">To reset the fonts to the default fonts for printing a file from <application>pluma</application>, click <guibutton>Restore Default Fonts</guibutton>.</para>
            </section>
        </section>

        <!-- ============= To Print a File ============================ -->
        <section xml:id="pluma-print-file">
            <info>
                <title xml:lang="en">Printing a Document</title>
            </info>
            <para xml:lang="en">You can use <application>pluma</application> to perform the following print operations:</para>
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">Print a document to a printer. </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">Print the output of the print command to a file.</para>
                </listitem>
            </itemizedlist>
            <para xml:lang="en">If you print to a file, <application>pluma</application> sends the output of the file to a pre-press format file. The most common pre-press formats are PostScript and Portable Document Format (PDF).</para>
            <para xml:lang="en">To preview the pages that you want to print, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Print Preview</guimenuitem> </menuchoice>.</para>
            <para xml:lang="en">To print the current file to a printer or a file, choose <menuchoice> <guimenu>File</guimenu> <guimenuitem>Print</guimenuitem> </menuchoice> to display the <guilabel>Print</guilabel> dialog.</para>
            <para xml:lang="en">The <guilabel>Print</guilabel> dialog enables you to specify the following print options:</para>

            <section xml:id="print-dialog-job">
                <info>
                    <title xml:lang="en">Job Tabbed Section</title>
                </info>
                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Print range</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Select one of the following options to determine how many pages to print:</para>
                            <itemizedlist>
                                <listitem>
                                    <para xml:lang="en">
                                        <guilabel>All</guilabel>
                                    </para>
                                    <para xml:lang="en">Select this option to print all the pages in the file.</para>
                                </listitem>
                                <listitem>
                                    <para xml:lang="en">
                                        <guilabel>Lines</guilabel>
                                    </para>
                                    <para xml:lang="en">Select this option to print the specified lines only. Use the <guilabel>From</guilabel> and <guilabel>To</guilabel> spin boxes to specify the line range.</para>
                                </listitem>
                                <listitem>
                                    <para xml:lang="en">
                                        <guilabel>Selection</guilabel>
                                    </para>
                                    <para xml:lang="en">Select this option to print the selected text only. This option is only available if you select text.</para>
                                </listitem>
                            </itemizedlist>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Copies</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use the <guilabel>Number of copies</guilabel> spin box to specify the number of copies of the file that you want to print.</para>
                            <para xml:lang="en">If you print multiple copies of the file, select the <guilabel>Collate</guilabel> option to collate the printed copies.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="print-dialog-printer">
                <info>
                    <title xml:lang="en">Printer Tabbed Section</title>
                </info>

                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Printer</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the printer to which you want to print the file.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Settings</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the printer settings.</para>
                            <para xml:lang="en">To configure the printer, click <guibutton>Configure</guibutton>. For example, you can enable or disable duplex printing, or schedule delayed printing, if this functionality is supported by the printer.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Location</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select one of the following print destinations:</para>
                            <variablelist>
                                <varlistentry>
                                    <term xml:lang="en">
                                        <guilabel>CUPS</guilabel>
                                    </term>
                                    <listitem>
                                        <para xml:lang="en">Print the file to a CUPS printer.</para>
                                        <note>
                                            <para xml:lang="en">If the selected printer is a CUPS printer, <guilabel>CUPS</guilabel> is the only entry in this drop-down list.</para>
                                        </note>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">
                                        <guilabel>lpr</guilabel>
                                    </term>
                                    <listitem>
                                        <para xml:lang="en">Print the file to a printer.</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">
                                        <guilabel>File</guilabel>
                                    </term>
                                    <listitem>
                                        <para xml:lang="en">Print the file to a PostScript file.</para>
                                        <para xml:lang="en">Click <guibutton>Save As</guibutton> to display a dialog where you specify the name and location of the PostScript file.</para>
                                    </listitem>
                                </varlistentry>
                                <varlistentry>
                                    <term xml:lang="en">
                                        <guilabel>Custom</guilabel>
                                    </term>
                                    <listitem>
                                        <para xml:lang="en">Use the specified command to print the file.</para>
                                        <para xml:lang="en">Type the name of the command in the text box. Include all command-line arguments.</para>
                                    </listitem>
                                </varlistentry>
                            </variablelist>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>State</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">This functionality is not supported in this version of pluma.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Type</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">This functionality is not supported in this version of pluma.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Comment</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">This functionality is not supported in this version of pluma.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>

            <section xml:id="print-dialog-paper">
                <info>
                    <title xml:lang="en">Paper Tabbed Section</title>
                </info>

                <variablelist>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Paper size</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the size of the paper to which you want to print the file.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Width</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this spin box to specify the width of the paper. Use the adjacent drop-down list to change the measurement unit.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Height</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this spin box to specify the height of the paper.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Feed orientation</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the orientation of the paper in the printer.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Page orientation</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the page orientation.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Layout</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the page layout. A preview of each layout that you select is displayed in the <guilabel>Preview</guilabel> area.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">
                            <guilabel>Paper tray</guilabel>
                        </term>
                        <listitem>
                            <para xml:lang="en">Use this drop-down list to select the paper tray.</para>
                        </listitem>
                    </varlistentry>
                </variablelist>
            </section>
        </section>
    </section>

    <section xml:id="pluma-programming-features">
        <info>
            <title xml:lang="en">Programming Features</title>
        </info>
        <para xml:lang="en">Several of <application>pluma</application>'s features for programming are provided with plugins. For example, the Tag List plugin provides a list of commonly-used tags for different markup languages: see <xref linkend="pluma-tag-list-plugin"/>.</para>

        <!-- ============= Syntax Highlighting ============================== -->
        <section xml:id="pluma-set-highlightmode">
            <info>
                <title xml:lang="en">Syntax Highlighting</title>
            </info>

            <para xml:lang="en">Syntax highlighting makes source code easier to read by showing different parts of the text in different colors.</para>
            <para xml:lang="en"><application>pluma</application> chooses an appropriate syntax highlighting mode based on a document's type. To override the syntax highlighting mode, choose <menuchoice> <guimenu>View</guimenu> <guimenuitem>Highlight Mode</guimenuitem> </menuchoice>, then choose one of the following menu items:</para>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <guimenuitem>Normal</guimenuitem>
                    </term>
                    <listitem>
                        <para xml:lang="en">Do not display any syntax highlighting.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guisubmenu>Sources</guisubmenu>
                    </term>
                    <listitem>
                        <para xml:lang="en">Display syntax highlighting to edit source code. Use the <guisubmenu>Sources</guisubmenu> submenu to select the source code type.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guisubmenu>Markup</guisubmenu>
                    </term>
                    <listitem>
                        <para xml:lang="en">Display syntax highlighting to edit markup code. Use the <guisubmenu>Markup</guisubmenu> submenu to select the markup code type.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guisubmenu>Scripts</guisubmenu>
                    </term>
                    <listitem>
                        <para xml:lang="en">Display syntax highlighting to edit script code. Use the <guisubmenu>Scripts</guisubmenu> submenu to select the script code type.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guisubmenu>Others</guisubmenu>
                    </term>
                    <listitem>
                        <para xml:lang="en">Display syntax highlighting to edit other types of code. Use the <guisubmenu>Others</guisubmenu> submenu to select the code type.</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <!-- ============= To Pipe the Output of a Command to a File ========= -->
        <section xml:id="pluma-pipe-output">
            <info>
                <title xml:lang="en">Piping the Output of a Command to a File</title>
            </info>
            <para xml:lang="en">You can use <application>pluma</application> to pipe the output of a command to a text file. For example, to pipe the output of an <command>ls</command> command to a text file, type <command>ls | pluma</command>, then press <keycap>Return</keycap>.</para>
            <para xml:lang="en">The output of the <command>ls</command> command is displayed in a new text file in the <application>pluma</application> window.</para>
            <para xml:lang="en">Alternatively, you can use the <application>External tools</application> plugin to pipe command output to the current file. <!-- fixme: xref needed! --></para>
        </section>
    </section>

    <!-- ================ Shortcut Keys ====================================== -->
    <section xml:id="pluma-shortcutkeys">
        <info>
            <title xml:lang="en">Shortcut Keys</title>
        </info>
        <para xml:lang="en">Use shortcut keys to perform common tasks more quickly than with the mouse and menus. The following tables list all of <application>pluma</application>'s shortcut keys.</para>
        <para xml:lang="en">For more on shortcut keys, see the <link xlink:href="help:mate-user-guide/keyboard-skills">Desktop User Guide</link>.</para>

        <!-- ============= Tabs ======================== -->
        <bridgehead>Tabiau</bridgehead>
        <para xml:lang="en">Shortcuts for tabs:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Alt + PageUp</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Switches to the next tab to the left.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Alt + PageDown</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Switches to the next tab to the right.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + W</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Close tab.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + L</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Save all tabs.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + W</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Close all tabs. </para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + n</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Jump to nth tab.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Files ======================== -->
        <bridgehead xml:lang="en">Files</bridgehead>
        <para xml:lang="en">Shortcuts for working with files:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + N</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Create a new document.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + O</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Open a document.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + S</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Save the current document to disk.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + S</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Save the current document with a new filename.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + P</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Print the current document.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + P</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Print preview.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + W</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Close the current document.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Q</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Quit Pluma.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Edit ======================= -->
        <bridgehead>Golygu</bridgehead>
        <para xml:lang="en">Shortcuts for editing documents:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Z</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Undo the last action.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + Z</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Redo the last undone action .</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + X</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Cut the selected text or region and place it on the clipboard.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + C</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Copy the selected text or region onto the clipboard.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + V</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Paste the contents of the clipboard.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + A</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Select all.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + D</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Delete current line.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + U</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Change case to uppercase.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + L</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Change case to lowercase.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + U</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Toggle case of each character.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + L</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Capitalize each word.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + Up</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Move the selected line up one line.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + Down</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Move the selected line down one line.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Tab</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Increase indent of the selected lines.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Shift + Tab</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Decrease indent of the selected lines.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= View ======================= -->
        <bridgehead>Golwg</bridgehead>
        <para xml:lang="en">Shortcuts for the current view:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Y</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Show/hide line numbers.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Panes ======================= -->
        <bridgehead xml:lang="en">Panes</bridgehead>
        <para xml:lang="en">Shortcuts for showing and hiding panes:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">F9</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Show/hide the side pane.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + F9</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Show/hide the bottom pane.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Search ======================= -->
        <bridgehead>Chwilio</bridgehead>
        <para xml:lang="en">Shortcuts for searching:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + F</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Find a string.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + G</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Find the next instance of the string.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + G</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Find the previous instance of the string.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + K</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Interactive search.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + H</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Search and replace.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + K</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Clear highlight.</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + I</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Goto line.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Tools ======================= -->
        <bridgehead xml:lang="en">Tools</bridgehead>
        <para xml:lang="en">Shortcuts for tools:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Shift + F7</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Check spelling (with plugin).</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Alt + F12</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Remove trailing spaces (with plugin).</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + T</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Indent (with plugin).</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + T</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Remove Indent (with plugin).</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">F8</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Run "make" in current directory (with plugin).</para>
                        </entry>
                    </row>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">Ctrl + Shift + D</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Directory listing (with plugin).</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>

        <!-- ============= Help ======================= -->
        <bridgehead>Cymorth</bridgehead>
        <para xml:lang="en">Shortcuts for help:</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 xml:lang="en">Shortcut Key</para>
                        </entry>
                        <entry colname="COLSPEC1" align="left">
                            <para>Gorchymyn</para>
                        </entry>
                    </row>
                </thead>
                <tbody>
                    <row valign="top">
                        <entry>
                            <para xml:lang="en">F1</para>
                        </entry>
                        <entry>
                            <para xml:lang="en">Open <application>pluma</application>'s user manual.</para>
                        </entry>
                    </row>
                </tbody>
            </tgroup>
        </informaltable>
    </section>

    <!-- ============= Preferences ============================= -->
    <section xml:id="pluma-prefs">
        <info>
            <title>Hoffterau</title>
        </info>
        <para xml:lang="en">To configure <application>pluma</application>, choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>. The <guilabel>Preferences</guilabel> dialog contains the following categories:</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 xml:lang="en">View Preferences</title>
            </info>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Text Wrapping</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Enable text wrapping</guilabel> option to have long lines of text flow into paragraphs instead of running off the edge of the text window. This avoids having to scroll horizontally</para>
                        <para xml:lang="en">Select the <guilabel>Do not split words over two lines</guilabel> option to have the text wrapping option preserve whole words when flowing text to the next line. This makes text easier to read.</para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Line Numbers</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Display line numbers</guilabel> option to display line numbers on the left side of the <application>pluma</application> window. </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Current Line</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Highlight current line</guilabel> option to highlight the line where the cursor is placed. </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Right Margin</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Display right margin</guilabel> option to display a vertical line that indicates the right margin. </para>
                        <para xml:lang="en">Use the <guilabel>Right margin at column</guilabel> spin box to specify the location of the vertical line. </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Bracket Matching</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Highlight matching bracket</guilabel> option to highlight the corresponding bracket when the cursor is positioned on a bracket character. </para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-editor">
            <info>
                <title xml:lang="en">Editor Preferences</title>
            </info>
            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Tabs</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Use the <guilabel>Tab width</guilabel> spin box to specify the width of the space that <application> pluma</application> inserts when you press the <keycap>Tab</keycap> key. </para>
                        <para xml:lang="en">Select the <guilabel>Insert spaces instead of tabs</guilabel> option to specify that <application> pluma</application> inserts spaces instead of a tab character when you press the <keycap>Tab</keycap> key. </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Auto Indentation</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Enable auto indentation</guilabel> option to specify that the next line starts at the indentation level of the current line.  </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>File Saving</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Create a backup copy of files before saving</guilabel> option to create a backup copy of a file each time you save the file. The backup copy of the file contains a ~ at the end of the filename.</para>
                        <para xml:lang="en">Select the <guilabel>Autosave files every ... minutes</guilabel> option to automatically save the current file at regular intervals. Use the spin box to specify how often you want to save the file.</para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-fontsandcolors">
            <info>
                <title xml:lang="en">Font &amp; Colors Preferences</title>
            </info>

            <variablelist>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Font</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Use default theme font</guilabel> option to use the default system font for the text in the <application>pluma</application> text window. </para>
                        <para xml:lang="en">The <guilabel>Editor font</guilabel> field displays the font that <application>pluma</application> uses to display text. Click on the button to specify the font type, style, and size to use for text. </para>
                    </listitem>
                </varlistentry>
                <varlistentry>
                    <term xml:lang="en">
                        <guilabel>Color Scheme</guilabel>
                    </term>
                    <listitem>
                        <para xml:lang="en">You can choose a color scheme from the list of color schemes. By default, the following color schemes are installed:</para>
                        <variablelist>
                            <varlistentry>
                                <term xml:lang="en">
                                    <guilabel>Classic</guilabel>
                                </term>
                                <listitem>
                                    <para xml:lang="en">Classic color scheme based on the gvim color scheme.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">
                                    <guilabel>Cobalt</guilabel>
                                </term>
                                <listitem>
                                    <para xml:lang="en">Blue based color scheme.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">
                                    <guilabel>Kate</guilabel>
                                </term>
                                <listitem>
                                    <para xml:lang="en">Color scheme used in the Kate text editor.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">
                                    <guilabel>Oblivion</guilabel>
                                </term>
                                <listitem>
                                    <para xml:lang="en">Dark color scheme using the Tango color palette.</para>
                                </listitem>
                            </varlistentry>
                            <varlistentry>
                                <term xml:lang="en">
                                    <guilabel>Tango</guilabel>
                                </term>
                                <listitem>
                                    <para xml:lang="en">Color scheme using the Tango color scheme.</para>
                                </listitem>
                            </varlistentry>
                        </variablelist>
                        <para xml:lang="en">You can add a new color scheme by clicking on <guilabel>Add...</guilabel>, and selecting a color scheme file</para>
                        <para xml:lang="en">You can remove the selected color scheme by clicking on <guilabel>Remove</guilabel></para>
                    </listitem>
                </varlistentry>
            </variablelist>
        </section>

        <section xml:id="pluma-prefs-plugins">
            <info>
                <title xml:lang="en">Plugins Preferences</title>
            </info>
            <para xml:lang="en">Plugins add extra features to <application>pluma</application>. For more information on plugins and how to use the built-in plugins, see <xref linkend="pluma-plugins-overview"/>.</para>

            <!-- ============= To Load pluma Plugins ========================= -->
            <section xml:id="pluma-install-plugins">
                <info>
                    <title xml:lang="en">Enabling a Plugin</title>
                </info>
                <para xml:lang="en">To enable a <application>pluma</application> plugin, perform the following steps:</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para xml:lang="en">Choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Plugins</guilabel> tab.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select the check box next to the name of the plugin that you want to enable.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Click <guibutton>Close</guibutton> to close the <guilabel>Preferences</guilabel> dialog.</para>
                    </listitem>
                </orderedlist>
            </section>

            <!-- ============= To Remove pluma Plugins ========================= -->
            <section xml:id="pluma-remove-plugins">
                <info>
                    <title xml:lang="en">Disabling a Plugin</title>
                </info>

                <para xml:lang="en">A plugin remains enabled when you quit <application>pluma</application>. </para>
                <para xml:lang="en">To disable a <application>pluma</application> plugin, perform the following steps:</para>
                <orderedlist inheritnum="ignore" continuation="restarts">
                    <listitem>
                        <para xml:lang="en">Choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Plugins</guilabel> tab. </para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Deselect the check box next to the name of the plugin that you want to disable.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Click <guibutton>Close</guibutton> to close the <guilabel>Preferences</guilabel> dialog. </para>
                    </listitem>
                </orderedlist>
            </section>
        </section>
    </section>

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

        <section xml:id="pluma-plugins-overview">
            <info>
                <title xml:lang="en">Working with Plugins</title>
            </info>
            <para xml:lang="en">You can add extra features to <application>pluma</application> by enabling <firstterm>plugins</firstterm>. A plugin is a supplementary program that enhances the functionality of an application. Plugins add new items to the <application>pluma</application> menus for the new features they provide.
            </para>
            <para xml:lang="en">Several plugins come built-in with <application>pluma</application>.</para>
            <para xml:lang="en">To enable and disable plugins, or see which plugins are currently enabled, use the <xref linkend="pluma-prefs-plugins"/>.</para>
            <para xml:lang="en">The following plugins come built-in with <application>pluma</application>:</para>
            <!-- Not yet documented:
                    File browser
            -->
            <itemizedlist>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-document-statistics-plugin"/> shows the number of lines, words, and characters in the document.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-external-tools-plugin"/> allows you to execute external commands from <application>pluma</application>.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-file-browser-plugin"/> allows you to browse your files and folders in the side pane.</para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-indent-lines-plugin"/> adds or removes indentation from the selected lines.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-insert-date-time-plugin"/> adds the current date and time into a document.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-modelines-plugin"/> allows you to set editing preferences for individual documents, and supports <application>Emacs</application>, <application>Kate</application> and <application>Vim</application>-style modelines.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-python-console-plugin"/> allows you to run commands in the python programming language.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-trailsave-plugin"/> allows you to strip trailing whitespaces in your document after saving.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-snippets-plugin"/> allows you to store frequently-used pieces of text and insert them quickly into a document.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-sort-plugin"/> arranges selected lines of text into alphabetical order.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-spell-checker-plugin"/> corrects the spelling in the selected text, or marks errors automatically in the document.
                    </para>
                </listitem>
                <listitem>
                    <para xml:lang="en">
                        <xref linkend="pluma-tag-list-plugin"/> lets you insert commonly-used tags for HTML and other languages from a list in the side pane.
                    </para>
                </listitem>
            </itemizedlist>

            <note>
                <para xml:lang="en">For more information on creating plugins, see <link xlink:href="https://github.com/mate-desktop/pluma/tree/master/plugins"/>.</para>
            </note>
        </section>

        <section xml:id="pluma-document-statistics-plugin">
            <info>
                <title xml:lang="en">Document Statistics Plugin</title>
            </info>

            <para xml:lang="en">The <application>Document Statistics</application> plugin counts the number of lines, words, characters with spaces, characters without spaces, and bytes in the current file. The plugin displays the results in a <guilabel>Document Statistics</guilabel> dialog. To use the Document Statistics plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice> <guimenu>Tools</guimenu> <guimenuitem>Document Statistics</guimenuitem> </menuchoice> to display the <guilabel>Document Statistics</guilabel> dialog. The <guilabel>Document Statistics</guilabel> dialog displays the following information about the file:</para>
                    <itemizedlist>
                        <listitem>
                            <para xml:lang="en">Number of lines in the current document.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">Number of words in the current document.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">Number of characters, including spaces, in the current document.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">Number of characters, not including spaces, in the current document.</para>
                        </listitem>
                        <listitem>
                            <para xml:lang="en">Number of bytes in the current document.</para>
                        </listitem>
                    </itemizedlist>
                </listitem>
                <listitem>
                    <para xml:lang="en">You can continue to update the <application>pluma</application> file while the <guilabel>Document Statistics</guilabel> dialog is open. To refresh the contents of the <guilabel>Document Statistics</guilabel> dialog, click <guibutton>Update</guibutton>.</para>
                </listitem>
            </orderedlist>
        </section>

        <section xml:id="pluma-external-tools-plugin">
            <info>
                <title xml:lang="en">External Tools Plugin</title>
            </info>
            <para xml:lang="en">The <application>External Tools</application> plugin allows you to execute external commands from <application>pluma</application>. You can pipe some content into a command and exploit its output (for example, <application>sed</application>), or launch a predefined command (for example, <application>make</application>).</para>
            <para xml:lang="en">Use the <guilabel>External Tools Manager</guilabel> to create and edit commands. To run an external command, choose it from the <guimenu>Tools</guimenu> menu.</para>

            <section xml:id="pluma-external-tools-plugin-builtin">
                <info>
                    <title xml:lang="en">Built-in Commands</title>
                </info>
                <para xml:lang="en">The following commands are provided with the <application>External Tools</application> plugin:</para>
                <variablelist>
                    <varlistentry>
                        <term>Adeiladu</term>
                        <listitem>
                            <para xml:lang="en">Runs <application>make</application> in the current document's directory.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Directory Listing</term>
                        <listitem>
                            <para xml:lang="en">Lists the contents of the current document's directory in a new document.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Environment Variables</term>
                        <listitem>
                            <para xml:lang="en">Displays the environment variables list in the bottom pane.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Grep</term>
                        <listitem>
                            <para xml:lang="en">Searches for a term in all files in the current document directory, using pattern matching. Results are shown in the bottom pane.</para>
                        </listitem>
                    </varlistentry>
                    <varlistentry>
                        <term xml:lang="en">Remove Trailing Spaces</term>
                        <listitem>
                            <para xml:lang="en">Removes all spaces from the end of lines in the document.</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>Disgrifiad</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>Mewnbwn</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>Allbwn</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 xml:lang="en">To view the File Browser, choose <menuchoice> <guimenu>View</guimenu> <guimenuitem>Side Pane</guimenuitem> </menuchoice> and then click on the tab showing the File Browser icon at the bottom of the side pane.</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 xml:lang="en">Opening a File</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 xml:lang="en">Choose <menuchoice> <guimenu>Edit</guimenu> <guimenuitem>Preferences</guimenuitem> </menuchoice>.</para>
                    </listitem>
                    <listitem>
                        <para xml:lang="en">Select the <guilabel>Plugins</guilabel> tab.</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 xml:lang="en">Text Wrapping</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>Enw</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 xml:lang="en">The <application>Tag List</application> plugin allows you to insert common tags from a list in the side pane.</para>
            <para xml:lang="en">To use the Tag List plugin, perform the following steps:</para>
            <orderedlist inheritnum="ignore" continuation="restarts">
                <listitem>
                    <para xml:lang="en">Choose <menuchoice> <guimenu>View</guimenu> <guimenuitem>Side Pane</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>
