SF.net SVN: geany:[5253] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Sep 23 12:22:44 UTC 2010


Revision: 5253
          http://geany.svn.sourceforge.net/geany/?rev=5253&view=rev
Author:   ntrel
Date:     2010-09-23 12:22:44 +0000 (Thu, 23 Sep 2010)

Log Message:
-----------
Add hidden pref 'find_selection_type' with option to repeat last
search when there's no selection.
Change default Find Selection behaviour to not let the X selection
override the current word (can be confusing).
Add docs for Find Selection commands.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/geany.html
    trunk/doc/geany.txt
    trunk/src/keyfile.c
    trunk/src/search.c
    trunk/src/search.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-09-22 16:33:38 UTC (rev 5252)
+++ trunk/ChangeLog	2010-09-23 12:22:44 UTC (rev 5253)
@@ -1,3 +1,14 @@
+2010-09-23  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
+   doc/geany.html:
+   Add hidden pref 'find_selection_type' with option to repeat last
+   search when there's no selection.
+   Change default Find Selection behaviour to not let the X selection
+   override the current word (can be confusing).
+   Add docs for Find Selection commands.
+
+
 2010-09-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * src/stash.c, doc/Makefile.am, doc/stash-example.c,

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2010-09-22 16:33:38 UTC (rev 5252)
+++ trunk/doc/geany.html	2010-09-23 12:22:44 UTC (rev 5253)
@@ -6,7 +6,7 @@
 <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
 <title>Geany</title>
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2010-09-15" />
+<meta name="date" content="2010-09-21" />
 <style type="text/css">
 
 /*
@@ -139,7 +139,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
-<td>2010-09-15</td></tr>
+<td>2010-09-21</td></tr>
 <tr><th class="docinfo-name">Version:</th>
 <td>0.20</td></tr>
 </tbody>
@@ -232,250 +232,251 @@
 <li><a class="reference" href="#change-font-in-search-dialog-text-fields" id="id62" name="id62">Change font in search dialog text fields</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#find-usage" id="id63" name="id63">Find usage</a></li>
-<li><a class="reference" href="#find-in-files" id="id64" name="id64">Find in files</a><ul>
-<li><a class="reference" href="#filtering-out-version-control-files" id="id65" name="id65">Filtering out version control files</a></li>
+<li><a class="reference" href="#find-selection" id="id63" name="id63">Find selection</a></li>
+<li><a class="reference" href="#find-usage" id="id64" name="id64">Find usage</a></li>
+<li><a class="reference" href="#find-in-files" id="id65" name="id65">Find in files</a><ul>
+<li><a class="reference" href="#filtering-out-version-control-files" id="id66" name="id66">Filtering out version control files</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#replace" id="id66" name="id66">Replace</a><ul>
-<li><a class="reference" href="#replace-all" id="id67" name="id67">Replace all</a></li>
+<li><a class="reference" href="#replace" id="id67" name="id67">Replace</a><ul>
+<li><a class="reference" href="#replace-all" id="id68" name="id68">Replace all</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#go-to-tag-definition" id="id68" name="id68">Go to tag definition</a></li>
-<li><a class="reference" href="#go-to-tag-declaration" id="id69" name="id69">Go to tag declaration</a></li>
-<li><a class="reference" href="#go-to-line" id="id70" name="id70">Go to line</a></li>
-<li><a class="reference" href="#regular-expressions" id="id71" name="id71">Regular expressions</a></li>
+<li><a class="reference" href="#go-to-tag-definition" id="id69" name="id69">Go to tag definition</a></li>
+<li><a class="reference" href="#go-to-tag-declaration" id="id70" name="id70">Go to tag declaration</a></li>
+<li><a class="reference" href="#go-to-line" id="id71" name="id71">Go to line</a></li>
+<li><a class="reference" href="#regular-expressions" id="id72" name="id72">Regular expressions</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#tags" id="id72" name="id72">Tags</a><ul>
-<li><a class="reference" href="#workspace-tags" id="id73" name="id73">Workspace tags</a></li>
-<li><a class="reference" href="#global-tags" id="id74" name="id74">Global tags</a><ul>
-<li><a class="reference" href="#default-global-tags-files" id="id75" name="id75">Default global tags files</a></li>
-<li><a class="reference" href="#global-tags-file-format" id="id76" name="id76">Global tags file format</a></li>
-<li><a class="reference" href="#generating-a-global-tags-file" id="id77" name="id77">Generating a global tags file</a></li>
+<li><a class="reference" href="#tags" id="id73" name="id73">Tags</a><ul>
+<li><a class="reference" href="#workspace-tags" id="id74" name="id74">Workspace tags</a></li>
+<li><a class="reference" href="#global-tags" id="id75" name="id75">Global tags</a><ul>
+<li><a class="reference" href="#default-global-tags-files" id="id76" name="id76">Default global tags files</a></li>
+<li><a class="reference" href="#global-tags-file-format" id="id77" name="id77">Global tags file format</a></li>
+<li><a class="reference" href="#generating-a-global-tags-file" id="id78" name="id78">Generating a global tags file</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#ignore-tags" id="id78" name="id78">Ignore tags</a></li>
+<li><a class="reference" href="#ignore-tags" id="id79" name="id79">Ignore tags</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#preferences" id="id79" name="id79">Preferences</a><ul>
-<li><a class="reference" href="#general-startup-preferences" id="id80" name="id80">General Startup preferences</a><ul>
-<li><a class="reference" href="#id1" id="id81" name="id81">Startup</a></li>
-<li><a class="reference" href="#shutdown" id="id82" name="id82">Shutdown</a></li>
-<li><a class="reference" href="#paths" id="id83" name="id83">Paths</a></li>
+<li><a class="reference" href="#preferences" id="id80" name="id80">Preferences</a><ul>
+<li><a class="reference" href="#general-startup-preferences" id="id81" name="id81">General Startup preferences</a><ul>
+<li><a class="reference" href="#id1" id="id82" name="id82">Startup</a></li>
+<li><a class="reference" href="#shutdown" id="id83" name="id83">Shutdown</a></li>
+<li><a class="reference" href="#paths" id="id84" name="id84">Paths</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#general-miscellaneous-preferences" id="id84" name="id84">General Miscellaneous preferences</a><ul>
-<li><a class="reference" href="#miscellaneous" id="id85" name="id85">Miscellaneous</a></li>
-<li><a class="reference" href="#search" id="id86" name="id86">Search</a></li>
-<li><a class="reference" href="#projects" id="id87" name="id87">Projects</a></li>
+<li><a class="reference" href="#general-miscellaneous-preferences" id="id85" name="id85">General Miscellaneous preferences</a><ul>
+<li><a class="reference" href="#miscellaneous" id="id86" name="id86">Miscellaneous</a></li>
+<li><a class="reference" href="#search" id="id87" name="id87">Search</a></li>
+<li><a class="reference" href="#projects" id="id88" name="id88">Projects</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#interface-preferences" id="id88" name="id88">Interface preferences</a><ul>
-<li><a class="reference" href="#sidebar" id="id89" name="id89">Sidebar</a></li>
-<li><a class="reference" href="#fonts" id="id90" name="id90">Fonts</a></li>
-<li><a class="reference" href="#editor-tabs" id="id91" name="id91">Editor tabs</a></li>
-<li><a class="reference" href="#tab-positions" id="id92" name="id92">Tab positions</a></li>
-<li><a class="reference" href="#id2" id="id93" name="id93">Miscellaneous</a></li>
+<li><a class="reference" href="#interface-preferences" id="id89" name="id89">Interface preferences</a><ul>
+<li><a class="reference" href="#sidebar" id="id90" name="id90">Sidebar</a></li>
+<li><a class="reference" href="#fonts" id="id91" name="id91">Fonts</a></li>
+<li><a class="reference" href="#editor-tabs" id="id92" name="id92">Editor tabs</a></li>
+<li><a class="reference" href="#tab-positions" id="id93" name="id93">Tab positions</a></li>
+<li><a class="reference" href="#id2" id="id94" name="id94">Miscellaneous</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#toolbar-preferences" id="id94" name="id94">Toolbar preferences</a><ul>
-<li><a class="reference" href="#toolbar" id="id95" name="id95">Toolbar</a></li>
-<li><a class="reference" href="#appearance" id="id96" name="id96">Appearance</a></li>
+<li><a class="reference" href="#toolbar-preferences" id="id95" name="id95">Toolbar preferences</a><ul>
+<li><a class="reference" href="#toolbar" id="id96" name="id96">Toolbar</a></li>
+<li><a class="reference" href="#appearance" id="id97" name="id97">Appearance</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#editor-features-preferences" id="id97" name="id97">Editor Features preferences</a><ul>
-<li><a class="reference" href="#features" id="id98" name="id98">Features</a></li>
+<li><a class="reference" href="#editor-features-preferences" id="id98" name="id98">Editor Features preferences</a><ul>
+<li><a class="reference" href="#features" id="id99" name="id99">Features</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#editor-indentation-preferences" id="id99" name="id99">Editor Indentation preferences</a><ul>
-<li><a class="reference" href="#indentation-group" id="id100" name="id100">Indentation group</a></li>
+<li><a class="reference" href="#editor-indentation-preferences" id="id100" name="id100">Editor Indentation preferences</a><ul>
+<li><a class="reference" href="#indentation-group" id="id101" name="id101">Indentation group</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#editor-completions-preferences" id="id101" name="id101">Editor Completions preferences</a><ul>
-<li><a class="reference" href="#completions" id="id102" name="id102">Completions</a></li>
-<li><a class="reference" href="#auto-close-quotes-and-brackets" id="id103" name="id103">Auto-close quotes and brackets</a></li>
+<li><a class="reference" href="#editor-completions-preferences" id="id102" name="id102">Editor Completions preferences</a><ul>
+<li><a class="reference" href="#completions" id="id103" name="id103">Completions</a></li>
+<li><a class="reference" href="#auto-close-quotes-and-brackets" id="id104" name="id104">Auto-close quotes and brackets</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#editor-display-preferences" id="id104" name="id104">Editor Display preferences</a><ul>
-<li><a class="reference" href="#display" id="id105" name="id105">Display</a></li>
-<li><a class="reference" href="#long-line-marker" id="id106" name="id106">Long line marker</a></li>
-<li><a class="reference" href="#virtual-spaces" id="id107" name="id107">Virtual spaces</a></li>
+<li><a class="reference" href="#editor-display-preferences" id="id105" name="id105">Editor Display preferences</a><ul>
+<li><a class="reference" href="#display" id="id106" name="id106">Display</a></li>
+<li><a class="reference" href="#long-line-marker" id="id107" name="id107">Long line marker</a></li>
+<li><a class="reference" href="#virtual-spaces" id="id108" name="id108">Virtual spaces</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#files-preferences" id="id108" name="id108">Files preferences</a><ul>
-<li><a class="reference" href="#new-files" id="id109" name="id109">New files</a></li>
-<li><a class="reference" href="#saving-files" id="id110" name="id110">Saving files</a></li>
-<li><a class="reference" href="#id3" id="id111" name="id111">Miscellaneous</a></li>
+<li><a class="reference" href="#files-preferences" id="id109" name="id109">Files preferences</a><ul>
+<li><a class="reference" href="#new-files" id="id110" name="id110">New files</a></li>
+<li><a class="reference" href="#saving-files" id="id111" name="id111">Saving files</a></li>
+<li><a class="reference" href="#id3" id="id112" name="id112">Miscellaneous</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#tools-preferences" id="id112" name="id112">Tools preferences</a><ul>
-<li><a class="reference" href="#tool-paths" id="id113" name="id113">Tool paths</a></li>
-<li><a class="reference" href="#commands" id="id114" name="id114">Commands</a></li>
+<li><a class="reference" href="#tools-preferences" id="id113" name="id113">Tools preferences</a><ul>
+<li><a class="reference" href="#tool-paths" id="id114" name="id114">Tool paths</a></li>
+<li><a class="reference" href="#commands" id="id115" name="id115">Commands</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#template-preferences" id="id115" name="id115">Template preferences</a><ul>
-<li><a class="reference" href="#template-data" id="id116" name="id116">Template data</a></li>
+<li><a class="reference" href="#template-preferences" id="id116" name="id116">Template preferences</a><ul>
+<li><a class="reference" href="#template-data" id="id117" name="id117">Template data</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#keybinding-preferences" id="id117" name="id117">Keybinding preferences</a></li>
-<li><a class="reference" href="#printing-preferences" id="id118" name="id118">Printing preferences</a></li>
-<li><a class="reference" href="#terminal-vte-preferences" id="id119" name="id119">Terminal (VTE) preferences</a><ul>
-<li><a class="reference" href="#terminal-widget" id="id120" name="id120">Terminal widget</a></li>
+<li><a class="reference" href="#keybinding-preferences" id="id118" name="id118">Keybinding preferences</a></li>
+<li><a class="reference" href="#printing-preferences" id="id119" name="id119">Printing preferences</a></li>
+<li><a class="reference" href="#terminal-vte-preferences" id="id120" name="id120">Terminal (VTE) preferences</a><ul>
+<li><a class="reference" href="#terminal-widget" id="id121" name="id121">Terminal widget</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#project-management" id="id121" name="id121">Project Management</a><ul>
-<li><a class="reference" href="#new-project" id="id122" name="id122">New Project</a></li>
-<li><a class="reference" href="#project-properties" id="id123" name="id123">Project Properties</a></li>
-<li><a class="reference" href="#open-project" id="id124" name="id124">Open Project</a></li>
-<li><a class="reference" href="#close-project" id="id125" name="id125">Close Project</a></li>
+<li><a class="reference" href="#project-management" id="id122" name="id122">Project Management</a><ul>
+<li><a class="reference" href="#new-project" id="id123" name="id123">New Project</a></li>
+<li><a class="reference" href="#project-properties" id="id124" name="id124">Project Properties</a></li>
+<li><a class="reference" href="#open-project" id="id125" name="id125">Open Project</a></li>
+<li><a class="reference" href="#close-project" id="id126" name="id126">Close Project</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#build-menu" id="id126" name="id126">Build Menu</a><ul>
-<li><a class="reference" href="#indicators" id="id127" name="id127">Indicators</a></li>
-<li><a class="reference" href="#default-build-menu-items" id="id128" name="id128">Default Build Menu Items</a><ul>
-<li><a class="reference" href="#compile" id="id129" name="id129">Compile</a></li>
-<li><a class="reference" href="#build" id="id130" name="id130">Build</a></li>
-<li><a class="reference" href="#make" id="id131" name="id131">Make</a></li>
-<li><a class="reference" href="#make-custom-target" id="id132" name="id132">Make custom target</a></li>
-<li><a class="reference" href="#make-object" id="id133" name="id133">Make object</a></li>
-<li><a class="reference" href="#next-error" id="id134" name="id134">Next Error</a></li>
-<li><a class="reference" href="#previous-error" id="id135" name="id135">Previous Error</a></li>
-<li><a class="reference" href="#execute" id="id136" name="id136">Execute</a></li>
-<li><a class="reference" href="#stopping-running-processes" id="id137" name="id137">Stopping running processes</a><ul>
-<li><a class="reference" href="#terminal-emulators" id="id138" name="id138">Terminal emulators</a></li>
+<li><a class="reference" href="#build-menu" id="id127" name="id127">Build Menu</a><ul>
+<li><a class="reference" href="#indicators" id="id128" name="id128">Indicators</a></li>
+<li><a class="reference" href="#default-build-menu-items" id="id129" name="id129">Default Build Menu Items</a><ul>
+<li><a class="reference" href="#compile" id="id130" name="id130">Compile</a></li>
+<li><a class="reference" href="#build" id="id131" name="id131">Build</a></li>
+<li><a class="reference" href="#make" id="id132" name="id132">Make</a></li>
+<li><a class="reference" href="#make-custom-target" id="id133" name="id133">Make custom target</a></li>
+<li><a class="reference" href="#make-object" id="id134" name="id134">Make object</a></li>
+<li><a class="reference" href="#next-error" id="id135" name="id135">Next Error</a></li>
+<li><a class="reference" href="#previous-error" id="id136" name="id136">Previous Error</a></li>
+<li><a class="reference" href="#execute" id="id137" name="id137">Execute</a></li>
+<li><a class="reference" href="#stopping-running-processes" id="id138" name="id138">Stopping running processes</a><ul>
+<li><a class="reference" href="#terminal-emulators" id="id139" name="id139">Terminal emulators</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#set-build-commands" id="id139" name="id139">Set Build Commands</a></li>
+<li><a class="reference" href="#set-build-commands" id="id140" name="id140">Set Build Commands</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#build-menu-configuration" id="id140" name="id140">Build Menu Configuration</a></li>
-<li><a class="reference" href="#build-menu-commands-dialog" id="id141" name="id141">Build Menu Commands Dialog</a><ul>
-<li><a class="reference" href="#substitutions-in-commands-and-working-directories" id="id142" name="id142">Substitutions in Commands and Working Directories</a></li>
-<li><a class="reference" href="#build-menu-keyboard-shortcuts" id="id143" name="id143">Build Menu Keyboard Shortcuts</a></li>
-<li><a class="reference" href="#configuration-files" id="id144" name="id144">Configuration Files</a></li>
+<li><a class="reference" href="#build-menu-configuration" id="id141" name="id141">Build Menu Configuration</a></li>
+<li><a class="reference" href="#build-menu-commands-dialog" id="id142" name="id142">Build Menu Commands Dialog</a><ul>
+<li><a class="reference" href="#substitutions-in-commands-and-working-directories" id="id143" name="id143">Substitutions in Commands and Working Directories</a></li>
+<li><a class="reference" href="#build-menu-keyboard-shortcuts" id="id144" name="id144">Build Menu Keyboard Shortcuts</a></li>
+<li><a class="reference" href="#configuration-files" id="id145" name="id145">Configuration Files</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#printing-support" id="id145" name="id145">Printing support</a></li>
-<li><a class="reference" href="#plugins" id="id146" name="id146">Plugins</a></li>
-<li><a class="reference" href="#keybindings" id="id147" name="id147">Keybindings</a><ul>
-<li><a class="reference" href="#switching-documents" id="id148" name="id148">Switching documents</a></li>
-<li><a class="reference" href="#configurable-keybindings" id="id149" name="id149">Configurable keybindings</a><ul>
-<li><a class="reference" href="#file-keybindings" id="id150" name="id150">File keybindings</a></li>
-<li><a class="reference" href="#editor-keybindings" id="id151" name="id151">Editor keybindings</a></li>
-<li><a class="reference" href="#clipboard-keybindings" id="id152" name="id152">Clipboard keybindings</a></li>
-<li><a class="reference" href="#select-keybindings" id="id153" name="id153">Select keybindings</a></li>
-<li><a class="reference" href="#insert-keybindings" id="id154" name="id154">Insert keybindings</a></li>
-<li><a class="reference" href="#format-keybindings" id="id155" name="id155">Format keybindings</a></li>
-<li><a class="reference" href="#settings-keybindings" id="id156" name="id156">Settings keybindings</a></li>
-<li><a class="reference" href="#search-keybindings" id="id157" name="id157">Search keybindings</a></li>
-<li><a class="reference" href="#go-to-keybindings" id="id158" name="id158">Go to keybindings</a></li>
-<li><a class="reference" href="#view-keybindings" id="id159" name="id159">View keybindings</a></li>
-<li><a class="reference" href="#focus-keybindings" id="id160" name="id160">Focus keybindings</a></li>
-<li><a class="reference" href="#notebook-tab-keybindings" id="id161" name="id161">Notebook tab keybindings</a></li>
-<li><a class="reference" href="#document-keybindings" id="id162" name="id162">Document keybindings</a></li>
-<li><a class="reference" href="#build-keybindings" id="id163" name="id163">Build keybindings</a></li>
-<li><a class="reference" href="#tools-keybindings" id="id164" name="id164">Tools keybindings</a></li>
-<li><a class="reference" href="#help-keybindings" id="id165" name="id165">Help keybindings</a></li>
+<li><a class="reference" href="#printing-support" id="id146" name="id146">Printing support</a></li>
+<li><a class="reference" href="#plugins" id="id147" name="id147">Plugins</a></li>
+<li><a class="reference" href="#keybindings" id="id148" name="id148">Keybindings</a><ul>
+<li><a class="reference" href="#switching-documents" id="id149" name="id149">Switching documents</a></li>
+<li><a class="reference" href="#configurable-keybindings" id="id150" name="id150">Configurable keybindings</a><ul>
+<li><a class="reference" href="#file-keybindings" id="id151" name="id151">File keybindings</a></li>
+<li><a class="reference" href="#editor-keybindings" id="id152" name="id152">Editor keybindings</a></li>
+<li><a class="reference" href="#clipboard-keybindings" id="id153" name="id153">Clipboard keybindings</a></li>
+<li><a class="reference" href="#select-keybindings" id="id154" name="id154">Select keybindings</a></li>
+<li><a class="reference" href="#insert-keybindings" id="id155" name="id155">Insert keybindings</a></li>
+<li><a class="reference" href="#format-keybindings" id="id156" name="id156">Format keybindings</a></li>
+<li><a class="reference" href="#settings-keybindings" id="id157" name="id157">Settings keybindings</a></li>
+<li><a class="reference" href="#search-keybindings" id="id158" name="id158">Search keybindings</a></li>
+<li><a class="reference" href="#go-to-keybindings" id="id159" name="id159">Go to keybindings</a></li>
+<li><a class="reference" href="#view-keybindings" id="id160" name="id160">View keybindings</a></li>
+<li><a class="reference" href="#focus-keybindings" id="id161" name="id161">Focus keybindings</a></li>
+<li><a class="reference" href="#notebook-tab-keybindings" id="id162" name="id162">Notebook tab keybindings</a></li>
+<li><a class="reference" href="#document-keybindings" id="id163" name="id163">Document keybindings</a></li>
+<li><a class="reference" href="#build-keybindings" id="id164" name="id164">Build keybindings</a></li>
+<li><a class="reference" href="#tools-keybindings" id="id165" name="id165">Tools keybindings</a></li>
+<li><a class="reference" href="#help-keybindings" id="id166" name="id166">Help keybindings</a></li>
 </ul>
 </li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#id4" id="id166" name="id166">Configuration files</a><ul>
-<li><a class="reference" href="#tools-menu-items" id="id167" name="id167">Tools menu items</a></li>
-<li><a class="reference" href="#global-configuration-file" id="id168" name="id168">Global configuration file</a></li>
-<li><a class="reference" href="#filetype-definition-files" id="id169" name="id169">Filetype definition files</a><ul>
-<li><a class="reference" href="#custom-filetypes" id="id170" name="id170">Custom filetypes</a></li>
-<li><a class="reference" href="#system-files" id="id171" name="id171">System files</a></li>
-<li><a class="reference" href="#user-files" id="id172" name="id172">User files</a></li>
-<li><a class="reference" href="#format" id="id173" name="id173">Format</a><ul>
-<li><a class="reference" href="#styling-section" id="id174" name="id174">[styling] Section</a><ul>
-<li><a class="reference" href="#using-a-named-style" id="id175" name="id175">Using a named style</a></li>
+<li><a class="reference" href="#id4" id="id167" name="id167">Configuration files</a><ul>
+<li><a class="reference" href="#tools-menu-items" id="id168" name="id168">Tools menu items</a></li>
+<li><a class="reference" href="#global-configuration-file" id="id169" name="id169">Global configuration file</a></li>
+<li><a class="reference" href="#filetype-definition-files" id="id170" name="id170">Filetype definition files</a><ul>
+<li><a class="reference" href="#custom-filetypes" id="id171" name="id171">Custom filetypes</a></li>
+<li><a class="reference" href="#system-files" id="id172" name="id172">System files</a></li>
+<li><a class="reference" href="#user-files" id="id173" name="id173">User files</a></li>
+<li><a class="reference" href="#format" id="id174" name="id174">Format</a><ul>
+<li><a class="reference" href="#styling-section" id="id175" name="id175">[styling] Section</a><ul>
+<li><a class="reference" href="#using-a-named-style" id="id176" name="id176">Using a named style</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#keywords-section" id="id176" name="id176">[keywords] Section</a></li>
-<li><a class="reference" href="#lexer-properties-section" id="id177" name="id177">[lexer_properties] Section</a></li>
-<li><a class="reference" href="#settings-section" id="id178" name="id178">[settings] Section</a></li>
-<li><a class="reference" href="#build-settings-section" id="id179" name="id179">[build_settings] Section</a></li>
+<li><a class="reference" href="#keywords-section" id="id177" name="id177">[keywords] Section</a></li>
+<li><a class="reference" href="#lexer-properties-section" id="id178" name="id178">[lexer_properties] Section</a></li>
+<li><a class="reference" href="#settings-section" id="id179" name="id179">[settings] Section</a></li>
+<li><a class="reference" href="#build-settings-section" id="id180" name="id180">[build_settings] Section</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#special-file-filetypes-common" id="id180" name="id180">Special file filetypes.common</a><ul>
-<li><a class="reference" href="#named-styles-section" id="id181" name="id181">[named_styles] Section</a></li>
-<li><a class="reference" href="#id5" id="id182" name="id182">[styling] Section</a></li>
-<li><a class="reference" href="#id6" id="id183" name="id183">[settings] Section</a></li>
+<li><a class="reference" href="#special-file-filetypes-common" id="id181" name="id181">Special file filetypes.common</a><ul>
+<li><a class="reference" href="#named-styles-section" id="id182" name="id182">[named_styles] Section</a></li>
+<li><a class="reference" href="#id5" id="id183" name="id183">[styling] Section</a></li>
+<li><a class="reference" href="#id6" id="id184" name="id184">[settings] Section</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#filetype-extensions" id="id184" name="id184">Filetype extensions</a></li>
-<li><a class="reference" href="#preferences-file-format" id="id185" name="id185">Preferences File Format</a><ul>
-<li><a class="reference" href="#hidden-preferences" id="id186" name="id186">Hidden preferences</a></li>
-<li><a class="reference" href="#build-menu-section" id="id187" name="id187">[build-menu] Section</a></li>
+<li><a class="reference" href="#filetype-extensions" id="id185" name="id185">Filetype extensions</a></li>
+<li><a class="reference" href="#preferences-file-format" id="id186" name="id186">Preferences File Format</a><ul>
+<li><a class="reference" href="#hidden-preferences" id="id187" name="id187">Hidden preferences</a></li>
+<li><a class="reference" href="#build-menu-section" id="id188" name="id188">[build-menu] Section</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#project-file-format" id="id188" name="id188">Project File Format</a><ul>
-<li><a class="reference" href="#build-menu-additions" id="id189" name="id189">[build-menu] Additions</a></li>
+<li><a class="reference" href="#project-file-format" id="id189" name="id189">Project File Format</a><ul>
+<li><a class="reference" href="#build-menu-additions" id="id190" name="id190">[build-menu] Additions</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#templates" id="id190" name="id190">Templates</a><ul>
-<li><a class="reference" href="#template-meta-data" id="id191" name="id191">Template meta data</a></li>
-<li><a class="reference" href="#file-templates" id="id192" name="id192">File templates</a><ul>
-<li><a class="reference" href="#custom-file-templates" id="id193" name="id193">Custom file templates</a></li>
-<li><a class="reference" href="#filetype-templates" id="id194" name="id194">Filetype templates</a></li>
+<li><a class="reference" href="#templates" id="id191" name="id191">Templates</a><ul>
+<li><a class="reference" href="#template-meta-data" id="id192" name="id192">Template meta data</a></li>
+<li><a class="reference" href="#file-templates" id="id193" name="id193">File templates</a><ul>
+<li><a class="reference" href="#custom-file-templates" id="id194" name="id194">Custom file templates</a></li>
+<li><a class="reference" href="#filetype-templates" id="id195" name="id195">Filetype templates</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#customizing-templates" id="id195" name="id195">Customizing templates</a><ul>
-<li><a class="reference" href="#template-wildcards" id="id196" name="id196">Template wildcards</a><ul>
-<li><a class="reference" href="#special-command-wildcard" id="id197" name="id197">Special {command:} wildcard</a></li>
+<li><a class="reference" href="#customizing-templates" id="id196" name="id196">Customizing templates</a><ul>
+<li><a class="reference" href="#template-wildcards" id="id197" name="id197">Template wildcards</a><ul>
+<li><a class="reference" href="#special-command-wildcard" id="id198" name="id198">Special {command:} wildcard</a></li>
 </ul>
 </li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#customizing-the-toolbar" id="id198" name="id198">Customizing the toolbar</a><ul>
-<li><a class="reference" href="#manually-editing-of-the-toolbar-layout" id="id199" name="id199">Manually editing of the toolbar layout</a></li>
-<li><a class="reference" href="#available-toolbar-elements" id="id200" name="id200">Available toolbar elements</a></li>
+<li><a class="reference" href="#customizing-the-toolbar" id="id199" name="id199">Customizing the toolbar</a><ul>
+<li><a class="reference" href="#manually-editing-of-the-toolbar-layout" id="id200" name="id200">Manually editing of the toolbar layout</a></li>
+<li><a class="reference" href="#available-toolbar-elements" id="id201" name="id201">Available toolbar elements</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#plugin-documentation" id="id201" name="id201">Plugin documentation</a><ul>
-<li><a class="reference" href="#save-actions" id="id202" name="id202">Save Actions</a><ul>
-<li><a class="reference" href="#instant-save" id="id203" name="id203">Instant Save</a></li>
-<li><a class="reference" href="#backup-copy" id="id204" name="id204">Backup Copy</a></li>
+<li><a class="reference" href="#plugin-documentation" id="id202" name="id202">Plugin documentation</a><ul>
+<li><a class="reference" href="#save-actions" id="id203" name="id203">Save Actions</a><ul>
+<li><a class="reference" href="#instant-save" id="id204" name="id204">Instant Save</a></li>
+<li><a class="reference" href="#backup-copy" id="id205" name="id205">Backup Copy</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#contributing-to-this-document" id="id205" name="id205">Contributing to this document</a></li>
-<li><a class="reference" href="#scintilla-keyboard-commands" id="id206" name="id206">Scintilla keyboard commands</a><ul>
-<li><a class="reference" href="#keyboard-commands" id="id207" name="id207">Keyboard commands</a></li>
+<li><a class="reference" href="#contributing-to-this-document" id="id206" name="id206">Contributing to this document</a></li>
+<li><a class="reference" href="#scintilla-keyboard-commands" id="id207" name="id207">Scintilla keyboard commands</a><ul>
+<li><a class="reference" href="#keyboard-commands" id="id208" name="id208">Keyboard commands</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#tips-and-tricks" id="id208" name="id208">Tips and tricks</a><ul>
-<li><a class="reference" href="#document-notebook" id="id209" name="id209">Document notebook</a></li>
-<li><a class="reference" href="#editor" id="id210" name="id210">Editor</a></li>
-<li><a class="reference" href="#interface" id="id211" name="id211">Interface</a></li>
-<li><a class="reference" href="#gtk-related" id="id212" name="id212">GTK-related</a></li>
+<li><a class="reference" href="#tips-and-tricks" id="id209" name="id209">Tips and tricks</a><ul>
+<li><a class="reference" href="#document-notebook" id="id210" name="id210">Document notebook</a></li>
+<li><a class="reference" href="#editor" id="id211" name="id211">Editor</a></li>
+<li><a class="reference" href="#interface" id="id212" name="id212">Interface</a></li>
+<li><a class="reference" href="#gtk-related" id="id213" name="id213">GTK-related</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#compile-time-options" id="id213" name="id213">Compile-time options</a><ul>
-<li><a class="reference" href="#src-geany-h" id="id214" name="id214">src/geany.h</a></li>
-<li><a class="reference" href="#project-h" id="id215" name="id215">project.h</a></li>
-<li><a class="reference" href="#editor-h" id="id216" name="id216">editor.h</a></li>
-<li><a class="reference" href="#keyfile-c" id="id217" name="id217">keyfile.c</a></li>
-<li><a class="reference" href="#build-c" id="id218" name="id218">build.c</a></li>
+<li><a class="reference" href="#compile-time-options" id="id214" name="id214">Compile-time options</a><ul>
+<li><a class="reference" href="#src-geany-h" id="id215" name="id215">src/geany.h</a></li>
+<li><a class="reference" href="#project-h" id="id216" name="id216">project.h</a></li>
+<li><a class="reference" href="#editor-h" id="id217" name="id217">editor.h</a></li>
+<li><a class="reference" href="#keyfile-c" id="id218" name="id218">keyfile.c</a></li>
+<li><a class="reference" href="#build-c" id="id219" name="id219">build.c</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#gnu-general-public-license" id="id219" name="id219">GNU General Public License</a></li>
-<li><a class="reference" href="#license-for-scintilla-and-scite" id="id220" name="id220">License for Scintilla and SciTE</a></li>
+<li><a class="reference" href="#gnu-general-public-license" id="id220" name="id220">GNU General Public License</a></li>
+<li><a class="reference" href="#license-for-scintilla-and-scite" id="id221" name="id221">License for Scintilla and SciTE</a></li>
 </ul>
 </div>
 <div class="section">
@@ -1488,6 +1489,7 @@
 and the editor window's popup menu:</p>
 <ul class="simple">
 <li>Find</li>
+<li>Find selection</li>
 <li>Find usage</li>
 <li>Find in files</li>
 <li>Replace</li>
@@ -1567,7 +1569,36 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id63" id="find-usage" name="find-usage">Find usage</a></h3>
+<h3><a class="toc-backref" href="#id63" id="find-selection" name="find-selection">Find selection</a></h3>
+<p>The <em>Find Next/Previous Selection</em> commands perform a search for the
+current selected text. If nothing is selected, by default the current
+word is used instead. This can be customized by the
+<em>find_selection_type</em> hidden pref - see <a class="reference" href="#hidden-preferences">Hidden preferences</a>.</p>
+<table border="1" class="docutils">
+<colgroup>
+<col width="10%" />
+<col width="90%" />
+</colgroup>
+<thead valign="bottom">
+<tr><th class="head">Value</th>
+<th class="head"><em>find_selection_type</em> behaviour</th>
+</tr>
+</thead>
+<tbody valign="top">
+<tr><td>0</td>
+<td>Use the current word (default).</td>
+</tr>
+<tr><td>1</td>
+<td>Try the X selection first, then current word.</td>
+</tr>
+<tr><td>2</td>
+<td>Repeat last search.</td>
+</tr>
+</tbody>
+</table>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id64" id="find-usage" name="find-usage">Find usage</a></h3>
 <p>Find usage searches all open files. It is similar to the Find All In
 Session option in the Find dialog.</p>
 <p>If there is a selection, then it is used as the search text; otherwise
@@ -1577,7 +1608,7 @@
 shown in the Messages tab of the Message Window.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id64" id="find-in-files" name="find-in-files">Find in files</a></h3>
+<h3><a class="toc-backref" href="#id65" id="find-in-files" name="find-in-files">Find in files</a></h3>
 <p>Find in files is a more powerful version of Find usage that searches
 all files in a certain directory using the Grep tool. The Grep tool
 must be correctly set in Preferences to the path of the system's Grep
@@ -1598,7 +1629,7 @@
 Grep implementations.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id65" id="filtering-out-version-control-files" name="filtering-out-version-control-files">Filtering out version control files</a></h4>
+<h4><a class="toc-backref" href="#id66" id="filtering-out-version-control-files" name="filtering-out-version-control-files">Filtering out version control files</a></h4>
 <p>When using the <em>Recurse in subfolders</em> option with a directory that's
 under version control, you can set the <em>Extra options</em> field to filter
 out version control files.</p>
@@ -1612,7 +1643,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id66" id="replace" name="replace">Replace</a></h3>
+<h3><a class="toc-backref" href="#id67" id="replace" name="replace">Replace</a></h3>
 <p>The Replace dialog is used for replacing text in one or more open
 documents.</p>
 <img alt="./images/replace_dialog.png" src="./images/replace_dialog.png" />
@@ -1622,7 +1653,7 @@
 be used in the search string and back references in the replacement
 text -- see the entry for '\n' in <a class="reference" href="#regular-expressions">Regular expressions</a>.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id67" id="replace-all" name="replace-all">Replace all</a></h4>
+<h4><a class="toc-backref" href="#id68" id="replace-all" name="replace-all">Replace all</a></h4>
 <p>To replace several matches, click on the <em>Replace All</em> expander. This
 will reveal several options:</p>
 <ul class="simple">
@@ -1637,7 +1668,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id68" id="go-to-tag-definition" name="go-to-tag-definition">Go to tag definition</a></h3>
+<h3><a class="toc-backref" href="#id69" id="go-to-tag-definition" name="go-to-tag-definition">Go to tag definition</a></h3>
 <p>If the current word is the name of a tag definition (like a function
 body) and the file containing the tag definition is open, this command
 will switch to that file and go to the corresponding line number. The
@@ -1646,17 +1677,17 @@
 menu is used.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id69" id="go-to-tag-declaration" name="go-to-tag-declaration">Go to tag declaration</a></h3>
+<h3><a class="toc-backref" href="#id70" id="go-to-tag-declaration" name="go-to-tag-declaration">Go to tag declaration</a></h3>
 <p>Like Go to tag definition, but for a forward declaration such as a
 C function prototype or <tt class="docutils literal"><span class="pre">extern</span></tt> declaration instead of a function
 body.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id70" id="go-to-line" name="go-to-line">Go to line</a></h3>
+<h3><a class="toc-backref" href="#id71" id="go-to-line" name="go-to-line">Go to line</a></h3>
 <p>Go to a particular line number in the current file.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id71" id="regular-expressions" name="regular-expressions">Regular expressions</a></h3>
+<h3><a class="toc-backref" href="#id72" id="regular-expressions" name="regular-expressions">Regular expressions</a></h3>
 <p>You can use regular expressions in the Find and Replace dialogs
 by selecting the <em>Use regular expressions</em> check box (see <a class="reference" href="#matching-options">Matching
 options</a>). The syntax is POSIX compatible, as described in the table
@@ -1770,7 +1801,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id72" id="tags" name="tags">Tags</a></h2>
+<h2><a class="toc-backref" href="#id73" id="tags" name="tags">Tags</a></h2>
 <p>Tags are information that relates symbols in a program with the
 source file location of the declaration and definition.</p>
 <p>Geany has built-in functionality for generating tag information (aka
@@ -1781,7 +1812,7 @@
 (but is incompatible with ctags). You use Geany to generate global
 tags files, as described below.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id73" id="workspace-tags" name="workspace-tags">Workspace tags</a></h3>
+<h3><a class="toc-backref" href="#id74" id="workspace-tags" name="workspace-tags">Workspace tags</a></h3>
 <p>Tags for each document are parsed whenever a file is loaded or
 saved. These are shown in the Symbol list in the Sidebar. These tags
 are also used for autocompletion of symbols and calltips for all documents
@@ -1790,7 +1821,7 @@
 <a class="reference" href="#go-to-tag-definition">Go to tag definition</a>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id74" id="global-tags" name="global-tags">Global tags</a></h3>
+<h3><a class="toc-backref" href="#id75" id="global-tags" name="global-tags">Global tags</a></h3>
 <p>Global tags are used to provide autocompletion of symbols and calltips
 without having to open the corresponding source files. This is intended
 for library APIs, as the tags file only has to be updated when you upgrade
@@ -1813,7 +1844,7 @@
 with the tags. See the section called <a class="reference" href="#filetype-extensions">Filetype extensions</a> for
 more information.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id75" id="default-global-tags-files" name="default-global-tags-files">Default global tags files</a></h4>
+<h4><a class="toc-backref" href="#id76" id="default-global-tags-files" name="default-global-tags-files">Default global tags files</a></h4>
 <p>For some languages, a list of global tags is loaded when the
 corresponding filetype is first used. Currently these are for:</p>
 <ul class="simple">
@@ -1826,7 +1857,7 @@
 </ul>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id76" id="global-tags-file-format" name="global-tags-file-format">Global tags file format</a></h4>
+<h4><a class="toc-backref" href="#id77" id="global-tags-file-format" name="global-tags-file-format">Global tags file format</a></h4>
 <p>Global tags files can have two different formats:</p>
 <ul class="simple">
 <li>Tagmanager format</li>
@@ -1863,7 +1894,7 @@
 section <a class="reference" href="#global-tags">Global tags</a>.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id77" id="generating-a-global-tags-file" name="generating-a-global-tags-file">Generating a global tags file</a></h4>
+<h4><a class="toc-backref" href="#id78" id="generating-a-global-tags-file" name="generating-a-global-tags-file">Generating a global tags file</a></h4>
 <p>You can generate your own global tags files by parsing a list of
 source files. The command is:</p>
 <pre class="literal-block">
@@ -1908,7 +1939,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id78" id="ignore-tags" name="ignore-tags">Ignore tags</a></h3>
+<h3><a class="toc-backref" href="#id79" id="ignore-tags" name="ignore-tags">Ignore tags</a></h3>
 <p>You can also ignore certain tags if they would lead to wrong parsing of
 the code. Simply create a file called "ignore.tags" in your Geany
 configuration directory (usually <tt class="docutils literal"><span class="pre">~/.config/geany/</span></tt>). Then list all tags
@@ -1932,7 +1963,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id79" id="preferences" name="preferences">Preferences</a></h2>
+<h2><a class="toc-backref" href="#id80" id="preferences" name="preferences">Preferences</a></h2>
 <p>You may adjust Geany's settings using the Edit --> Preferences
 dialog. Any changes you make there can be applied by hitting either
 the Apply or the OK button. These settings will persist between Geany
@@ -1950,10 +1981,10 @@
 comes after the screenshot of that tab.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id80" id="general-startup-preferences" name="general-startup-preferences">General Startup preferences</a></h3>
+<h3><a class="toc-backref" href="#id81" id="general-startup-preferences" name="general-startup-preferences">General Startup preferences</a></h3>
 <img alt="./images/pref_dialog_gen_startup.png" src="./images/pref_dialog_gen_startup.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id81" id="id1" name="id1">Startup</a></h4>
+<h4><a class="toc-backref" href="#id82" id="id1" name="id1">Startup</a></h4>
 <dl class="docutils">
 <dt>Load files from the last session</dt>
 <dd>On startup, load the same files you had open the last time you
@@ -1965,7 +1996,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id82" id="shutdown" name="shutdown">Shutdown</a></h4>
+<h4><a class="toc-backref" href="#id83" id="shutdown" name="shutdown">Shutdown</a></h4>
 <dl class="docutils">
 <dt>Save window position and geometry</dt>
 <dd>Save the current position and size of the main window so next time
@@ -1975,7 +2006,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id83" id="paths" name="paths">Paths</a></h4>
+<h4><a class="toc-backref" href="#id84" id="paths" name="paths">Paths</a></h4>
 <dl class="docutils">
 <dt>Startup path</dt>
 <dd>Path to start in when opening or saving files.
@@ -1994,10 +2025,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id84" id="general-miscellaneous-preferences" name="general-miscellaneous-preferences">General Miscellaneous preferences</a></h3>
+<h3><a class="toc-backref" href="#id85" id="general-miscellaneous-preferences" name="general-miscellaneous-preferences">General Miscellaneous preferences</a></h3>
 <img alt="./images/pref_dialog_gen_misc.png" src="./images/pref_dialog_gen_misc.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id85" id="miscellaneous" name="miscellaneous">Miscellaneous</a></h4>
+<h4><a class="toc-backref" href="#id86" id="miscellaneous" name="miscellaneous">Miscellaneous</a></h4>
 <dl class="docutils">
 <dt>Beep on errors when compilation has finished</dt>
 <dd>Have the computer make a beeping sound when compilation of your program
@@ -2025,7 +2056,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id86" id="search" name="search">Search</a></h4>
+<h4><a class="toc-backref" href="#id87" id="search" name="search">Search</a></h4>
 <dl class="docutils">
 <dt>Always wrap search and hide the Find dialog</dt>
 <dd>Always wrap search around the document and hide the Find dialog after clicking
@@ -2041,7 +2072,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id87" id="projects" name="projects">Projects</a></h4>
+<h4><a class="toc-backref" href="#id88" id="projects" name="projects">Projects</a></h4>
 <dl class="docutils">
 <dt>Use project-based session files</dt>
 <dd>Save your current session when closing projects. You will be able to
@@ -2058,10 +2089,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id88" id="interface-preferences" name="interface-preferences">Interface preferences</a></h3>
+<h3><a class="toc-backref" href="#id89" id="interface-preferences" name="interface-preferences">Interface preferences</a></h3>
 <img alt="./images/pref_dialog_interface.png" src="./images/pref_dialog_interface.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id89" id="sidebar" name="sidebar">Sidebar</a></h4>
+<h4><a class="toc-backref" href="#id90" id="sidebar" name="sidebar">Sidebar</a></h4>
 <dl class="docutils">
 <dt>Show sidebar</dt>
 <dd>Whether to show the sidebar at all.</dd>
@@ -2077,7 +2108,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id90" id="fonts" name="fonts">Fonts</a></h4>
+<h4><a class="toc-backref" href="#id91" id="fonts" name="fonts">Fonts</a></h4>
 <dl class="docutils">
 <dt>Editor</dt>
 <dd>Change the font used to display documents.</dd>
@@ -2088,7 +2119,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id91" id="editor-tabs" name="editor-tabs">Editor tabs</a></h4>
+<h4><a class="toc-backref" href="#id92" id="editor-tabs" name="editor-tabs">Editor tabs</a></h4>
 <dl class="docutils">
 <dt>Show editor tabs</dt>
 <dd>Show a notebook tab for all documents so you can switch between them
@@ -2108,7 +2139,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id92" id="tab-positions" name="tab-positions">Tab positions</a></h4>
+<h4><a class="toc-backref" href="#id93" id="tab-positions" name="tab-positions">Tab positions</a></h4>
 <dl class="docutils">
 <dt>Editor</dt>
 <dd>Set the positioning of the editor's notebook tabs to the right,
@@ -2122,7 +2153,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id93" id="id2" name="id2">Miscellaneous</a></h4>
+<h4><a class="toc-backref" href="#id94" id="id2" name="id2">Miscellaneous</a></h4>
 <dl class="docutils">
 <dt>Show status bar</dt>
 <dd>Show the status bar at the bottom of the main window. It gives information about
@@ -2132,11 +2163,11 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id94" id="toolbar-preferences" name="toolbar-preferences">Toolbar preferences</a></h3>
+<h3><a class="toc-backref" href="#id95" id="toolbar-preferences" name="toolbar-preferences">Toolbar preferences</a></h3>
 <p>Affects the main toolbar underneath the menu bar.</p>
 <img alt="./images/pref_dialog_toolbar.png" src="./images/pref_dialog_toolbar.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id95" id="toolbar" name="toolbar">Toolbar</a></h4>
+<h4><a class="toc-backref" href="#id96" id="toolbar" name="toolbar">Toolbar</a></h4>
 <dl class="docutils">
 <dt>Show Toolbar</dt>
 <dd>Whether to show the toolbar.</dd>
@@ -2148,7 +2179,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id96" id="appearance" name="appearance">Appearance</a></h4>
+<h4><a class="toc-backref" href="#id97" id="appearance" name="appearance">Appearance</a></h4>
 <dl class="docutils">
 <dt>Icon Style</dt>
 <dd>Select the toolbar icon style to use - either icons and text, just
@@ -2161,10 +2192,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id97" id="editor-features-preferences" name="editor-features-preferences">Editor Features preferences</a></h3>
+<h3><a class="toc-backref" href="#id98" id="editor-features-preferences" name="editor-features-preferences">Editor Features preferences</a></h3>
 <img alt="./images/pref_dialog_edit_features.png" src="./images/pref_dialog_edit_features.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id98" id="features" name="features">Features</a></h4>
+<h4><a class="toc-backref" href="#id99" id="features" name="features">Features</a></h4>
 <dl class="docutils">
 <dt>Line wrapping</dt>
 <dd>Show long lines wrapped around to new display lines.</dd>
@@ -2196,10 +2227,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id99" id="editor-indentation-preferences" name="editor-indentation-preferences">Editor Indentation preferences</a></h3>
+<h3><a class="toc-backref" href="#id100" id="editor-indentation-preferences" name="editor-indentation-preferences">Editor Indentation preferences</a></h3>
 <img alt="./images/pref_dialog_edit_indentation.png" src="./images/pref_dialog_edit_indentation.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id100" id="indentation-group" name="indentation-group">Indentation group</a></h4>
+<h4><a class="toc-backref" href="#id101" id="indentation-group" name="indentation-group">Indentation group</a></h4>
 <p>See <a class="reference" href="#indentation">Indentation</a> for more information.</p>
 <dl class="docutils">
 <dt>Type</dt>
@@ -2248,10 +2279,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id101" id="editor-completions-preferences" name="editor-completions-preferences">Editor Completions preferences</a></h3>
+<h3><a class="toc-backref" href="#id102" id="editor-completions-preferences" name="editor-completions-preferences">Editor Completions preferences</a></h3>
 <img alt="./images/pref_dialog_edit_completions.png" src="./images/pref_dialog_edit_completions.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id102" id="completions" name="completions">Completions</a></h4>
+<h4><a class="toc-backref" href="#id103" id="completions" name="completions">Completions</a></h4>
 <dl class="docutils">
 <dt>Snippet Completion</dt>
 <dd>Whether to replace special keywords after typing Tab into a
@@ -2296,7 +2327,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id103" id="auto-close-quotes-and-brackets" name="auto-close-quotes-and-brackets">Auto-close quotes and brackets</a></h4>
+<h4><a class="toc-backref" href="#id104" id="auto-close-quotes-and-brackets" name="auto-close-quotes-and-brackets">Auto-close quotes and brackets</a></h4>
 <p>Geany can automatically insert a closing bracket and quote characters when
 you open them. For instance, you type a <tt class="docutils literal"><span class="pre">(</span></tt> and Geany will automatically
 insert <tt class="docutils literal"><span class="pre">)</span></tt>. With the following options, you can define for which
@@ -2316,11 +2347,11 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id104" id="editor-display-preferences" name="editor-display-preferences">Editor Display preferences</a></h3>
+<h3><a class="toc-backref" href="#id105" id="editor-display-preferences" name="editor-display-preferences">Editor Display preferences</a></h3>
 <p>This is for visual elements displayed in the editor window.</p>
 <img alt="./images/pref_dialog_edit_display.png" src="./images/pref_dialog_edit_display.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id105" id="display" name="display">Display</a></h4>
+<h4><a class="toc-backref" href="#id106" id="display" name="display">Display</a></h4>
 <dl class="docutils">
 <dt>Invert syntax highlighting colors</dt>
 <dd>Invert all colors, by default this makes white text on a black
@@ -2345,7 +2376,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id106" id="long-line-marker" name="long-line-marker">Long line marker</a></h4>
+<h4><a class="toc-backref" href="#id107" id="long-line-marker" name="long-line-marker">Long line marker</a></h4>
 <p>The long line marker helps to indicate overly-long lines, or as a hint
 to the user for when to break the line.</p>
 <dl class="docutils">
@@ -2370,7 +2401,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id107" id="virtual-spaces" name="virtual-spaces">Virtual spaces</a></h4>
+<h4><a class="toc-backref" href="#id108" id="virtual-spaces" name="virtual-spaces">Virtual spaces</a></h4>
 <p>Virtual space is space beyond the end of each line.
 The cursor may be moved into virtual space but no real space will be
 added to the document until there is some text typed or some other
@@ -2386,10 +2417,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id108" id="files-preferences" name="files-preferences">Files preferences</a></h3>
+<h3><a class="toc-backref" href="#id109" id="files-preferences" name="files-preferences">Files preferences</a></h3>
 <img alt="./images/pref_dialog_files.png" src="./images/pref_dialog_files.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id109" id="new-files" name="new-files">New files</a></h4>
+<h4><a class="toc-backref" href="#id110" id="new-files" name="new-files">New files</a></h4>
 <dl class="docutils">
 <dt>Open new documents from the command-line</dt>
 <dd>Whether to create new documents when passing filenames that don't
@@ -2409,7 +2440,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id110" id="saving-files" name="saving-files">Saving files</a></h4>
+<h4><a class="toc-backref" href="#id111" id="saving-files" name="saving-files">Saving files</a></h4>
 <p>Perform formatting operations when a document is saved. These
 can each be undone with the Undo command.</p>
 <dl class="docutils">
@@ -2428,7 +2459,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id111" id="id3" name="id3">Miscellaneous</a></h4>
+<h4><a class="toc-backref" href="#id112" id="id3" name="id3">Miscellaneous</a></h4>
 <dl class="docutils">
 <dt>Recent files list length</dt>
 <dd>The number of files to remember in the recently used files list.</dd>
@@ -2447,10 +2478,10 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id112" id="tools-preferences" name="tools-preferences">Tools preferences</a></h3>
+<h3><a class="toc-backref" href="#id113" id="tools-preferences" name="tools-preferences">Tools preferences</a></h3>
 <img alt="./images/pref_dialog_tools.png" src="./images/pref_dialog_tools.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id113" id="tool-paths" name="tool-paths">Tool paths</a></h4>
+<h4><a class="toc-backref" href="#id114" id="tool-paths" name="tool-paths">Tool paths</a></h4>
 <dl class="docutils">
 <dt>Terminal</dt>
 <dd>The location of your terminal executable.</dd>
@@ -2468,7 +2499,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id114" id="commands" name="commands">Commands</a></h4>
+<h4><a class="toc-backref" href="#id115" id="commands" name="commands">Commands</a></h4>
 <dl class="docutils">
 <dt>Context action</dt>
 <dd>Set this to a command to execute on the current word.
@@ -2478,7 +2509,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id115" id="template-preferences" name="template-preferences">Template preferences</a></h3>
+<h3><a class="toc-backref" href="#id116" id="template-preferences" name="template-preferences">Template preferences</a></h3>
 <p>This data is used as meta data for various template text to insert into
 a document, such as the file header. You only need to set fields that
 you want to use in your template files.</p>
@@ -2489,7 +2520,7 @@
 </div>
 <img alt="./images/pref_dialog_templ.png" src="./images/pref_dialog_templ.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id116" id="template-data" name="template-data">Template data</a></h4>
+<h4><a class="toc-backref" href="#id117" id="template-data" name="template-data">Template data</a></h4>
 <dl class="docutils">
 <dt>Developer</dt>
 <dd>The name of the developer who will be creating files.</dd>
@@ -2522,7 +2553,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id117" id="keybinding-preferences" name="keybinding-preferences">Keybinding preferences</a></h3>
+<h3><a class="toc-backref" href="#id118" id="keybinding-preferences" name="keybinding-preferences">Keybinding preferences</a></h3>
 <img alt="./images/pref_dialog_keys.png" src="./images/pref_dialog_keys.png" />
 <p>There are some commands listed in the keybinding dialog that are not, by default,
 bound to a key combination, and may not be available as a menu item.</p>
@@ -2532,7 +2563,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id118" id="printing-preferences" name="printing-preferences">Printing preferences</a></h3>
+<h3><a class="toc-backref" href="#id119" id="printing-preferences" name="printing-preferences">Printing preferences</a></h3>
 <img alt="./images/pref_dialog_printing.png" src="./images/pref_dialog_printing.png" />
 <dl class="docutils">
 <dt>Use external command for printing</dt>
@@ -2554,11 +2585,11 @@
 </dl>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id119" id="terminal-vte-preferences" name="terminal-vte-preferences">Terminal (VTE) preferences</a></h3>
+<h3><a class="toc-backref" href="#id120" id="terminal-vte-preferences" name="terminal-vte-preferences">Terminal (VTE) preferences</a></h3>
 <p>See also: <a class="reference" href="#virtual-terminal-emulator-widget-vte">Virtual terminal emulator widget (VTE)</a>.</p>
 <img alt="./images/pref_dialog_vte.png" src="./images/pref_dialog_vte.png" />
 <div class="section">
-<h4><a class="toc-backref" href="#id120" id="terminal-widget" name="terminal-widget">Terminal widget</a></h4>
+<h4><a class="toc-backref" href="#id121" id="terminal-widget" name="terminal-widget">Terminal widget</a></h4>
 <dl class="docutils">
 <dt>Terminal font</dt>
 <dd>Select the font that will be used in the terminal emulation control.</dd>
@@ -2597,7 +2628,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id121" id="project-management" name="project-management">Project Management</a></h2>
+<h2><a class="toc-backref" href="#id122" id="project-management" name="project-management">Project Management</a></h2>
 <p>Project Management is optional in Geany. Currently it can be used for:</p>
 <ul class="simple">
 <li>Storing and opening session files on a project basis.</li>
@@ -2614,7 +2645,7 @@
 file that was in use at the end of the last session will be reopened.</p>
 <p>The project menu items are detailed below.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id122" id="new-project" name="new-project">New Project</a></h3>
+<h3><a class="toc-backref" href="#id123" id="new-project" name="new-project">New Project</a></h3>
 <p>To create a new project, fill in the <em>Name</em> field. By default this
 will setup a new project file <tt class="docutils literal"><span class="pre">~/projects/name.geany</span></tt>. Usually it's
 best to store all your project files in the same directory (they are
@@ -2624,7 +2655,7 @@
 structure contained in it.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id123" id="project-properties" name="project-properties">Project Properties</a></h3>
+<h3><a class="toc-backref" href="#id124" id="project-properties" name="project-properties">Project Properties</a></h3>
 <p>You can set an optional description for the project, but it is not
 used elsewhere by Geany.</p>
 <p>The <em>Base path</em> field is used as the directory to run the Build menu commands.
@@ -2632,7 +2663,7 @@
 relative to the project's file name.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id124" id="open-project" name="open-project">Open Project</a></h3>
+<h3><a class="toc-backref" href="#id125" id="open-project" name="open-project">Open Project</a></h3>
 <p>The Open command displays a standard file chooser, starting in
 <tt class="docutils literal"><span class="pre">~/projects</span></tt>. Choose a project file named with the <tt class="docutils literal"><span class="pre">.geany</span></tt>
 extension.</p>
@@ -2640,14 +2671,14 @@
 open files and open the session files associated with the project.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id125" id="close-project" name="close-project">Close Project</a></h3>
+<h3><a class="toc-backref" href="#id126" id="close-project" name="close-project">Close Project</a></h3>
 <p>Project file settings are saved when the project is closed.</p>
 <p>When project session support is enabled, Geany will close the project
 session files and open any previously closed default session files.</p>
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id126" id="build-menu" name="build-menu">Build Menu</a></h2>
+<h2><a class="toc-backref" href="#id127" id="build-menu" name="build-menu">Build Menu</a></h2>
 <p>After editing code with Geany, the next step is to compile, link, build,
 interpret, run etc.  As Geany supports many languages each with a different
 approach to such operations, and as there are also many language independent
@@ -2674,7 +2705,7 @@
 Dialog, see <a class="reference" href="#build-menu-configuration">Build Menu Configuration</a>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id127" id="indicators" name="indicators">Indicators</a></h3>
+<h3><a class="toc-backref" href="#id128" id="indicators" name="indicators">Indicators</a></h3>
 <p>Indicators are red squiggly underlines which are used to highlight
 errors which occurred while compiling the current file. So you can
 easily see where your code failed to compile. You can remove them by
@@ -2683,7 +2714,7 @@
 preferences</a>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id128" id="default-build-menu-items" name="default-build-menu-items">Default Build Menu Items</a></h3>
+<h3><a class="toc-backref" href="#id129" id="default-build-menu-items" name="default-build-menu-items">Default Build Menu Items</a></h3>
 <p>Depending on the current file's filetype, the default Build menu will contain
 the following items:</p>
 <ul class="simple">
@@ -2698,7 +2729,7 @@
 <li>Set Build Menu Commands</li>
 </ul>
 <div class="section">
-<h4><a class="toc-backref" href="#id129" id="compile" name="compile">Compile</a></h4>
+<h4><a class="toc-backref" href="#id130" id="compile" name="compile">Compile</a></h4>
 <p>The Compile command has different uses for different kinds of files.</p>
 <p>For compilable languages such as C and C++, the Compile command is
 set up to compile the current source file into a binary object file.</p>
@@ -2708,7 +2739,7 @@
 or if that is not available will run the file in its language interpreter.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id130" id="build" name="build">Build</a></h4>
+<h4><a class="toc-backref" href="#id131" id="build" name="build">Build</a></h4>
 <p>For compilable languages such as C and C++, the Build command will link
 the current source file's equivalent object file into an executable. If
 the object file does not exist, the source will be compiled and linked
@@ -2723,32 +2754,32 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id131" id="make" name="make">Make</a></h4>
+<h4><a class="toc-backref" href="#id132" id="make" name="make">Make</a></h4>
 <p>This runs "make" in the same directory as the
 current file.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id132" id="make-custom-target" name="make-custom-target">Make custom target</a></h4>
+<h4><a class="toc-backref" href="#id133" id="make-custom-target" name="make-custom-target">Make custom target</a></h4>
 <p>This is similar to running 'Make' but you will be prompted for
 the make target name to be passed to the Make tool. For example,
 typing 'clean' in the dialog prompt will run "make clean".</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id133" id="make-object" name="make-object">Make object</a></h4>
+<h4><a class="toc-backref" href="#id134" id="make-object" name="make-object">Make object</a></h4>
 <p>Make object will run "make current_file.o" in the same directory as
 the current file, using the filename for 'current_file'. It is useful
 for building just the current file without building the whole project.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id134" id="next-error" name="next-error">Next Error</a></h4>
+<h4><a class="toc-backref" href="#id135" id="next-error" name="next-error">Next Error</a></h4>
 <p>The next error item will move to the next detected error in the file.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id135" id="previous-error" name="previous-error">Previous Error</a></h4>
+<h4><a class="toc-backref" href="#id136" id="previous-error" name="previous-error">Previous Error</a></h4>
 <p>The previous error item will move to the previous detected error in the file.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id136" id="execute" name="execute">Execute</a></h4>
+<h4><a class="toc-backref" href="#id137" id="execute" name="execute">Execute</a></h4>
 <p>Execute will run the corresponding executable file, shell script or
 interpreted script in a terminal window. Note that the Terminal tool
 path must be correctly set in the Tools tab of the Preferences dialog -
@@ -2765,7 +2796,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id137" id="stopping-running-processes" name="stopping-running-processes">Stopping running processes</a></h4>
+<h4><a class="toc-backref" href="#id138" id="stopping-running-processes" name="stopping-running-processes">Stopping running processes</a></h4>
 <p>When there is a running program, the Execute menu item in the menu and
 the Run button in the toolbar
 each become a stop button so you can stop the current running program (and
@@ -2774,7 +2805,7 @@
 cannot be stopped. For example this can happen when the process creates
 more than one child process.</p>
 <div class="section">
-<h5><a class="toc-backref" href="#id138" id="terminal-emulators" name="terminal-emulators">Terminal emulators</a></h5>
+<h5><a class="toc-backref" href="#id139" id="terminal-emulators" name="terminal-emulators">Terminal emulators</a></h5>
 <p>Xterm is known to work properly. If you are using "Terminal"
 (the terminal program of Xfce), you should add the command line
 option <tt class="docutils literal"><span class="pre">--disable-server</span></tt> otherwise the started process cannot be
@@ -2783,7 +2814,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id139" id="set-build-commands" name="set-build-commands">Set Build Commands</a></h4>
+<h4><a class="toc-backref" href="#id140" id="set-build-commands" name="set-build-commands">Set Build Commands</a></h4>
 <p>By default the Compile and Build commands invoke the GCC compiler and
 linker with only the basic arguments needed by all programs. Using
 <em>Set Build Commands</em> you can add any include paths and compile
@@ -2792,7 +2823,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id140" id="build-menu-configuration" name="build-menu-configuration">Build Menu Configuration</a></h3>
+<h3><a class="toc-backref" href="#id141" id="build-menu-configuration" name="build-menu-configuration">Build Menu Configuration</a></h3>
 <p>The build menu has considerable flexibility and configurability, allowing
 both menu labels the commands they execute and the directory they execute
 in to be configured.</p>
@@ -2955,7 +2986,7 @@
 </ul>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id141" id="build-menu-commands-dialog" name="build-menu-commands-dialog">Build Menu Commands Dialog</a></h3>
+<h3><a class="toc-backref" href="#id142" id="build-menu-commands-dialog" name="build-menu-commands-dialog">Build Menu Commands Dialog</a></h3>
 <p>Most of the configuration of the build menu is done through the Build Menu
 Commands Dialog.  You edit the configuration sourced from preferences in the
 dialog opened from the Build->Build Menu Commands item and you edit the
@@ -2988,7 +3019,7 @@
 To hide lower priority menu items without having anything show in the menu
 configure with a nothing in the label but at least one character in the command.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id142" id="substitutions-in-commands-and-working-directories" name="substitutions-in-commands-and-working-directories">Substitutions in Commands and Working Directories</a></h4>
+<h4><a class="toc-backref" href="#id143" id="substitutions-in-commands-and-working-directories" name="substitutions-in-commands-and-working-directories">Substitutions in Commands and Working Directories</a></h4>
 <p>The first occurence of each of the following character sequences in each of the
 command and working directory fields is substituted by the items specified below
 before the command is run.</p>
@@ -3009,7 +3040,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id143" id="build-menu-keyboard-shortcuts" name="build-menu-keyboard-shortcuts">Build Menu Keyboard Shortcuts</a></h4>
+<h4><a class="toc-backref" href="#id144" id="build-menu-keyboard-shortcuts" name="build-menu-keyboard-shortcuts">Build Menu Keyboard Shortcuts</a></h4>
 <p>Keyboard shortcuts can be defined for the first two filetype menu items, the first three
 non-filetype menu items, the first two execute menu items and the fixed menu items.
 In the keybindings configuration dialog (see <a class="reference" href="#keybinding-preferences">Keybinding preferences</a>)
@@ -3018,7 +3049,7 @@
 <p>You can also use underlines in the labels to set mnemonic characters.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id144" id="configuration-files" name="configuration-files">Configuration Files</a></h4>
+<h4><a class="toc-backref" href="#id145" id="configuration-files" name="configuration-files">Configuration Files</a></h4>
 <p>The configurable Build Menu capability was introduced in Geany 0.19 and
 required a new section to be added to the configuration files (See
 <a class="reference" href="#preferences-file-format">Preferences File Format</a>).  Geany will still load older format project,
@@ -3034,7 +3065,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id145" id="printing-support" name="printing-support">Printing support</a></h2>
+<h2><a class="toc-backref" href="#id146" id="printing-support" name="printing-support">Printing support</a></h2>
 <p>Since Geany 0.13 there has been printing support using GTK's printing API.
 The printed page(s) will look nearly the same as on your screen in Geany.
 Additionally, there are some options to modify the printed page(s).</p>
@@ -3088,7 +3119,7 @@
 gtklp or similar programs can be used.</p>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id146" id="plugins" name="plugins">Plugins</a></h2>
+<h2><a class="toc-backref" href="#id147" id="plugins" name="plugins">Plugins</a></h2>
 <p>Plugins are loaded at startup, if the <em>Enable plugin support</em>
 general preference is set. There is also a command-line option,
 <tt class="docutils literal"><span class="pre">-p</span></tt>, which prevents plugins being loaded. Plugins are scanned in
@@ -3109,13 +3140,13 @@
 which are included in Geany.</p>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id147" id="keybindings" name="keybindings">Keybindings</a></h2>
+<h2><a class="toc-backref" href="#id148" id="keybindings" name="keybindings">Keybindings</a></h2>
 <p>Geany supports the default keyboard shortcuts for the Scintilla
 editing widget. For a list of these commands, see <a class="reference" href="#scintilla-keyboard-commands">Scintilla
 keyboard commands</a>. The Scintilla keyboard shortcuts will be overridden
 by any custom keybindings with the same keyboard shortcut.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id148" id="switching-documents" name="switching-documents">Switching documents</a></h3>
+<h3><a class="toc-backref" href="#id149" id="switching-documents" name="switching-documents">Switching documents</a></h3>
 <p>There are a few non-configurable bindings to switch between documents,
 listed below. These can also be overridden by custom keybindings.</p>
 <table border="1" class="docutils">
@@ -3145,7 +3176,7 @@
 </table>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id149" id="configurable-keybindings" name="configurable-keybindings">Configurable keybindings</a></h3>
+<h3><a class="toc-backref" href="#id150" id="configurable-keybindings" name="configurable-keybindings">Configurable keybindings</a></h3>
 <p>For all actions listed below you can define your own keybindings. Open
 the Preferences dialog, select the desired action and click on
 change. In the resulting dialog you can press the key combination you
@@ -3163,7 +3194,7 @@
 which are common to many applications are marked with (C) after the
 shortcut.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id150" id="file-keybindings" name="file-keybindings">File keybindings</a></h4>
+<h4><a class="toc-backref" href="#id151" id="file-keybindings" name="file-keybindings">File keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3226,7 +3257,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id151" id="editor-keybindings" name="editor-keybindings">Editor keybindings</a></h4>
+<h4><a class="toc-backref" href="#id152" id="editor-keybindings" name="editor-keybindings">Editor keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3348,7 +3379,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id152" id="clipboard-keybindings" name="clipboard-keybindings">Clipboard keybindings</a></h4>
+<h4><a class="toc-backref" href="#id153" id="clipboard-keybindings" name="clipboard-keybindings">Clipboard keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3388,7 +3419,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id153" id="select-keybindings" name="select-keybindings">Select keybindings</a></h4>
+<h4><a class="toc-backref" href="#id154" id="select-keybindings" name="select-keybindings">Select keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3433,7 +3464,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id154" id="insert-keybindings" name="insert-keybindings">Insert keybindings</a></h4>
+<h4><a class="toc-backref" href="#id155" id="insert-keybindings" name="insert-keybindings">Insert keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3462,7 +3493,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id155" id="format-keybindings" name="format-keybindings">Format keybindings</a></h4>
+<h4><a class="toc-backref" href="#id156" id="format-keybindings" name="format-keybindings">Format keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3550,7 +3581,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id156" id="settings-keybindings" name="settings-keybindings">Settings keybindings</a></h4>
+<h4><a class="toc-backref" href="#id157" id="settings-keybindings" name="settings-keybindings">Settings keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3576,7 +3607,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id157" id="search-keybindings" name="search-keybindings">Search keybindings</a></h4>
+<h4><a class="toc-backref" href="#id158" id="search-keybindings" name="search-keybindings">Search keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3653,7 +3684,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id158" id="go-to-keybindings" name="go-to-keybindings">Go to keybindings</a></h4>
+<h4><a class="toc-backref" href="#id159" id="go-to-keybindings" name="go-to-keybindings">Go to keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3751,7 +3782,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id159" id="view-keybindings" name="view-keybindings">View keybindings</a></h4>
+<h4><a class="toc-backref" href="#id160" id="view-keybindings" name="view-keybindings">View keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3800,7 +3831,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id160" id="focus-keybindings" name="focus-keybindings">Focus keybindings</a></h4>
+<h4><a class="toc-backref" href="#id161" id="focus-keybindings" name="focus-keybindings">Focus keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="30%" />
@@ -3863,7 +3894,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id161" id="notebook-tab-keybindings" name="notebook-tab-keybindings">Notebook tab keybindings</a></h4>
+<h4><a class="toc-backref" href="#id162" id="notebook-tab-keybindings" name="notebook-tab-keybindings">Notebook tab keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="28%" />
@@ -3917,7 +3948,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id162" id="document-keybindings" name="document-keybindings">Document keybindings</a></h4>
+<h4><a class="toc-backref" href="#id163" id="document-keybindings" name="document-keybindings">Document keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -3979,7 +4010,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id163" id="build-keybindings" name="build-keybindings">Build keybindings</a></h4>
+<h4><a class="toc-backref" href="#id164" id="build-keybindings" name="build-keybindings">Build keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -4037,7 +4068,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id164" id="tools-keybindings" name="tools-keybindings">Tools keybindings</a></h4>
+<h4><a class="toc-backref" href="#id165" id="tools-keybindings" name="tools-keybindings">Tools keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -4059,7 +4090,7 @@
 </table>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id165" id="help-keybindings" name="help-keybindings">Help keybindings</a></h4>
+<h4><a class="toc-backref" href="#id166" id="help-keybindings" name="help-keybindings">Help keybindings</a></h4>
 <table border="1" class="docutils">
 <colgroup>
 <col width="29%" />
@@ -4084,13 +4115,13 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id166" id="id4" name="id4">Configuration files</a></h1>
+<h1><a class="toc-backref" href="#id167" id="id4" name="id4">Configuration files</a></h1>
 <div class="warning">
 <p class="first admonition-title">Warning</p>
 <p class="last">You must use UTF-8 encoding <em>without BOM</em> for configuration files.</p>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id167" id="tools-menu-items" name="tools-menu-items">Tools menu items</a></h2>
+<h2><a class="toc-backref" href="#id168" id="tools-menu-items" name="tools-menu-items">Tools menu items</a></h2>
 <p>There's a <em>Configuration files</em> submenu in the <em>Tools</em> menu that
 contains items for some of the available user configuration files.
 Clicking on one opens it in the editor for you to update. Geany will
@@ -4113,7 +4144,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id168" id="global-configuration-file" name="global-configuration-file">Global configuration file</a></h2>
+<h2><a class="toc-backref" href="#id169" id="global-configuration-file" name="global-configuration-file">Global configuration file</a></h2>
 <p>There is a global configuration file for Geany which will be used for
 any settings not defined in the users local configuration file.
 Settings present in the local configuration file override those in the global
@@ -4133,13 +4164,13 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id169" id="filetype-definition-files" name="filetype-definition-files">Filetype definition files</a></h2>
+<h2><a class="toc-backref" href="#id170" id="filetype-definition-files" name="filetype-definition-files">Filetype definition files</a></h2>
 <p>All color definitions and other filetype specific settings are
 stored in the filetype definition files. Those settings are colors
 for syntax highlighting, general settings like comment characters or
 word delimiter characters as well as compiler and linker settings.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id170" id="custom-filetypes" name="custom-filetypes">Custom filetypes</a></h3>
+<h3><a class="toc-backref" href="#id171" id="custom-filetypes" name="custom-filetypes">Custom filetypes</a></h3>
 <p>At startup Geany looks for <tt class="docutils literal"><span class="pre">filetypes.*.conf</span></tt> files in the system and
 user filetype paths, adding any filetypes found with the name matching
 the '<tt class="docutils literal"><span class="pre">*</span></tt>' wildcard.</p>
@@ -4166,7 +4197,7 @@
 </ul>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id171" id="system-files" name="system-files">System files</a></h3>
+<h3><a class="toc-backref" href="#id172" id="system-files" name="system-files">System files</a></h3>
 <p>The system-wide configuration files can be found in
 <tt class="docutils literal"><span class="pre">$prefix/share/geany</span></tt> and are called <tt class="docutils literal"><span class="pre">filetypes.$ext</span></tt>,
 where <tt class="docutils literal"><span class="pre">$prefix</span></tt> is the path where Geany is installed (see
@@ -4181,7 +4212,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id172" id="user-files" name="user-files">User files</a></h3>
+<h3><a class="toc-backref" href="#id173" id="user-files" name="user-files">User files</a></h3>
 <p>To change the settings, copy a file from <tt class="docutils literal"><span class="pre">$prefix/share/geany</span></tt> to
 the subdirectory filedefs in your configuration directory (usually
 <tt class="docutils literal"><span class="pre">~/.config/geany/</span></tt>).</p>
@@ -4199,9 +4230,9 @@
 a [build-menu] section as described in <a class="reference" href="#build-menu-section">[build-menu] Section</a>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id173" id="format" name="format">Format</a></h3>
+<h3><a class="toc-backref" href="#id174" id="format" name="format">Format</a></h3>
 <div class="section">
-<h4><a class="toc-backref" href="#id174" id="styling-section" name="styling-section">[styling] Section</a></h4>
+<h4><a class="toc-backref" href="#id175" id="styling-section" name="styling-section">[styling] Section</a></h4>
 <p>In this section the colors for syntax highlighting are defined. The
 manual format is:</p>
 <ul class="simple">
@@ -4217,7 +4248,7 @@
 <p>This makes the key style have red foreground text, default background
 color text and bold emphasis.</p>
 <div class="section">
-<h5><a class="toc-backref" href="#id175" id="using-a-named-style" name="using-a-named-style">Using a named style</a></h5>
+<h5><a class="toc-backref" href="#id176" id="using-a-named-style" name="using-a-named-style">Using a named style</a></h5>
 <p>The second format uses a <em>named style</em> name to reference a style
 defined in filetypes.common.</p>
 <ul class="simple">
@@ -4236,7 +4267,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id176" id="keywords-section" name="keywords-section">[keywords] Section</a></h4>
+<h4><a class="toc-backref" href="#id177" id="keywords-section" name="keywords-section">[keywords] Section</a></h4>
 <p>This section contains keys for different keyword lists specific to
 the filetype. Some filetypes do not support keywords, so adding a
 new key will not work. You can only add or remove keywords to/from
@@ -4247,12 +4278,12 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id177" id="lexer-properties-section" name="lexer-properties-section">[lexer_properties] Section</a></h4>
+<h4><a class="toc-backref" href="#id178" id="lexer-properties-section" name="lexer-properties-section">[lexer_properties] Section</a></h4>
 <p>Here any special properties for the Scintilla lexer can be set in the
 format <tt class="docutils literal"><span class="pre">key.name.field=some.value</span></tt>.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id178" id="settings-section" name="settings-section">[settings] Section</a></h4>
+<h4><a class="toc-backref" href="#id179" id="settings-section" name="settings-section">[settings] Section</a></h4>
 <dl class="docutils">
 <dt>extension</dt>
 <dd><p class="first">This is the default file extension used when saving files, not
@@ -4326,7 +4357,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id179" id="build-settings-section" name="build-settings-section">[build_settings] Section</a></h4>
+<h4><a class="toc-backref" href="#id180" id="build-settings-section" name="build-settings-section">[build_settings] Section</a></h4>
 <p>As of Geany 0.19 this section is supplemented by the <a class="reference" href="#build-menu-section">[build-menu] Section</a>.
 Values that are set in the [build-menu] section will override those in this section.</p>
 <dl class="docutils">
@@ -4379,13 +4410,13 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id180" id="special-file-filetypes-common" name="special-file-filetypes-common">Special file filetypes.common</a></h3>
+<h3><a class="toc-backref" href="#id181" id="special-file-filetypes-common" name="special-file-filetypes-common">Special file filetypes.common</a></h3>
 <p>There is a special filetype definition file called
 filetypes.common. This file defines some general non-filetype-specific
 settings.</p>
 <p>See the <a class="reference" href="#format">Format</a> section for how to define styles.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id181" id="named-styles-section" name="named-styles-section">[named_styles] Section</a></h4>
+<h4><a class="toc-backref" href="#id182" id="named-styles-section" name="named-styles-section">[named_styles] Section</a></h4>
 <p>Named styles declared here can be used in the [styling] section of any
 filetypes.* file.</p>
 <p>For example:</p>
@@ -4410,7 +4441,7 @@
 </div>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id182" id="id5" name="id5">[styling] Section</a></h4>
+<h4><a class="toc-backref" href="#id183" id="id5" name="id5">[styling] Section</a></h4>
 <dl class="docutils">
 <dt>default</dt>
 <dd><p class="first">This is the default style. It is used for styling files without a
@@ -4594,7 +4625,7 @@
 </dl>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id183" id="id6" name="id6">[settings] Section</a></h4>
+<h4><a class="toc-backref" href="#id184" id="id6" name="id6">[settings] Section</a></h4>
 <dl class="docutils">
 <dt>whitespace_chars</dt>
 <dd><p class="first">Characters to treat as whitespace. These characters are ignored
@@ -4608,7 +4639,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id184" id="filetype-extensions" name="filetype-extensions">Filetype extensions</a></h2>
+<h2><a class="toc-backref" href="#id185" id="filetype-extensions" name="filetype-extensions">Filetype extensions</a></h2>
 <p>To change the default filetype extension used when saving a new file,
 see <a class="reference" href="#filetype-definition-files">Filetype definition files</a>.</p>
 <p>You can override the list of file extensions that Geany uses for each
@@ -4634,13 +4665,13 @@
 </pre>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id185" id="preferences-file-format" name="preferences-file-format">Preferences File Format</a></h2>
+<h2><a class="toc-backref" href="#id186" id="preferences-file-format" name="preferences-file-format">Preferences File Format</a></h2>
 <p>The preferences file <tt class="docutils literal"><span class="pre">~/.config/geany/geany.conf</span></tt> holds settings for all the items configured
 in the preferences dialog. This file should not be edited while Geany is running
 as the file will be overwritten when the preferences in Geany are changed or Geany
 is quitted.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id186" id="hidden-preferences" name="hidden-preferences">Hidden preferences</a></h3>
+<h3><a class="toc-backref" href="#id187" id="hidden-preferences" name="hidden-preferences">Hidden preferences</a></h3>
 <p>There are some rarely used preferences that are not shown in the Preferences
 dialog. These can be set by editing the preferences file, then
 restarting Geany. Search for the key name, then edit the value. Example:</p>
@@ -4792,6 +4823,14 @@
 disk won't run out of free space.</td>
 <td>false</td>
 </tr>
+<tr><td><strong>Search related</strong></td>
+<td> </td>
+<td> </td>
+</tr>
+<tr><td>find_selection_type</td>
+<td>See <a class="reference" href="#find-selection">Find selection</a>.</td>
+<td>0</td>
+</tr>
 <tr><td><strong>Build Menu related</strong></td>
 <td> </td>
 <td> </td>
@@ -4815,7 +4854,7 @@
 </table>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id187" id="build-menu-section" name="build-menu-section">[build-menu] Section</a></h3>
+<h3><a class="toc-backref" href="#id188" id="build-menu-section" name="build-menu-section">[build-menu] Section</a></h3>
 <p>The [build-menu] section contains the configuration of the build menu.
 This section can occur in filetype, preferences and project files and
 always has the format described here.  Different menu items are loaded
@@ -4847,11 +4886,11 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id188" id="project-file-format" name="project-file-format">Project File Format</a></h2>
+<h2><a class="toc-backref" href="#id189" id="project-file-format" name="project-file-format">Project File Format</a></h2>
 <p>The project file contains project related settings and possibly a
 record of the current session files.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id189" id="build-menu-additions" name="build-menu-additions">[build-menu] Additions</a></h3>
+<h3><a class="toc-backref" href="#id190" id="build-menu-additions" name="build-menu-additions">[build-menu] Additions</a></h3>
 <p>The project file also can have extra fields in the [build-menu] section
 in addition to those listed in <a class="reference" href="#build-menu-section">[build-menu] Section</a> above.</p>
 <p>When filetype menu items are configured for the project they are stored
@@ -4867,7 +4906,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id190" id="templates" name="templates">Templates</a></h2>
+<h2><a class="toc-backref" href="#id191" id="templates" name="templates">Templates</a></h2>
 <p>Geany supports the following templates:</p>
 <ul class="simple">
 <li>ChangeLog entry</li>
@@ -4896,7 +4935,7 @@
 also force this by selecting <em>Tools->Reload Configuration</em>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id191" id="template-meta-data" name="template-meta-data">Template meta data</a></h3>
+<h3><a class="toc-backref" href="#id192" id="template-meta-data" name="template-meta-data">Template meta data</a></h3>
 <p>Meta data can be used with all templates, but by default user set
 meta data is only used for the ChangeLog and File header templates.</p>
 <p>In the configuration dialog you can find a tab "Templates" (see
@@ -4905,7 +4944,7 @@
 <em>Tools->Reload Configuration</em> or restart Geany after making changes.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id192" id="file-templates" name="file-templates">File templates</a></h3>
+<h3><a class="toc-backref" href="#id193" id="file-templates" name="file-templates">File templates</a></h3>
 <p>File templates are templates used as the basis of a new file. To
 use them, choose the <em>New (with Template)</em> menu item from the <em>File</em>
 menu.</p>
@@ -4917,7 +4956,7 @@
 wildcard can be placed anywhere, but it's usually put on the first
 line of the file, followed by a blank line.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id193" id="custom-file-templates" name="custom-file-templates">Custom file templates</a></h4>
+<h4><a class="toc-backref" href="#id194" id="custom-file-templates" name="custom-file-templates">Custom file templates</a></h4>
 <p>These are read from the following directories:</p>
 <ul class="simple">
 <li><tt class="docutils literal"><span class="pre">$prefix/share/geany/templates/files</span></tt> (see <a class="reference" href="#installation-prefix">Installation prefix</a>)</li>
@@ -4931,7 +4970,7 @@
 clicked.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id194" id="filetype-templates" name="filetype-templates">Filetype templates</a></h4>
+<h4><a class="toc-backref" href="#id195" id="filetype-templates" name="filetype-templates">Filetype templates</a></h4>
 <div class="note">
 <p class="first admonition-title">Note</p>
 <p class="last">It's recommended to use custom file templates instead.</p>
@@ -4947,7 +4986,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id195" id="customizing-templates" name="customizing-templates">Customizing templates</a></h3>
+<h3><a class="toc-backref" href="#id196" id="customizing-templates" name="customizing-templates">Customizing templates</a></h3>
 <p>Each template can be customized to your needs. The templates are
 stored in the <tt class="docutils literal"><span class="pre">~/.config/geany/templates/</span></tt> directory (see the section called
 <a class="reference" href="#command-line-options">Command line options</a> for further information about the configuration
@@ -4955,7 +4994,7 @@
 Geany ;-) ) and edit the template to your needs. There are some
 wildcards which will be automatically replaced by Geany at startup.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id196" id="template-wildcards" name="template-wildcards">Template wildcards</a></h4>
+<h4><a class="toc-backref" href="#id197" id="template-wildcards" name="template-wildcards">Template wildcards</a></h4>
 <p>All wildcards must be enclosed by "{" and "}", e.g. {date}.</p>
 <p><strong>Wildcards for character escaping</strong></p>
 <table border="1" class="docutils">
@@ -5169,7 +5208,7 @@
 </tbody>
 </table>
 <div class="section">
-<h5><a class="toc-backref" href="#id197" id="special-command-wildcard" name="special-command-wildcard">Special {command:} wildcard</a></h5>
+<h5><a class="toc-backref" href="#id198" id="special-command-wildcard" name="special-command-wildcard">Special {command:} wildcard</a></h5>
 <p>The {command:} wildcard is a special one because it can execute
 a specified command and put the command's output (stdout) into
 the template.</p>
@@ -5204,13 +5243,13 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id198" id="customizing-the-toolbar" name="customizing-the-toolbar">Customizing the toolbar</a></h2>
+<h2><a class="toc-backref" href="#id199" id="customizing-the-toolbar" name="customizing-the-toolbar">Customizing the toolbar</a></h2>
 <p>You can add, remove and reorder the elements in the toolbar by using the toolbar editor
 by manually editing the file <tt class="docutils literal"><span class="pre">ui_toolbar.xml</span></tt>.</p>
 <p>The toolbar editor can be opened from the preferences editor on the Toolbar tab or
 by right-clicking on the toolbar itself and choosing it from the menu.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id199" id="manually-editing-of-the-toolbar-layout" name="manually-editing-of-the-toolbar-layout">Manually editing of the toolbar layout</a></h3>
+<h3><a class="toc-backref" href="#id200" id="manually-editing-of-the-toolbar-layout" name="manually-editing-of-the-toolbar-layout">Manually editing of the toolbar layout</a></h3>
 <p>To override the system-wide configuration file, copy it from
 <tt class="docutils literal"><span class="pre">$prefix/share/geany</span></tt> to your configuration directory, usually
 <tt class="docutils literal"><span class="pre">~/.config/geany/</span></tt>. <tt class="docutils literal"><span class="pre">$prefix</span></tt> is the path where Geany is installed
@@ -5234,7 +5273,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id200" id="available-toolbar-elements" name="available-toolbar-elements">Available toolbar elements</a></h3>
+<h3><a class="toc-backref" href="#id201" id="available-toolbar-elements" name="available-toolbar-elements">Available toolbar elements</a></h3>
 <table border="1" class="docutils">
 <colgroup>
 <col width="19%" />
@@ -5348,11 +5387,11 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id201" id="plugin-documentation" name="plugin-documentation">Plugin documentation</a></h1>
+<h1><a class="toc-backref" href="#id202" id="plugin-documentation" name="plugin-documentation">Plugin documentation</a></h1>
 <div class="section">
-<h2><a class="toc-backref" href="#id202" id="save-actions" name="save-actions">Save Actions</a></h2>
+<h2><a class="toc-backref" href="#id203" id="save-actions" name="save-actions">Save Actions</a></h2>
 <div class="section">
-<h3><a class="toc-backref" href="#id203" id="instant-save" name="instant-save">Instant Save</a></h3>
+<h3><a class="toc-backref" href="#id204" id="instant-save" name="instant-save">Instant Save</a></h3>
 <p>This plugin sets on every new file (File->New or File-> New (with template))
 a randomly chosen filename and set its filetype appropriate to the used template
 or when no template was used, to a configurable default filetype.

@@ Diff output truncated at 100000 characters. @@

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list