summaryrefslogtreecommitdiffstats
path: root/help/C
diff options
context:
space:
mode:
Diffstat (limited to 'help/C')
-rw-r--r--help/C/figures/gedit-html-snippet.pngbin0 -> 3139 bytes
-rw-r--r--help/C/figures/gedit-icon.pngbin0 -> 815 bytes
-rw-r--r--help/C/figures/gedit3-screenshot.pngbin0 -> 14022 bytes
-rw-r--r--help/C/gedit-brief-intro.page30
-rw-r--r--help/C/gedit-change-color-scheme.page46
-rw-r--r--help/C/gedit-change-default-font.page32
-rw-r--r--help/C/gedit-close-file.page21
-rw-r--r--help/C/gedit-create-new-file.page22
-rw-r--r--help/C/gedit-edit-as-root.page37
-rw-r--r--help/C/gedit-files-basic.page15
-rw-r--r--help/C/gedit-full-screen.page46
-rw-r--r--help/C/gedit-general-intro.page97
-rw-r--r--help/C/gedit-open-file.page26
-rw-r--r--help/C/gedit-open-files-from-sidepane.page63
-rw-r--r--help/C/gedit-open-on-server.page46
-rw-r--r--help/C/gedit-open-recent.page27
-rw-r--r--help/C/gedit-open-several-files-at-once.page30
-rw-r--r--help/C/gedit-plugin-guide.page41
-rw-r--r--help/C/gedit-plugins-change-case.page44
-rw-r--r--help/C/gedit-plugins-doc-stats.page34
-rw-r--r--help/C/gedit-plugins-external-tools.page37
-rw-r--r--help/C/gedit-plugins-file-browser.page39
-rw-r--r--help/C/gedit-plugins-insert-date-time.page39
-rw-r--r--help/C/gedit-plugins-install.page55
-rw-r--r--help/C/gedit-plugins-modelines.page91
-rw-r--r--help/C/gedit-plugins-pyconsole.page24
-rw-r--r--help/C/gedit-plugins-quick-open.page54
-rw-r--r--help/C/gedit-plugins-snippets.page176
-rw-r--r--help/C/gedit-plugins-sort.page74
-rw-r--r--help/C/gedit-printing-order.page58
-rw-r--r--help/C/gedit-printing-select.page32
-rw-r--r--help/C/gedit-printing.page116
-rw-r--r--help/C/gedit-save-file.page20
-rw-r--r--help/C/gedit-search-and-replace.page122
-rw-r--r--help/C/gedit-search.page44
-rw-r--r--help/C/gedit-spellcheck.page117
-rw-r--r--help/C/gedit-syntax-highlighting.page27
-rw-r--r--help/C/gedit-tab-groups.page53
-rw-r--r--help/C/gedit-tabs.page98
-rw-r--r--help/C/gedit-undo-redo.page22
-rw-r--r--help/C/index.page33
41 files changed, 1988 insertions, 0 deletions
diff --git a/help/C/figures/gedit-html-snippet.png b/help/C/figures/gedit-html-snippet.png
new file mode 100644
index 0000000..5c11e65
--- /dev/null
+++ b/help/C/figures/gedit-html-snippet.png
Binary files differ
diff --git a/help/C/figures/gedit-icon.png b/help/C/figures/gedit-icon.png
new file mode 100644
index 0000000..fb37579
--- /dev/null
+++ b/help/C/figures/gedit-icon.png
Binary files differ
diff --git a/help/C/figures/gedit3-screenshot.png b/help/C/figures/gedit3-screenshot.png
new file mode 100644
index 0000000..81d54ee
--- /dev/null
+++ b/help/C/figures/gedit3-screenshot.png
Binary files differ
diff --git a/help/C/gedit-brief-intro.page b/help/C/gedit-brief-intro.page
new file mode 100644
index 0000000..86658b1
--- /dev/null
+++ b/help/C/gedit-brief-intro.page
@@ -0,0 +1,30 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="gedit-brief-intro">
+
+ <info>
+ <link type="guide" xref="index" group="intro-first" />
+ </info>
+
+ <title>A brief introduction to gedit</title>
+
+ <p>
+ <app>gedit</app> is an easy-to-use and general-purpose text editor. Its
+ development started in 1998, at the beginnings of the
+ <link href="https://www.gnome.org/">GNOME</link> project, with a good
+ integration with that desktop environment.
+ </p>
+
+ <p>
+ You can use it to write simple notes and documents, or you can enable more
+ advanced features that are useful for software development.
+ </p>
+
+ <media type="image" mime="image/png" src="figures/gedit3-screenshot.png"/>
+
+ <p>
+ Once <app>gedit</app> launches, you can start writing right away. To save
+ your text, just click the <gui>Save</gui> button in the <app>gedit</app>
+ header bar.
+ </p>
+</page>
diff --git a/help/C/gedit-change-color-scheme.page b/help/C/gedit-change-color-scheme.page
new file mode 100644
index 0000000..ab3c9e2
--- /dev/null
+++ b/help/C/gedit-change-color-scheme.page
@@ -0,0 +1,46 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="guide" style="task"
+ id="gedit-change-color-scheme">
+
+ <info>
+ <link type="guide" xref="index#configure-gedit"/>
+ <desc>Change the text and background colors in gedit.</desc>
+ </info>
+
+ <title>Change the color scheme</title>
+
+ <p><app>gedit</app> includes several different color schemes, allowing you to
+ change the appearance of the main text window.</p>
+
+ <steps>
+ <title>To change the color scheme:</title>
+ <item>
+ <p>Press the menu button in the top-right corner of the window and select
+ <guiseq><gui style="menuitem">Preferences</gui><gui>Font &amp;
+ Colors</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Choose your desired color scheme.</p>
+ </item>
+ </steps>
+
+ <p>The new color scheme will be applied immediately.</p>
+
+ <section id="custom-color-scheme">
+ <title>Use a Custom Color Scheme</title>
+ <!-- I'm not sure if I should link to the wiki for this chunk of help, or if
+ I should describe it here. I'm linking to the wiki for now because the wiki
+ page includes downloads and screenshots. I'm open to including the help here,
+ though. -->
+
+ <p>You can also use color schemes that have been created by others, or
+ create and use your own color schemes.</p>
+
+ <p>Instructions on how to install custom color schemes, as well as examples
+ of color schemes that you can download and use, are available on the
+ <link href="https://wiki.gnome.org/Projects/GtkSourceView/StyleSchemes">gedit
+ wiki</link>.</p>
+ </section>
+
+</page>
diff --git a/help/C/gedit-change-default-font.page b/help/C/gedit-change-default-font.page
new file mode 100644
index 0000000..19f38ae
--- /dev/null
+++ b/help/C/gedit-change-default-font.page
@@ -0,0 +1,32 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-change-default-font">
+ <info>
+ <link type="guide" xref="index#configure-gedit"/>
+ <desc>Use a custom font for your text in gedit.</desc>
+ </info>
+
+ <title>Change the default font</title>
+
+ <p><app>gedit</app> will use the system fixed-width font by default,
+ but you can change the default <app>gedit</app> font to suit your preferences.
+ </p>
+
+ <steps>
+ <title>To change the default font in <app>gedit</app>:</title>
+
+ <item><p>Press the menu button in the top-right corner of the window and
+ select <guiseq><gui style="menuitem">Preferences</gui><gui>Font &amp;
+ Colors</gui></guiseq>.</p></item>
+ <item><p>Uncheck the box next to the phrase, "Use the system fixed width
+ font."</p></item>
+ <item><p>Click on the current font name. <app>gedit</app> will open
+ a font-chooser window, allowing you to see available fonts and choose the
+ one that you prefer.</p></item>
+ <item><p>After you have chosen a new font, use the <gui>slider</gui>
+ under the list of fonts to set the default font size.</p></item>
+ <item><p>Click <gui>Select</gui>, and then close the dialog.</p>
+ </item>
+ </steps>
+
+</page>
diff --git a/help/C/gedit-close-file.page b/help/C/gedit-close-file.page
new file mode 100644
index 0000000..89161d1
--- /dev/null
+++ b/help/C/gedit-close-file.page
@@ -0,0 +1,21 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="gedit-close-file">
+
+ <info>
+ <link type="guide" xref="gedit-files-basic" group="fourth" />
+ <desc>Exit from the file you are using.</desc>
+ </info>
+
+ <title>Close a file</title>
+
+ <p>
+ To close a file in <app>gedit</app>, click the <gui style="button">×</gui>
+ button that appears on the tab title. Note that when only a single file is
+ open in a window, you can close the window instead.
+ </p>
+ <p>
+ If your file contains changes that have not been saved, <app>gedit</app>
+ will prompt you to save those changes before closing the file.
+ </p>
+</page>
diff --git a/help/C/gedit-create-new-file.page b/help/C/gedit-create-new-file.page
new file mode 100644
index 0000000..3448d36
--- /dev/null
+++ b/help/C/gedit-create-new-file.page
@@ -0,0 +1,22 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-create-new-file">
+
+ <info>
+ <link type="guide" xref="gedit-files-basic" group="first" />
+ <desc>Open a new file for editing.</desc>
+ </info>
+
+ <title>Create a new file</title>
+
+ <p>
+ The easiest way to create a new file in <app>gedit</app> is to click the
+ <gui>+</gui> button (the <gui>Create a new document</gui> button) on the
+ left side of the header bar.
+ </p>
+ <p>
+ The new file will appear as a new tab inside the same <app>gedit</app>
+ window.
+ </p>
+</page>
diff --git a/help/C/gedit-edit-as-root.page b/help/C/gedit-edit-as-root.page
new file mode 100644
index 0000000..9cbec61
--- /dev/null
+++ b/help/C/gedit-edit-as-root.page
@@ -0,0 +1,37 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-edit-as-root">
+
+ <info>
+ <link type="guide" xref="index#gedit-advanced" />
+ <desc>Use administrative privileges to edit a file.</desc>
+ </info>
+
+ <title>Edit a file as the root user</title>
+
+ <note style="warning">
+ <p>Editing files as the root user is potentially dangerous, and may break
+ your system in bad ways. Take great care when editing files as the root
+ user.</p>
+ </note>
+
+ <p>To edit files as the root user, launch <app>gedit</app> from the terminal
+ by entering:</p>
+ <code>sudo gedit</code>
+
+ <p>Using the <cmd>sudo</cmd> command, you will need to successfully enter
+ your password before <app>gedit</app> will open.</p>
+
+ <p>As an alternative to the <cmd>sudo</cmd> command, you may obtain
+ administrative privileges by entering:</p>
+ <code>su -</code>
+
+ <p>You would then launch <app>gedit</app> using the <cmd>gedit</cmd>
+ command.</p>
+
+ <note style="tip">
+ <p>Once you have opened <app>gedit</app> with administrative privileges,
+ <app>gedit</app> will keep those privileges until you close it.</p>
+ </note>
+
+</page>
diff --git a/help/C/gedit-files-basic.page b/help/C/gedit-files-basic.page
new file mode 100644
index 0000000..9faf235
--- /dev/null
+++ b/help/C/gedit-files-basic.page
@@ -0,0 +1,15 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="task 2column"
+ id="gedit-files-basic">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="first"/>
+ <desc>Learn the basics of how to work with files in gedit.</desc>
+ </info>
+
+ <title>File basics: Open, close, and save files</title>
+
+ <p>If you are new to <app>gedit</app>, these topics will help you with
+ creating, saving, opening and closing files.</p>
+ <links type="topic" groups="first second third fourth fifth sixth" style="2column"/>
+</page>
diff --git a/help/C/gedit-full-screen.page b/help/C/gedit-full-screen.page
new file mode 100644
index 0000000..eb372a8
--- /dev/null
+++ b/help/C/gedit-full-screen.page
@@ -0,0 +1,46 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="guide" style="task"
+ id="gedit-full-screen">
+
+ <info>
+ <link type="guide" xref="index#configure-gedit"/>
+ <desc>Set gedit to use the entire screen.</desc>
+ </info>
+
+ <title>Use fullscreen mode</title>
+
+ <p>When working with a large document, you may find it helpful to work in
+ <app>gedit's</app> fullscreen mode. Using fullscreen mode will hide the
+ <gui>menu bar</gui>, <gui>tab bar</gui> and the <gui>tool bar</gui>,
+ presenting you with more of your text and allowing you to better focus on
+ your tasks.</p>
+
+ <section id="turn-on-full-screen">
+ <title>Turn on fullscreen mode</title>
+ <p>To turn on fullscreen mode, press <key>F11</key>. <app>gedit's</app>
+ menu, title, and tab-bars will hide, and you will only be presented with
+ the text of your current file.</p>
+ <p>If you need to perform an action from the <app>gedit</app> menu while
+ working in fullscreen mode, move your mouse pointer to the top of the
+ screen. The <app>gedit</app> menu bar will reappear, and you can select
+ your desired action.</p>
+
+ <note>
+ <p>To switch between open tabs while in fullscreen mode, press either
+ <keyseq><key>Ctrl</key><key>Alt</key><key>PgUp</key></keyseq> or
+ <keyseq><key>Ctrl</key><key>Alt</key><key>PgDn</key></keyseq>.</p>
+ </note>
+
+ </section>
+
+ <section id="turn-off-full-screen">
+ <title>Turn off fullscreen mode</title>
+ <p>To turn off fullscreen mode and return to the standard <app>gedit</app>
+ window, press <key>F11</key>.</p>
+ <p>You can also move your mouse cursor to the top of the screen, and wait
+ for the <gui>menu bar</gui> to appear. When the <gui>menu bar</gui>
+ appears, select the <gui>Leave Fullscreen</gui> button.</p>
+ </section>
+
+</page>
diff --git a/help/C/gedit-general-intro.page b/help/C/gedit-general-intro.page
new file mode 100644
index 0000000..1f7f2b2
--- /dev/null
+++ b/help/C/gedit-general-intro.page
@@ -0,0 +1,97 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="gedit-general-intro">
+
+ <info>
+ <link type="guide" xref="index" group="intro-second" />
+ </info>
+
+ <title>Introduction to text editors in general</title>
+
+ <section id="not-a-word-processor">
+ <title>Not a word processor</title>
+ <p>
+ A <em>text editor</em> must be differentiated from
+ <em>word processors</em>.
+ </p>
+ <p>
+ An example of a word processor is
+ <link href="https://www.libreoffice.org/">LibreOffice Writer</link>, which
+ is released as Free and open-source software.
+ </p>
+ <p>
+ A word processor permits to create different kinds of documents (reports,
+ letters, books, etc), with the ability to insert images, tables and other
+ elements.
+ </p>
+ <p>
+ A text editor like <app>gedit</app> is used for creating and editing
+ <em>text files</em>. The files that are saved by <app>gedit</app> and
+ stored on disk contain only text.
+ </p>
+ </section>
+
+ <section id="text-file-formats">
+ <title>Text file formats</title>
+ <p>
+ With a text editor, you can write simple notes as free-form text. But the
+ text can also follow a certain <em>format</em>.
+ </p>
+ <p>
+ Other programs take text files as input, read the text in it, and produce
+ a result. For example, web browsers can read text files that follow the
+ HTML format and renders them as pages.
+ </p>
+ <p>
+ A text file format specifies how the content needs to be structured in
+ order to be understood by the other programs.
+ </p>
+ </section>
+
+ <section id="examples">
+ <title>Examples</title>
+
+ <section id="example-documents">
+ <title>Writing documents</title>
+ <p>
+ It is interesting to note that, with a simple text editor and text
+ files, it is possible to write documents such as produced by a word
+ processor.
+ </p>
+ <p>
+ To take our earlier example with HTML, to insert an image, it is done by
+ referring to an external image file (for example stored on disk in the
+ same directory). Although the image file is not part of the HTML file, a
+ web browser knows that it needs to embed it in the page.
+ </p>
+ </section>
+
+ <section id="example-source-code">
+ <title>Source code</title>
+ <p>
+ Text files are not restricted to write notes or documents, another area
+ is writing <em>source code</em>, to develop a piece of software with a
+ programming or scripting language.
+ </p>
+ </section>
+ </section>
+
+ <section id="syntax-highlighting">
+ <title>Syntax highlighting</title>
+ <p>
+ When writing text in a certain format (or “language”), it is very useful
+ to visually distinguish the different kinds of elements, when a portion of
+ text has a special meaning. The special meanings depend on the
+ <em>syntax</em> of the language, i.e., how things should be structured.
+ </p>
+ <p>
+ This is done by adding colors to the text (or other highlighting means:
+ bold, italic, underline, etc).
+ </p>
+ <p>
+ It is important to note that these colors are <em>not</em> saved into the
+ file; instead, it is the text editor application that presents the text to
+ the user that way.
+ </p>
+ </section>
+</page>
diff --git a/help/C/gedit-open-file.page b/help/C/gedit-open-file.page
new file mode 100644
index 0000000..4828c71
--- /dev/null
+++ b/help/C/gedit-open-file.page
@@ -0,0 +1,26 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-open-file">
+
+ <info>
+ <link type="guide" xref="gedit-files-basic" group="second" />
+ <link type="seealso" xref="gedit-open-several-files-at-once" />
+ <desc>Open a file to start working on it.</desc>
+ </info>
+
+ <title>Open a file</title>
+
+ <p>
+ To open a file in <app>gedit</app>, click the <gui>Open</gui> button.
+ </p>
+ <p>
+ This will cause the <gui>Open</gui> dialog to appear. Use your mouse or
+ keyboard to select the file that you wish to open, and then click
+ <gui>Open</gui>.
+ </p>
+ <p>
+ To close the <gui>Open</gui> dialog without opening a file, click
+ <gui>Cancel</gui>.
+ </p>
+</page>
diff --git a/help/C/gedit-open-files-from-sidepane.page b/help/C/gedit-open-files-from-sidepane.page
new file mode 100644
index 0000000..b1c8e33
--- /dev/null
+++ b/help/C/gedit-open-files-from-sidepane.page
@@ -0,0 +1,63 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic" style="task"
+ id="gedit-open-files-from-sidepane">
+
+ <info>
+ <link type="guide" xref="index#configure-gedit"/>
+ <desc>Use gedit's side pane as a file browser.</desc>
+ </info>
+
+ <title>View and open files from the side panel</title>
+ <p>
+ The most common way to switch between files in <app>gedit</app> is by using
+ the tabs at the top of the <app>gedit</app> window. In some cases, though,
+ particularly when you are working with a large number of open files, you
+ may find it easier to use the side panel.
+ </p>
+
+ <p>
+ To activate the side panel, select <guiseq><gui>View</gui>
+ <gui>Side Panel</gui></guiseq>, or just press the <key>F9</key> key.
+ </p>
+
+ <note style="note">
+ <p>
+ You can toggle the side panel open or closed by pressing
+ <key>F9</key> at any time.
+ </p>
+ </note>
+
+<!-- TODO: This section is duplicated from gedit-plugins-file-browser.page; does it make sense here? -->
+ <section id="sidepane-open">
+ <title>Opening files from the side panel</title>
+ <p>
+ To open files from the side panel, first open the
+ side panel by selecting <guiseq><gui>View</gui>
+ <gui>Side Panel</gui></guiseq> (or just press
+ <key>F9</key>), and then choose <gui>File Browser</gui> from the dropdown
+ at the top of the panel.
+ </p>
+
+ <p>
+ This will activate the <em>File Browser</em> mode of the
+ side panel. You can then use the navigation buttons at the top
+ of the panel to locate and open your desired files.
+ </p>
+ </section>
+
+ <section id="sidepane-switch">
+ <title>Using the side panel to switch between open files</title>
+ <p>
+ Once you have several files open, you can use the side panel to switch
+ between open files. To list open files, choose <gui>Documents</gui>
+ from the dropdown at the top of the panel.
+ </p>
+
+ <p>
+ Clicking on any file name in the side panel will open that file
+ for editing.
+ </p>
+ </section>
+
+ </page>
diff --git a/help/C/gedit-open-on-server.page b/help/C/gedit-open-on-server.page
new file mode 100644
index 0000000..a3d05a1
--- /dev/null
+++ b/help/C/gedit-open-on-server.page
@@ -0,0 +1,46 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-open-on-server">
+
+ <info>
+ <link type="guide" xref="index#gedit-advanced" />
+ <desc>Access files that are stored on a different computer.</desc>
+ </info>
+
+ <title>Open a file that is located on a server</title>
+
+ <p>Prior to opening a file on a server from within <app>gedit</app>, you need
+ to know some technical information about the server. For example, you will
+ need to know the IP Address or URL of the server, and may need to know what
+ kind of server it is (e.g., HTTP, FTP, etc.).</p>
+
+ <p>Also, some types of servers impose restrictions on what you can do with
+ files stored on the server. For example, you may be able to open a file from
+ a server, but may need to save any changes to the file locally, on your own
+ computer.</p>
+
+ <p>With these caveats in mind, perform the following steps to open a file
+ from a server using <app>gedit</app>:</p>
+
+ <steps>
+ <item><p>In the header bar, click on <gui>Open</gui>.</p></item>
+ <item><p>Click <gui>Other Locations</gui>.</p></item>
+ <item><p>Enter the IP Address or URL of the appropriate
+ server.</p></item>
+ <item><p>Find and select the file that you wish to open.</p></item>
+ <item><p>Use the Character Encoding drop-down list to select the
+ appropriate character coding.</p></item>
+ <item><p>Click <gui>Open</gui>.</p></item>
+ </steps>
+
+ <p>Valid types of URI include http:, ftp:, file:, and all of the methods
+ supported by <app>GVfs</app>.</p>
+
+ <note>
+ <p>Files from some types of URI are opened as read-only, and any changes
+ you make must be saved to a different location. For example, HTTP only
+ allows files to be read. Files opened from FTP are read-only because not
+ all FTP servers may correctly work with saving remote files.</p>
+ </note>
+
+</page>
diff --git a/help/C/gedit-open-recent.page b/help/C/gedit-open-recent.page
new file mode 100644
index 0000000..62af948
--- /dev/null
+++ b/help/C/gedit-open-recent.page
@@ -0,0 +1,27 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-open-recent">
+
+ <info>
+ <link type="guide" xref="gedit-files-basic" group="fifth"/>
+ <desc>Access files that you have previously opened in <app>gedit</app>.</desc>
+ </info>
+
+ <title>Reopen a recently-used file</title>
+
+ <p><app>gedit</app> provides easy access to your ten most recently-used
+ files, that have been previously opened in <app>gedit</app>. Here is how you
+ can open a recently-used file:</p>
+ <list type="numbered">
+ <item><p>Click the arrow button next to the <gui>Open</gui> button in the
+ header bar.</p></item>
+ <item><p><app>gedit</app> will display a menu with the ten most
+ recently-used files.</p></item>
+ <item><p>Select the desired file, and it will open in a new tab.</p></item>
+ </list>
+
+ <note><p>When hovering with the mouse over a recently-used file from the
+ menu, the full path to the file is displayed in the status bar at the bottom
+ of the <app>gedit</app> window.</p></note>
+
+</page>
diff --git a/help/C/gedit-open-several-files-at-once.page b/help/C/gedit-open-several-files-at-once.page
new file mode 100644
index 0000000..ceb5404
--- /dev/null
+++ b/help/C/gedit-open-several-files-at-once.page
@@ -0,0 +1,30 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-open-several-files-at-once">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="second" />
+ <link type="seealso" xref="gedit-open-file" />
+ <desc>Select a set of files to open.</desc>
+ </info>
+
+ <title>Open several files at once</title>
+ <p>
+ Click the <gui>Open</gui> button. This will cause the <gui>Open</gui> dialog
+ to appear.
+ </p>
+ <p>
+ From the <gui>Open</gui> dialog, you can select more than one file with
+ the <key>Ctrl</key> or <key>Shift</key> key.
+ </p>
+ <p>
+ If you hold down the <key>Ctrl</key> key while you select a file, that
+ file will be added to the selection.
+ </p>
+ <p>
+ If you hold down the <key>Shift</key> key while you select a file, the
+ selection of files will contain the first file, the last file, and all of
+ the files in between.
+ </p>
+</page>
diff --git a/help/C/gedit-plugin-guide.page b/help/C/gedit-plugin-guide.page
new file mode 100644
index 0000000..8d42c18
--- /dev/null
+++ b/help/C/gedit-plugin-guide.page
@@ -0,0 +1,41 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:e="http://projectmallard.org/experimental/"
+ xmlns:if="http://projectmallard.org/if/1.0/"
+ type="guide" style="task"
+ id="gedit-plugin-guide">
+
+ <info>
+ <link type="guide" xref="index#gedit-plugins"/>
+ <desc>Use plugins to customize how gedit works for you.</desc>
+ </info>
+
+ <title>Configure and use gedit plugins</title>
+ <p>You can do more with <app>gedit</app> by using plugins. Several plugins
+ are installed by default, but a large number of other plugins are available
+ separately.</p>
+
+ <note><p>Many Linux distributions make a group of these plugins available as
+ a <app>gedit-plugins</app> package. Install the <app>gedit-plugins</app>
+ package to make these extra plugins available to <app>gedit</app>.</p>
+
+ <if:choose xmlns:if="http://projectmallard.org/if/1.0/">
+ <if:when test="action:install">
+ <p><link action="install:gedit-plugins" href="ftp://ftp.gnome.org/pub/gnome/sources/gedit-plugins/" style="button">Install gedit-plugins</link></p>
+ </if:when>
+ </if:choose>
+ </note>
+
+ <section id="gedit-default-plugins" style="2column">
+ <title>Default gedit Plugins</title>
+ </section>
+
+ <section id="gedit-additional-plugins" style="2column">
+ <title>Additional gedit Plugins</title>
+ </section>
+
+<!-- TODO document how to create gedit plugins
+ <section id="gedit-create-plugins">
+ <title>Create your own gedit Plugins</title>
+ </section>
+-->
+</page>
diff --git a/help/C/gedit-plugins-change-case.page b/help/C/gedit-plugins-change-case.page
new file mode 100644
index 0000000..52dddb5
--- /dev/null
+++ b/help/C/gedit-plugins-change-case.page
@@ -0,0 +1,44 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-change-case">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Change the case of selected text.</desc>
+</info>
+
+<title>Change case</title>
+
+ <p>This plugin helps you to change the case of selected portions of text. You
+ can use it to change text to be all lower case, all upper case, to invert the
+ case, or apply title case. To enable this plugin, select
+ <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
+ <gui>Plugins</gui><gui>Change Case</gui></guiseq>.</p>
+
+ <p>Once the <em>Change Case</em> plugin is enabled, you can use it by
+ completing the following steps:</p>
+
+ <steps>
+ <item><p>Highlight the portion of text that you want to change.</p></item>
+ <item><p>Select <guiseq><gui style="menu">gedit</gui><gui>Change Case</gui></guiseq></p>
+ </item>
+ <item><p>Choose your desired text-formatting option.</p></item>
+ </steps>
+
+ <p>The updates to the text formatting will take place immediately.</p>
+
+ <note style="tip">
+ <p>The <gui>Invert Case</gui> option will convert all lower case letters to
+ upper case, and will convert all upper case letters to lower case.</p>
+ <p>The <gui>Title Case</gui> option will convert the first letter of each
+ word to upper case. All other letters will be converted to lower
+ case.</p>
+ </note>
+
+ <note>
+ <p>If you have not highlighted any text, the <em>Change Case</em> feature
+ will be grayed-out. You need to select a portion of text before you use the
+ <em>Change Case</em> feature.</p>
+ </note>
+
+</page>
diff --git a/help/C/gedit-plugins-doc-stats.page b/help/C/gedit-plugins-doc-stats.page
new file mode 100644
index 0000000..290eaf0
--- /dev/null
+++ b/help/C/gedit-plugins-doc-stats.page
@@ -0,0 +1,34 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-doc-stats">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>View document statistics.</desc>
+</info>
+
+<title>Document statistics</title>
+
+ <p>The <em>Document Statistics</em> plugin shows you various statistics about
+ your current document. To enable this plugin, select
+ <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
+ <gui>Plugins</gui><gui>Document Statistics</gui></guiseq>.</p>
+
+<section id="using-doc-stats">
+ <title>Using Document Statistics</title>
+
+ <p>Once the plugin is enabled, use it by selecting <guiseq><gui>Tools</gui>
+ <gui>Document Statistics</gui></guiseq>. A window will display the
+ statistical information of your document, including the number of words,
+ lines, characters, non-space characters, and the size of your file in
+ bytes.</p>
+
+ <p>You can also use <em>Document Statistics</em> to show you information about
+ just a portion of your document. To do this, use the mouse pointer to select
+ the portion of text that you want to examine, and then select
+ <guiseq><gui>Tools</gui><gui>Document Statistics</gui></guiseq>.
+ <app>Gedit</app> will display information for both your entire document, and
+ for the portion of text that you highlighted.</p>
+</section>
+
+</page>
diff --git a/help/C/gedit-plugins-external-tools.page b/help/C/gedit-plugins-external-tools.page
new file mode 100644
index 0000000..4d87f9c
--- /dev/null
+++ b/help/C/gedit-plugins-external-tools.page
@@ -0,0 +1,37 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-external-tools">
+
+<!-- TODO: Provide an example or two about using external tools -->
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Run scripts on your current files, and interact with other applications.</desc>
+ <!--INFOAT: https://wiki.gnome.org/Apps/Gedit/Plugins/ExternalTools -->
+</info>
+
+<title>External tools</title>
+
+ <p>The <em>External Tools</em> plugin can help simplify repetitive tasks.
+ Specifically, it extends <app>gedit</app> by helping you to run scripts on
+ your working files, and by allowing <app>gedit</app> to interact with other
+ programs on your computer. To enable the <app>External Tools</app> plugin,
+ select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui><gui>Plugins</gui>
+ <gui>External Tools</gui></guiseq>.</p>
+
+ <section id="plugin-config-external-tools">
+ <title>Configure the external tools plugin</title>
+
+ <p>Once you have enabled the plugin, you will need to configure it to suit
+ your needs. The configuration options are available by selecting
+ <guiseq><gui>Tools</gui><gui>Manage External Tools</gui></guiseq>.</p>
+
+ <note style="caution">
+ <p>This plugin is for advanced users, and requires knowledge of scripting
+ to be used effectively. Use this plugin with care, as mistakes with your
+ scripts can affect your work in unintended ways.</p>
+ </note>
+ </section>
+
+</page>
diff --git a/help/C/gedit-plugins-file-browser.page b/help/C/gedit-plugins-file-browser.page
new file mode 100644
index 0000000..e4b9362
--- /dev/null
+++ b/help/C/gedit-plugins-file-browser.page
@@ -0,0 +1,39 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic" style="task"
+ id="gedit-plugins-file-browser">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Use the side panel to browse and open files.</desc>
+</info>
+
+<title>File browser panel</title>
+
+ <p>Depending on how you use <app>gedit</app>, you may find it helpful to use
+ the <app>File Browser panel</app> plugin. This plugin embeds a
+ <app>file browser</app> in the side panel, giving you easy access to your
+ frequently-used files.</p>
+
+ <p>You can enable the side panel by selecting
+ <guiseq><gui style="menu">gedit</gui><gui style="menuitem">Preferences</gui>
+ <gui>Plugins</gui><gui>File Browser Panel</gui></guiseq>.</p>
+
+ <section id="sidepane-open">
+ <title>Opening files from the side panel</title>
+ <p>
+ To open files from the side panel, first open the
+ side panel by selecting <guiseq><gui>View</gui>
+ <gui>Side Panel</gui></guiseq> (or just press
+ <key>F9</key>), and then choose <gui>File Browser</gui> from the dropdown
+ at the top of the panel.
+ </p>
+
+ <p>
+ This will activate the <em>File Browser</em> mode of the
+ side panel. You can then use the navigation buttons at the top
+ of the panel to locate and open your desired files.
+ </p>
+ </section>
+
+</page>
diff --git a/help/C/gedit-plugins-insert-date-time.page b/help/C/gedit-plugins-insert-date-time.page
new file mode 100644
index 0000000..e86e617
--- /dev/null
+++ b/help/C/gedit-plugins-insert-date-time.page
@@ -0,0 +1,39 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-insert-date-time">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Insert the current date/time at the cursor position.</desc>
+</info>
+
+<title>Insert date/time</title>
+
+ <p>As this name of this plugin suggests, the <gui>Insert Date/Time</gui>
+ plugin allows you to insert the date and/or time at the current cursor
+ position.</p>
+
+ <steps>
+ <title>To enable the plugin:</title>
+ <item>
+ <p>Press the menu button in the top-right corner of the window and select
+ <guiseq><gui style="menuitem">Preferences</gui>
+ <gui style="tab">Plugins</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Select <gui style="menuitem">Insert Date/Time</gui> to enable the plugin.</p>
+ </item>
+ </steps>
+
+ <p>To use the plugin, press the menu button in the top-right corner of the
+ window and select <guiseq><gui style="menuitem">Tools</gui>
+ <gui style="menuitem">Insert Date and Time…</gui></guiseq>.</p>
+
+ <p>By default, the <gui>Insert Date/Time</gui> plugin will prompt you to
+ choose your preferred date/time format each time that you use the plugin.
+ However, you can choose your own default date and time format by pressing the
+ menu button in the top-right corner of the window and selecting <guiseq>
+ <gui style="menuitem">Preferences</gui><gui style="tab">Plugins</gui><gui>
+ Insert Date/Time</gui><gui style="button">Preferences</gui></guiseq>.</p>
+
+</page>
diff --git a/help/C/gedit-plugins-install.page b/help/C/gedit-plugins-install.page
new file mode 100644
index 0000000..b76ba6a
--- /dev/null
+++ b/help/C/gedit-plugins-install.page
@@ -0,0 +1,55 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-install">
+ <info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-additional-plugins"/>
+ <desc>How to install third-party plugins.</desc>
+ </info>
+
+ <title>Additional gedit plugins</title>
+
+ <p>Installing third-party plugins gives you extra functionality that isn't
+ available in default <app>gedit</app> plugins, or even the extra plugins that
+ are part of the <app>gedit-plugins</app> package. An online list of
+ third-party plugins is
+ <link href="https://wiki.gnome.org/Apps/Gedit">kept here</link>.
+ </p>
+
+ <p>Installing a third-party plugin involves downloading the plugin, placing
+ the plugin files in the right directory, and activating the plugin.</p>
+
+ <steps>
+ <item><p>You can usually download a plugin from the plugin's website, but
+ may need to use a revision-control program like <app>git</app>, <app>
+ bazaar</app>, or <app>subversion</app> to copy a plugin's software
+ repository from the internet. Refer to the plugin's documentation for
+ information on getting the plugin.</p></item>
+ <item><p>Place the plugin files into the
+ <file>/home/<var>username</var>/.local/share/gedit/plugins</file> directory.
+ </p>
+ <p>Of course, replace the word <var>username</var> with your own username.
+ </p></item>
+ <item><p>After you have placed the plugin files into the correct directory,
+ the plugin will appear in the Preferences menu. Press the menu button in the
+ top-right corner of the window and select <guiseq><gui style="menuitem">
+ Preferences</gui><gui style="tab">Plugins</gui><gui>[Name of Plugin]</gui>
+ </guiseq> to enable the plugin.</p></item>
+ <item><p>Click <gui>Close</gui>.</p></item>
+ </steps>
+
+ <p>After you have enabled the plugin, it should be available for you to use.
+ </p>
+
+ <note style="tip">
+ <p>The <file>.local</file> directory is hidden by default. To view it and
+ other hidden files, select <guiseq><gui>View</gui><gui>Show Hidden
+ Files</gui></guiseq>, or press <keyseq><key>Ctrl</key><key>H</key></keyseq>.
+ </p>
+ </note>
+
+ <note style="tip">
+ <p>If the directory <file>.local/share/gedit/plugins/</file> is not
+ present on your system, you will need to create it.</p>
+ </note>
+
+</page>
diff --git a/help/C/gedit-plugins-modelines.page b/help/C/gedit-plugins-modelines.page
new file mode 100644
index 0000000..2922148
--- /dev/null
+++ b/help/C/gedit-plugins-modelines.page
@@ -0,0 +1,91 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-modelines">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Emacs, Kate and Vim-style modelines support for gedit.</desc>
+</info>
+
+<title>Modelines</title>
+
+ <p>The <app>Modelines</app> plugin allows <app>gedit</app> to analyze the
+ lines of text at the start and end of a file, and then apply a set of
+ document preferences to the file. The <app>Modelines</app> plugin supports a
+ subset of the options used by the <app>Emacs</app>, <app>Kate</app> and
+ <app>Vim</app> text editors.</p>
+
+ <p>To enable the <app>Modelines</app> plugin, select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui><gui>Plugins</gui><gui>Modelines</gui></guiseq>.</p>
+
+<section id="modelines-general">
+ <title>General Modeline Options</title>
+ <p>The following options can be set using <app>gedit</app> modelines:</p>
+ <list>
+ <item><p>Tab width</p></item>
+ <item><p>Indent width</p></item>
+ <item><p>Inserting spaces instead of tabs</p></item>
+ <item><p>Text Wrapping</p></item>
+ <item><p>Right margin width</p></item>
+ </list>
+
+ <note>
+ <p>Preferences set using modelines take precedence over the ones specified
+ in the preference dialog.</p>
+ </note>
+</section>
+
+<section id="modelines-emacs">
+ <title>Emacs Modelines</title>
+
+ <p>The first two lines of a document are scanned for <app>Emacs</app>
+ modelines, and <app>gedit</app> supports the following <app>Emacs</app>
+ modeline options:</p>
+ <list>
+ <item><p>Tab-width</p></item>
+ <item><p>Indent-offset</p></item>
+ <item><p>Indent-tabs-mode</p></item>
+ <item><p>Text auto-wrap</p></item>
+ </list>
+ <p>For more information on <app>Emacs</app> modelines, visit the
+ <link href="https://www.gnu.org/software/emacs/manual/emacs.html">GNU Emacs
+ Manual</link>.</p>
+</section>
+
+<section id="modelines-kate">
+ <title>Kate Modelines</title>
+
+ <p>The first and last ten lines a document are scanned for <app>Kate</app>
+ modelines, and <app>gedit</app> supports the following <app>Kate</app>
+ modeline options:</p>
+
+ <list>
+ <item><p>tab-width</p></item>
+ <item><p>indent-width</p></item>
+ <item><p>space-indent</p></item>
+ <item><p>word-wrap</p></item>
+ <item><p>word-wrap-column</p></item>
+ </list>
+
+ <p>For more information about <app>Kate</app> modelines, visit the
+ <link href="https://kate-editor.org/">Kate website</link>.</p>
+</section>
+
+<section id="modelines-vim">
+ <title>Vim Modelines</title>
+ <p>The first and last three lines a document are scanned for <app>Vim</app>
+ modelines, and <app>gedit</app> supports the following <app>Vim</app>
+ modeline options:</p>
+
+ <list>
+ <item><p>et (expandtab)</p></item>
+ <item><p>ts (tabstop)</p></item>
+ <item><p>sw (shiftwidth)</p></item>
+ <item><p>wrap</p></item>
+ <item><p>textwidth</p></item>
+ </list>
+
+ <p>For more information on <app>Vim</app> modelines, visit the
+ <link href="https://www.vim.org/">Vim website</link>.</p>
+</section>
+</page>
diff --git a/help/C/gedit-plugins-pyconsole.page b/help/C/gedit-plugins-pyconsole.page
new file mode 100644
index 0000000..7291be9
--- /dev/null
+++ b/help/C/gedit-plugins-pyconsole.page
@@ -0,0 +1,24 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-pyconsole">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Add an interactive Python console to the bottom pane.</desc>
+</info>
+
+ <title>Python console</title>
+
+ <p>You can add a Python console to the bottom pane, allowing you to test
+ Python scripts without leaving <app>gedit</app>. To enable the Python
+ console, select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui><gui>Plugins</gui>
+ <gui>Python Console</gui></guiseq>.</p>
+
+ <p>Once the Python console is enabled, you can open it by selecting
+ <guiseq><gui>View</gui><gui>Bottom Panel</gui></guiseq>.</p>
+
+ <note style="tip"><p>If you have also enabled the <gui>Embeded Terminal</gui>
+ plugin, the <gui>Python Console</gui> will appear as a separate tab in the
+ bottom pane.</p></note>
+</page>
diff --git a/help/C/gedit-plugins-quick-open.page b/help/C/gedit-plugins-quick-open.page
new file mode 100644
index 0000000..b432961
--- /dev/null
+++ b/help/C/gedit-plugins-quick-open.page
@@ -0,0 +1,54 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-quick-open">
+ <info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Quickly open a file or set of files.</desc>
+ </info>
+
+ <title>Quick open</title>
+
+ <p>As the name of this plugin would imply, the <app>Quick Open</app> plugin
+ helps you to open files more quickly than using the usual ways of opening
+ files. To enable this plugin, select <guiseq><gui style="menu">gedit</gui>
+ <gui>Preferences</gui><gui>Plugins</gui><gui>Quick Open</gui></guiseq>.</p>
+
+ <p>Once you have enabled the <app>Quick Open</app> plugin you can use it as
+ follows:</p>
+
+ <steps>
+ <item><p>Open the <app>Quick Open</app> dialog box by pressing
+ <keyseq><key>Ctrl</key><key>Alt</key><key>O</key></keyseq>, or by selecting
+ <gui style="menuitem">Quick Open…</gui>.</p>
+ <p>The <gui>Quick Open</gui> file dialog will appear.</p></item>
+ <item><p>Use your mouse to select the file or files that you want to
+ open.</p>
+ <p>To select several individual files, hold down your <key>Ctrl</key> key
+ while you click on the files that you want to open.</p>
+ <p>To select a group of files, click on the first file that you want to
+ open, hold down the <key>Shift</key> key, and then click on the last file
+ in the list that you want to open.</p></item>
+ <item><p>Click <gui>Open</gui>.</p></item>
+ </steps>
+
+ <p><app>Quick Open</app> will look for files in:</p>
+
+ <list>
+ <item><p>The directory of the currently opened document</p></item>
+ <item><p>The root directory of the
+ <app xref="gedit-plugins-file-browser">File Browser Panel</app>
+ plugin</p></item>
+ <item><p>Recent documents which are also shown in the <file>Recent</file>
+ folder in <app>Files</app></p></item>
+ <item><p>Directories which you have bookmarked in
+ <app>Files</app></p></item>
+ <item><p>Your <file>Desktop</file> directory</p></item>
+ <item><p>Your <file>Home</file> directory</p></item>
+ </list>
+
+ <note style="tip">
+ <p><app>Quick Open</app> displays files in any of the above locations
+ regardless of whether or not you have opened them previously.</p>
+ </note>
+
+</page>
diff --git a/help/C/gedit-plugins-snippets.page b/help/C/gedit-plugins-snippets.page
new file mode 100644
index 0000000..504cdb4
--- /dev/null
+++ b/help/C/gedit-plugins-snippets.page
@@ -0,0 +1,176 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="task 2column"
+ id="gedit-plugins-snippets">
+ <info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Use snippets to quickly insert often-used pieces of text.</desc>
+ </info>
+
+ <title>Snippets</title>
+
+ <p><app>Snippets</app> provide a convenient way of inserting repetitive
+ portions of code into your files. For example, an HTML snippet for the
+ <code><![CDATA[<img>]]></code> tag would insert the opening and closing
+ portions of the tag, as well as fixed places where you can enter image
+ attributes. This can make writing code easier and faster.</p>
+
+ <section id="enable-snippets">
+ <title>Enable Snippets Plugin</title>
+
+ <p>To enable the <gui>Snippets</gui> plugin:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui>
+ <gui style="tab">Plugins</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Select <gui style="menuitem">Snippets</gui> to enable the
+ plugin.</p>
+ </item>
+ </steps>
+ </section>
+
+ <section id="browse-snippets">
+ <title>Browse Snippets</title>
+
+ <p>To browse available snippets:</p>
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">Tools</gui>
+ <gui style="menuitem">Manage Snippets</gui></guiseq>.</p>
+ <note style="important">
+ <p>Make sure the syntax is set appropriately. The status bar at the
+ bottom of the <app>gedit</app> window will show the current language
+ setting. This language setting is what allows gedit to insert the
+ proper snippets. <app>Gedit</app> will normally detect the language or
+ syntax of the file that you're using, but sometimes you may need to
+ set it.</p>
+ <figure>
+ <desc>In this example, the language is set to HTML.</desc>
+ <media type="image" mime="image/png"
+ src="figures/gedit-html-snippet.png"></media>
+ </figure>
+ </note>
+ </item>
+ <item>
+ <p>Browse the snippets that are available for your language or
+ syntax.</p>
+ </item>
+ </steps>
+ </section>
+
+ <section id="using-snippets">
+ <title>Using Snippets</title>
+
+ <p>To insert a snippet into your current document:</p>
+
+ <steps>
+ <item>
+ <p>Type the desired snippet name anywhere in your current document.</p>
+ </item>
+ <item>
+ <p>Press <key>Tab</key> to insert the snippet associated with the input
+ term.</p>
+ </item>
+ </steps>
+ </section>
+
+ <section id="example-insert-snippet">
+ <title>Snippet Example Usage</title>
+
+ <p>For example, if you have set the syntax to <em>HTML</em>, type
+ <code>head </code>, and press the <key>Tab</key> key. The text would have
+ auto completed into a snippet as:</p>
+
+ <code>
+ <![CDATA[<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <title>Page Title</title>
+ </head>]]>
+ </code>
+
+ </section>
+
+ <section id="adding-snippets">
+ <title>Adding Snippets</title>
+
+ <p>You can add new Snippets that work either globally (that is, they are
+ language agnostic) or only in a particular syntax.</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq style="menu"><gui style="menuitem">Tools</gui>
+ <gui style="menuitem">Manage Snippets</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>From the <gui>Manage Snippets</gui> sidebar select the desired syntax
+ and click on the "+" button to list existing snippets for the selected
+ syntax.</p>
+ <note style="tip">
+ <p>To add a snippet that works globally (that is, when no particular
+ syntax or language has been set for the document), select
+ <gui>Global</gui> from the <gui>Manage Snippets</gui> sidebar.</p>
+ </note>
+ </item>
+ <item>
+ <p>To add a new snippet, click on the "plus" icon in the
+ <gui>Manage Snippets</gui> sidebar.</p>
+ </item>
+ <item>
+ <p>Input a name for the new snippet. The name of the snippet can be
+ different from the snippet you want to add.</p>
+ </item>
+ <item>
+ <p>Under the <gui style="group">Activation</gui> section, you must
+ input a term for the <gui style="input">Tab trigger:</gui> textarea.
+ You will be using this term to insert your snippet.</p>
+ <note style="tip">
+ <p>If you wish to insert a snippet with a keyboard shortcut, then
+ click your mouse pointer on <gui style="input">Shortcut key:</gui>
+ textarea and press the desired combination of keys. Once you have
+ pressed and released the keys, the keyboard shortcut will be set.</p>
+ </note>
+ </item>
+ <item>
+ <p>Under the textarea for <gui style="input">Edit:</gui>, input the
+ desired text for the snippet. You may use <code>${n}</code> to indicate
+ variables, where <em>n</em> is replaced with a number that
+ represents the numerical order of variables included.</p>
+ </item>
+ </steps>
+
+ </section>
+
+ <section id="example-add-snippet">
+ <title>New Snippet Example</title>
+
+ <p>Consider you have created a snippet with the term <var>greetings</var>
+ in <gui style="input">Tab trigger:</gui>. The
+ <gui style="input">Edit:</gui> textarea contains:</p>
+
+ <code>
+ <![CDATA[<greetings>Hello ${1:wonderful}${2:amazing} world!
+ </greetings>]]>
+ </code>
+
+ <p>You can insert this snippet by typing <var>greetings</var> in the
+ document and pressing the <key>Tab</key> key. The following text snippet
+ will be inserted:</p>
+
+ <code>
+ <![CDATA[<greetings>Hello wonderfulamazing world!</greetings>]]>
+ </code>
+
+ <p>The words "wonderful" and "amazing" can be retained or deleted depending
+ on your choice of usage. To do so, press <key>Tab</key> to choose between
+ "wonderful" and "amazing" and press <key>Del</key> to delete the least
+ preferred option.</p>
+ </section>
+
+ <!--TODO: <section id="modifying-snippets">
+ <title>Modifying Existing Snippets</title>
+
+ </section>-->
+</page>
diff --git a/help/C/gedit-plugins-sort.page b/help/C/gedit-plugins-sort.page
new file mode 100644
index 0000000..3bd2834
--- /dev/null
+++ b/help/C/gedit-plugins-sort.page
@@ -0,0 +1,74 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-plugins-sort">
+
+<info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins"/>
+ <desc>Sort lines of text into alphabetical order.</desc>
+</info>
+
+<title>Sort</title>
+
+ <p>The Sort plugin arranges selected lines of text into alphabetical
+ order.</p>
+
+ <section id="enable-sort">
+ <title>Enable Sort Plugin</title>
+
+ <p>To enable the <app>Sort</app> plugin:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui>
+ <gui style="tab">Plugins</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Select <gui style="menuitem">Sort</gui> to enable the plugin.</p>
+ </item>
+ </steps>
+
+ </section>
+
+ <section id="using-sort">
+ <title>Using Sort Plugin</title>
+
+ <p>To use the <gui>Sort</gui> plugin:</p>
+
+ <steps>
+ <item>
+ <p>Select the desired lines of text.</p>
+ </item>
+ <item>
+ <p>Select <guiseq><gui style="menu">Tools</gui>
+ <gui style="menuitem">Sort…</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>The <gui>Sort</gui> dialog will open, allowing you to choose between
+ several sorting options:</p>
+ <list>
+ <item>
+ <p><gui>Reverse order</gui> will arrange the text in reverse
+ alphabetical order.</p>
+ </item>
+ <item>
+ <p><gui>Remove duplicates</gui> will remove duplicate values from
+ the list.</p>
+ </item>
+ <item>
+ <p><gui>Ignore case</gui> will ignore case sensitivity.</p>
+ <note style="tip">
+ <p>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 <gui>Start at</gui> column spin box.</p>
+ </note>
+ </item>
+ </list>
+ </item>
+ <item>
+ <p>To perform the sort operation, click <gui>Sort</gui>.</p>
+ </item>
+ </steps>
+ </section>
+
+</page>
diff --git a/help/C/gedit-printing-order.page b/help/C/gedit-printing-order.page
new file mode 100644
index 0000000..629a0de
--- /dev/null
+++ b/help/C/gedit-printing-order.page
@@ -0,0 +1,58 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-printing-order">
+
+ <info>
+ <link type="guide" xref="gedit-printing#printing-order-select"/>
+ <desc>Set the pages to print in a certain order.</desc>
+ </info>
+
+<title>Getting Copies To Print In The Correct Order</title>
+
+ <section id="printing-reverse">
+ <title>Reverse</title>
+
+ <p>Printers usually print the first page first, and the last page last, so
+ the pages end up in reverse order when you pick them up. To reverse the
+ order:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>In the <gui style="tab">General</gui> tab of the Print dialog under
+ <gui style="group">Copies</gui>, check
+ <gui style="checkbox">Reverse</gui>.</p>
+ </item>
+ </steps>
+
+ <p>The last page will be printed first, and so on.</p>
+</section>
+
+ <section id="printing-collate">
+ <title>Collate</title>
+
+ <p>If you are printing more than one copy of the document, the print outs
+ will be grouped by page number by default. (e.g. The copies of page one come
+ out, then the copies of page two, etc.) Collating will make each copy come
+ out with its pages grouped together.</p>
+
+ <p>To Collate:</p>
+ <steps>
+ <item>
+ <p>Click <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>In the <gui style="tab">General</gui> tab of the Print dialog under
+ <gui style="group">Copies</gui> check
+ <gui style="checkbox">Collate</gui>.</p>
+ </item>
+ </steps>
+
+<!--TODO: Fix image <media type="image" src="reverse-collate.png"/> -->
+</section>
+
+</page>
diff --git a/help/C/gedit-printing-select.page b/help/C/gedit-printing-select.page
new file mode 100644
index 0000000..e5ae33d
--- /dev/null
+++ b/help/C/gedit-printing-select.page
@@ -0,0 +1,32 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-printing-select">
+
+ <info>
+ <link type="guide" xref="gedit-printing#printing-order-select"/>
+ <desc>Choose the pages that you want to print.</desc>
+ </info>
+
+ <title>Only print certain pages</title>
+
+ <p>You can selectively print only certain pages from the document. For
+ example, if you enter the page numbers "1,3,5-7,9", then only pages 1, 3,
+ 5, 6, 7 and 9 will be printed. To print pages of your choice:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print…</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>In the <gui style="tab">General</gui> tab in the Print dialog choose
+ <gui style="radiobutton">Pages</gui> from the
+ <gui style="group">Range</gui> section.</p></item>
+ <item>
+ <p>Type the numbers of the pages you want to print from the document,
+ separated by commas. Use a dash to specify a range of pages.</p>
+ </item>
+ </steps>
+
+ <!--TODO: Fix this <media type="image" src="print-select.png"/> -->
+</page>
diff --git a/help/C/gedit-printing.page b/help/C/gedit-printing.page
new file mode 100644
index 0000000..2e63fb5
--- /dev/null
+++ b/help/C/gedit-printing.page
@@ -0,0 +1,116 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide" style="task"
+ id="gedit-printing">
+
+ <info>
+ <link type="guide" xref="index#gedit-printing-guide"/>
+ <desc>Print the files that you create with gedit.</desc>
+ </info>
+
+ <title>Printing documents</title>
+
+ <note style="important">
+ <p>Printing with <app>gedit</app> requires that you have connected and
+ configured your printer. If you have not done this, please consult the
+ <link href="help:gnome-help/printing">printing help for GNOME</link>.</p>
+ </note>
+
+ <p><app>gedit</app> allows you to print both to a file and to paper.</p>
+
+ <section id="print-preview">
+ <title>Print Preview</title>
+
+ <p>Prior to printing your document, you can preview how the printed document
+ will look by using <gui>Print Preview</gui>. To preview the document:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print Preview</gui></guiseq>. Alternatively, you
+ can press <keyseq><key>Shift</key><key>Ctrl</key>
+ <key>P</key></keyseq>.</p>
+ </item>
+ </steps>
+
+ <p>A preview of your document will open in the same tab as the file. You can
+ browse this preview with help of navigation buttons and tools in the toolbar
+ at the top of the document preview tab. To close and return to the document
+ click <gui style="button">Close Preview</gui>.</p>
+
+ </section>
+
+ <section id="printing-to-paper">
+ <title>Printing To Paper</title>
+
+ <p>You can print your documents to paper using a local or remote printer. To
+ print a file:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print</gui>
+ <gui style="tab">General</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Select the desired printer from the list of printers available.</p>
+ </item>
+ <item>
+ <p>You can preview the file using <gui style="button">Print Preview</gui>
+ and once you are satisfied with the settings, click
+ <gui style="button">Print</gui> to send the file to printer.</p>
+ </item>
+ </steps>
+
+ <p>Additionally, from <gui style="tab">Page Setup</gui> tab: you can choose
+ <gui style="group">Layout</gui> and <gui style="group">Paper</gui> options. As
+ these settings are available throughout <app>GNOME</app> programs, please
+ consult
+ <link href="help:gnome-help/printing#paper">Layout and Paper options</link>
+ help.</p>
+
+ </section>
+
+ <section id="printing-order-select">
+ <title>Print Multiple Copies And Between Specified Ranges</title>
+
+ <p>You can set <gui style="group">Range</gui> and
+ <gui style="group">Copies</gui> options to help you:</p>
+
+ </section>
+
+ <section id="printing-to-file">
+ <title>Printing To File</title>
+
+ <p>You can also use <app>gedit</app> to print to a file. To print your
+ document to file of a different format:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">File</gui>
+ <gui style="menuitem">Print</gui>
+ <gui style="menuitem">Print to File</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Printing is enabled for the following file formats, you may select
+ from:</p>
+ <list>
+ <item>
+ <p>Portable Document Format (.pdf)</p>
+ </item>
+ <item>
+ <p>PostScript (.ps)</p>
+ </item>
+ <item>
+ <p>Scalable Vector Graphic (.svg)</p>
+ </item>
+ </list>
+ </item>
+ <item>
+ <p>To print the document to file, click
+ <gui style="button">Print</gui>.</p>
+ </item>
+ </steps>
+
+ </section>
+
+</page>
diff --git a/help/C/gedit-save-file.page b/help/C/gedit-save-file.page
new file mode 100644
index 0000000..a12af63
--- /dev/null
+++ b/help/C/gedit-save-file.page
@@ -0,0 +1,20 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-save-file">
+
+ <info>
+ <link type="guide" xref="gedit-files-basic" group="third" />
+ <desc>Save your file to work on it later.</desc>
+ </info>
+
+ <title>Save a file</title>
+ <p>
+ To save a file in <app>gedit</app>, click on the
+ <gui style="button">Save</gui> button on the right side of the header bar.
+ </p>
+ <p>
+ For a new file, a dialog will appear, and you can choose the name and
+ directory where the file will be saved.
+ </p>
+</page>
diff --git a/help/C/gedit-search-and-replace.page b/help/C/gedit-search-and-replace.page
new file mode 100644
index 0000000..dc54561
--- /dev/null
+++ b/help/C/gedit-search-and-replace.page
@@ -0,0 +1,122 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="guide"
+ id="gedit-search-and-replace">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="sixth" />
+ <desc>Find and replace portions of text in a file.</desc>
+ </info>
+
+ <title>Search and replace</title>
+
+ <links type="topic" groups="first" />
+
+ <section>
+ <title>The simple search</title>
+ <p>
+ To open the search entry field, click on:
+ </p>
+ <p>
+ <guiseq>
+ <gui style="menu">Menu Button</gui>
+ <gui style="menuitem">Find…</gui>
+ </guiseq>
+ </p>
+ </section>
+
+ <section>
+ <title>The search and replace</title>
+ <p>
+ To open the Find and Replace dialog, click on:
+ </p>
+ <p>
+ <guiseq>
+ <gui style="menu">Menu Button</gui>
+ <gui style="menuitem">Find and Replace…</gui>
+ </guiseq>
+ </p>
+ </section>
+
+ <section>
+ <title>Clear highlight</title>
+ <p>
+ Usually, the text that you've searched for will remain highlighted in the
+ document. To remove the highlight, click on:
+ </p>
+ <p>
+ <guiseq>
+ <gui style="menu">Menu Button</gui>
+ <gui style="menuitem">Clear Highlight</gui>
+ </guiseq>
+ </p>
+ </section>
+
+ <section>
+ <title>Tips</title>
+ <p>
+ If you first select a portion of text in the document, and then start a
+ simple search or open the Find and Replace dialog, the text you've
+ selected will appear in the search entry.
+ </p>
+ </section>
+
+ <section>
+ <title>Search options</title>
+ <p>
+ The Find and Replace dialog presents the search options as check boxes.
+ </p>
+ <p>
+ For the simple search, click on the
+ <gui style="button">Magnifying Glass</gui> icon in the search entry field.
+ </p>
+ <list>
+ <item><p>
+ Select <gui>Match Case</gui> to make the search case sensitive.
+ </p></item>
+ <item>
+ <p>
+ Select <gui>Match Entire Word Only</gui> to search for a specific word
+ without including fragments of other words.
+ </p>
+ <p>
+ For example, if you searched for the word “and” with this option
+ selected, the word “and” would be matched, but the words
+ “sand” and “comm<em>and</em>er” would not be matched.
+ </p>
+ </item>
+ <item><p>
+ Select <gui>Wrap Around</gui> to continue at the other end of the
+ document when going to the next or previous search result.
+ </p></item>
+ </list>
+ </section>
+
+ <section>
+ <title>Using escape sequences</title>
+ <p>
+ In a search or replace entry, you can use <em>escape sequences</em> with
+ the following meanings:
+ </p>
+ <terms>
+ <item>
+ <title>\n</title>
+ <p>Newline</p>
+ </item>
+ <item>
+ <title>\r</title>
+ <p>Carriage return</p>
+ </item>
+ <item>
+ <title>\t</title>
+ <p>Tab</p>
+ </item>
+ <item>
+ <title>\\</title>
+ <p>
+ Backslash. If you actually want a backslash and avoid one of the above
+ special meanings, the backslash needs to be escaped.
+ </p>
+ </item>
+ </terms>
+ </section>
+</page>
diff --git a/help/C/gedit-search.page b/help/C/gedit-search.page
new file mode 100644
index 0000000..949aef2
--- /dev/null
+++ b/help/C/gedit-search.page
@@ -0,0 +1,44 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic"
+ id="gedit-search">
+
+ <info>
+ <link type="guide" xref="gedit-search-and-replace" group="first" />
+ </info>
+
+ <title>Simple search: additional topics</title>
+
+ <section>
+ <title>Navigate through the search results</title>
+ <p>
+ There are several ways to go to the next or previous search result.
+ </p>
+ <p>
+ There are <gui style="button">up</gui> and <gui style="button">down</gui>
+ arrows next to the search entry.
+ </p>
+ <p>
+ You can also press the <key>up arrow</key> or <key>down arrow</key> keys
+ on your keyboard while the search entry is visible.
+ </p>
+ <p>
+ Keyboard shortcuts are also available.
+ </p>
+ </section>
+
+ <section>
+ <title>Closing the search entry field</title>
+ <p>
+ You can close the search entry by pressing different keys:
+ </p>
+ <list>
+ <item><p>
+ Pressing <key>Esc</key> will return the cursor to where it was before
+ you began your search.
+ </p></item>
+ <item><p>
+ Pressing <key>Enter</key> will keep the cursor to its current position.
+ </p></item>
+ </list>
+ </section>
+</page>
diff --git a/help/C/gedit-spellcheck.page b/help/C/gedit-spellcheck.page
new file mode 100644
index 0000000..b1b58c4
--- /dev/null
+++ b/help/C/gedit-spellcheck.page
@@ -0,0 +1,117 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-spellcheck">
+
+ <info>
+ <link type="guide" xref="gedit-plugin-guide#gedit-default-plugins" />
+ <desc>Check your files for spelling errors.</desc>
+ </info>
+
+ <title>Spell-check your document</title>
+ <section id="enable-spell-check">
+ <title>Enable the spell checker</title>
+ <p>The Spell-check feature is provided as a plugin in <app>gedit</app> which
+ can be enabled as required. To enable the plugin:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">gedit</gui>
+ <gui style="menuitem">Preferences</gui>
+ <gui style="tab">Plugins</gui></guiseq>.</p>
+ </item>
+ <item>
+ <p>Select <gui style="menuitem">Spell Checker</gui> to enable the
+ plugin.</p>
+ </item>
+ </steps>
+
+ </section>
+
+ <section id="spell-check">
+ <title>Spell-check your document</title>
+
+ <p>To check for misspelt words in your document:</p>
+
+ <steps>
+ <item>
+ <p>Select <guiseq><gui style="menu">Tools</gui>
+ <gui style="menuitem">Check Spelling</gui></guiseq>.</p>
+ </item>
+ </steps>
+
+ <note style="tip">
+ <p>To have <app>gedit</app> automatically highlight misspelt words in your
+ document as you type, select <guiseq><gui style="menu">Tools</gui><gui
+ style="menuitem">Highlight Misspelled Words</gui></guiseq>.</p>
+ </note>
+ </section>
+
+ <section id="use-spell-check">
+ <title>Using spell-check</title>
+
+ <p>You can choose the right substitution for misspelt words using the Check
+ Spelling dialog. The misspelt word being checked by the spell-checker is
+ displayed in bold style next to <gui>Misspelled word:</gui>.
+ You can choose from the following corrective actions:</p>
+
+ <list>
+ <item>
+ <p><gui style="input">Change to:</gui> allows you to input a word and
+ use <gui style="button">Check Word</gui> to check the validity of the
+ spelling.</p>
+ </item>
+ <item>
+ <p><gui style="menu">Suggestions:</gui> lists the available
+ substitutions for the word.</p>
+ </item>
+ <item>
+ <p><gui style="button">Ignore</gui> allows you to bypass spell check for
+ <em>a</em> instance of current word.</p>
+ </item>
+ <item>
+ <p><gui style="button">Ignore All</gui> allows you to bypass spell check
+ for <em>all</em> instances of the current word.</p>
+ </item>
+ <item>
+ <p><gui style="button">Change</gui> substitutes the misspelt or
+ unrecognized word with <em>a</em> chosen substitute from the
+ <gui style="menuitem">Suggestions:</gui> list.</p>
+ </item>
+ <item>
+ <p><gui style="button">Change all</gui> substitutes <em>all</em>
+ misspelt or unrecognized words with the chosen substitute from the
+ <gui style="menuitem">Suggestions:</gui> list.</p>
+ </item>
+ <item>
+ <p><gui style="button">Add word</gui> allows you to add the current word
+ to the <app>gedit</app> <gui>User dictionary</gui>. Adding custom words
+ to the <gui>User dictionary</gui> will allow <app>gedit</app> to
+ recognize the word in documents and thus will not be highlighted as a
+ misspelt word.</p>
+ </item>
+ </list>
+
+ </section>
+
+ <section id="define-spell-check-language">
+ <title>Define the language to use for spell checking</title>
+ <p>By default, <app>gedit</app> will use your current language to spell
+ check your document. If you need to use another language, choose
+ <guiseq><gui style="menu">Tools</gui><gui style="menuitem">Set
+ Language…</gui></guiseq>, then choose the language you want to use.</p>
+ </section>
+
+ <section id="dict">
+ <title>Dictionaries</title>
+
+ <p><app>gedit</app> uses
+ <link href="https://www.abisource.com/projects/enchant/">Enchant</link>,
+ a small system utility, for spell checking. Enchant can use
+ several different dictionaries to check your spelling. Two such
+ dictionary back-ends are <em>Hunspell</em> and <em>Aspell</em>.</p>
+
+ <p>If the language you want to use is not available in <app>gedit</app>,
+ use your computer's software installer or package manager to install the
+ dictionary back-end that you want.</p>
+ </section>
+</page>
diff --git a/help/C/gedit-syntax-highlighting.page b/help/C/gedit-syntax-highlighting.page
new file mode 100644
index 0000000..0494e72
--- /dev/null
+++ b/help/C/gedit-syntax-highlighting.page
@@ -0,0 +1,27 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ type="topic" style="task"
+ id="gedit-syntax-highlighting">
+
+ <info>
+ <link type="guide" xref="index#configure-gedit"/>
+ <desc>Highlight your text to make it easier to read.</desc>
+ </info>
+
+ <title>Turn on syntax highlighting</title>
+
+ <section id="gedit-syntax-highlighting-section">
+ <title>Syntax highlighting</title>
+ <p><app>gedit</app> provides syntax highlighting for a wide range of markup,
+ programming, and scientific languages. If <app>gedit</app> recognizes the
+ syntax being used when you open a file, it will automatically highlight the
+ text.</p>
+
+ <p>If your syntax or language is not highlighted upon startup, you can
+ select the appropriate syntax or language by clicking
+ <guiseq><gui style="menu">View</gui>
+ <gui style="menuitem">Highlight Mode</gui></guiseq>,
+ and then choosing the desired syntax. Alternately, you can select the syntax
+ name from a list at the bottom of the <app>gedit</app> window.</p>
+ </section>
+
+</page>
diff --git a/help/C/gedit-tab-groups.page b/help/C/gedit-tab-groups.page
new file mode 100644
index 0000000..95964f0
--- /dev/null
+++ b/help/C/gedit-tab-groups.page
@@ -0,0 +1,53 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-tab-groups">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="fourth"/>
+ <link type="seealso" xref="gedit-tabs"/>
+ <desc>View several documents side-by-side.</desc>
+ </info>
+
+ <title>Tab groups</title>
+
+ <p>
+ You can view several documents side-by-side inside the same <app>gedit</app>
+ window by creating a new <em>tab group</em>.
+ </p>
+
+ <section>
+ <title>Managing tab groups</title>
+ <p>
+ There are several possibilities for managing tab groups.
+ </p>
+ <p>
+ To create a new tab group, you can right-click on a tab title and select
+ <gui>Move to New Tab Group</gui>.
+ </p>
+ <p>
+ Keyboard shortcuts are available too.
+ </p>
+ <p>
+ The tab groups will be placed into two panes that can be resized. It is an
+ horizontal split: the original tab group is on the left, the new tab group
+ is added on the right.
+ </p>
+ <p>
+ You can open as much tab groups in a <app>gedit</app> window as your
+ screen allows, but you will have to resize them in order to see them
+ correctly.
+ </p>
+ </section>
+
+ <section>
+ <title>Move a tab to another tab group</title>
+ <p>
+ You can drag and drop a tab into another tab group.
+ </p>
+ <p>
+ See <link xref="gedit-tabs#drag-and-drop-tabs">Drag and drop tabs</link>
+ for more details.
+ </p>
+ </section>
+</page>
diff --git a/help/C/gedit-tabs.page b/help/C/gedit-tabs.page
new file mode 100644
index 0000000..6145613
--- /dev/null
+++ b/help/C/gedit-tabs.page
@@ -0,0 +1,98 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic"
+ id="gedit-tabs">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="third"/>
+ <link type="seealso" xref="gedit-tab-groups"/>
+ <desc>Organize your tabs.</desc>
+ </info>
+
+ <title>Move tabs</title>
+
+ <p>
+ By default, documents are opened in new tabs inside the same
+ <app>gedit</app> window.
+ </p>
+
+ <section>
+ <title>Move a tab</title>
+ <p>
+ There are several means to move a tab to another location, to organize the
+ files you edit in the way you like.
+ </p>
+ <p>
+ You can right-click on a tab title and choose the desired option.
+ </p>
+ <p>
+ Keyboard shortcuts are available too.
+ </p>
+
+ <section id="drag-and-drop-tabs">
+ <title>Drag and drop tabs</title>
+ <p>
+ Another means is to drag and drop a tab:
+ </p>
+ <steps>
+ <item>
+ <p>Click and hold the mouse button on the tab title.</p>
+ </item>
+ <item>
+ <p>Move the tab to the desired location.</p>
+ </item>
+ <item>
+ <p>Release the mouse button.</p>
+ </item>
+ </steps>
+ </section>
+ </section>
+
+ <section>
+ <title>Drag and drop locations</title>
+
+ <section>
+ <title>To re-order tabs within the same window</title>
+ <p>
+ Drag and drop the tab along the tabs titles.
+ </p>
+ </section>
+
+ <section>
+ <title>To create a new window from an existing tab</title>
+ <p>
+ Drag and drop the tab out of the <app>gedit</app> window.
+ </p>
+ <p>
+ When <app>gedit</app> is maximized, drag the tab onto the top bar of
+ <gui>GNOME Shell</gui> at the top of the screen.
+ </p>
+ </section>
+
+ <section>
+ <title>To move a tab from one gedit window to another</title>
+ <p>
+ Drag and drop the tab to the other window, either within the text area,
+ or within the tabs titles to choose the exact location.
+ </p>
+
+ <!--
+ This is currently not super convenient to use: once in the Activities
+ overview, we don't have much time for choosing the right window. We
+ often end up on a wrong window to drop the tab.
+ So it's not a great tip to explain.
+ -->
+ <!--
+ <note style="tip">
+ <p>
+ You may find it easier to move a tab from one window to another by
+ dragging the tab to the <gui>Activities</gui> hot-corner of
+ <gui>GNOME Shell</gui>. This will reveal each of the open
+ <app>gedit</app> windows. You can then release the tab on the desired
+ <app>gedit</app> window.
+ </p>
+ </note>
+ -->
+ </section>
+ </section>
+</page>
diff --git a/help/C/gedit-undo-redo.page b/help/C/gedit-undo-redo.page
new file mode 100644
index 0000000..a4c5a30
--- /dev/null
+++ b/help/C/gedit-undo-redo.page
@@ -0,0 +1,22 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="topic" style="task"
+ id="gedit-undo-redo">
+
+ <info>
+ <link type="guide" xref="index#gedit-working-with-files" group="fifth" />
+ <desc>Revert a recent change to one of your files.</desc>
+ </info>
+
+ <title>Undo/redo a recent action</title>
+
+ <p>If you make a mistake while editing a document in <app>gedit</app>, you can
+ undo the change by pressing <keyseq><key>Ctrl</key><key>Z</key></keyseq>.</p>
+
+ <note style="important">
+ <p>You cannot undo a change after you have closed a <app>gedit</app> file.</p>
+ </note>
+
+ <p>To redo the change that was undone, press
+ <keyseq><key>Ctrl</key><key>Shift</key><key>Z</key></keyseq>.</p>
+</page>
diff --git a/help/C/index.page b/help/C/index.page
new file mode 100644
index 0000000..2290760
--- /dev/null
+++ b/help/C/index.page
@@ -0,0 +1,33 @@
+<page xmlns="http://projectmallard.org/1.0/"
+ xmlns:its="http://www.w3.org/2005/11/its"
+ type="guide"
+ id="index">
+
+ <title>
+ <media type="image" mime="image/png" src="figures/gedit-icon.png" its:translate="no" />
+ gedit
+ </title>
+
+ <links type="topic" groups="intro-first intro-second" />
+
+ <section id="gedit-working-with-files">
+ <title>Working with files</title>
+ <links type="topic" groups="first second third fourth fifth sixth" style="2column" />
+ </section>
+
+ <section id="gedit-printing-guide">
+ <title>Printing with gedit</title>
+ </section>
+
+ <section id="gedit-advanced" style="2column">
+ <title>More advanced topics</title>
+ </section>
+
+ <section id="configure-gedit" style="2column">
+ <title>Configure gedit</title>
+ </section>
+
+ <section id="gedit-plugins" style="2column">
+ <title>gedit plugins</title>
+ </section>
+</page>