SF.net SVN: geany:[3788] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue May 12 15:55:13 UTC 2009

Revision: 3788
Author:   ntrel
Date:     2009-05-12 15:55:13 +0000 (Tue, 12 May 2009)

Log Message:
Merge unstable branch:
Add reStructuredText scope information for tags (for symbol list
Read custom system global tags files from $prefix/share/geany/tags;
Closes #2778923.
Show the number of tags in a user global tags file (instead of the
running total) in the debug message.
Also print debug messages when loading a tag file manually or for
default global tags files e.g. python.tags.
- code:
Move NestingLevel tags code into a separate file, add functions.
- docs:
Add 'Installation prefix' section instead of quoting '/usr/local'
each time.
Update for custom system global tags files.

Modified Paths:

Added Paths:

Modified: trunk/ChangeLog
--- trunk/ChangeLog	2009-05-12 15:16:23 UTC (rev 3787)
+++ trunk/ChangeLog	2009-05-12 15:55:13 UTC (rev 3788)
@@ -1,3 +1,26 @@
+2009-05-12  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
+ * src/symbols.c, doc/geany.txt, doc/geany.html,
+   tagmanager/makefile.win32, tagmanager/nestlevel.c,
+   tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
+   tagmanager/Makefile.am, wscript:
+   Merge unstable branch:
+   Add reStructuredText scope information for tags (for symbol list
+   grouping).
+   Read custom system global tags files from $prefix/share/geany/tags;
+   Closes #2778923.
+   Show the number of tags in a user global tags file (instead of the
+   running total) in the debug message.
+   Also print debug messages when loading a tag file manually or for
+   default global tags files e.g. python.tags.
+ - code:
+   Move NestingLevel tags code into a separate file, add functions.
+ - docs:
+   Add 'Installation prefix' section instead of quoting '/usr/local'
+   each time.
+   Update for custom system global tags files.
 2009-05-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
  * src/highlighting.c:

Modified: trunk/doc/geany.html
--- trunk/doc/geany.html	2009-05-12 15:16:23 UTC (rev 3787)
+++ trunk/doc/geany.html	2009-05-12 15:55:13 UTC (rev 3788)
@@ -3,10 +3,10 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" />
+<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2009-04-24" />
+<meta name="date" content="2009-05-02" />
 <style type="text/css">
@@ -139,7 +139,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
 <tr><th class="docinfo-name">Version:</th>
@@ -149,278 +149,279 @@
 License as published by the Free Software Foundation; either version 2
 of the License, or (at your option) any later version. A copy of this
 license can be found in the file COPYING included with the source code
-of this program, and also in the chapter <a class="reference internal" href="#gnu-general-public-license">GNU General Public License</a>.</p>
-<div class="contents topic" id="contents">
-<p class="topic-title first">Contents</p>
+of this program, and also in the chapter <a class="reference" href="#gnu-general-public-license">GNU General Public License</a>.</p>
+<div class="contents topic">
+<p class="topic-title first"><a id="contents" name="contents">Contents</a></p>
 <ul class="simple">
-<li><a class="reference internal" href="#introduction" id="id9">Introduction</a><ul>
-<li><a class="reference internal" href="#about-geany" id="id10">About Geany</a></li>
-<li><a class="reference internal" href="#where-to-get-it" id="id11">Where to get it</a></li>
-<li><a class="reference internal" href="#license" id="id12">License</a></li>
-<li><a class="reference internal" href="#about-this-document" id="id13">About this document</a></li>
+<li><a class="reference" href="#introduction" id="id9" name="id9">Introduction</a><ul>
+<li><a class="reference" href="#about-geany" id="id10" name="id10">About Geany</a></li>
+<li><a class="reference" href="#where-to-get-it" id="id11" name="id11">Where to get it</a></li>
+<li><a class="reference" href="#license" id="id12" name="id12">License</a></li>
+<li><a class="reference" href="#about-this-document" id="id13" name="id13">About this document</a></li>
-<li><a class="reference internal" href="#installation" id="id14">Installation</a><ul>
-<li><a class="reference internal" href="#requirements" id="id15">Requirements</a></li>
-<li><a class="reference internal" href="#binary-packages" id="id16">Binary packages</a></li>
-<li><a class="reference internal" href="#source-compilation" id="id17">Source compilation</a><ul>
-<li><a class="reference internal" href="#autotools-based-build-system" id="id18">Autotools based build system</a></li>
-<li><a class="reference internal" href="#waf-based-build-system" id="id19">Waf based build system</a><ul>
-<li><a class="reference internal" href="#waf-cache" id="id20">Waf Cache</a><ul>
-<li><a class="reference internal" href="#cleaning-the-cache" id="id21">Cleaning the Cache</a></li>
+<li><a class="reference" href="#installation" id="id14" name="id14">Installation</a><ul>
+<li><a class="reference" href="#requirements" id="id15" name="id15">Requirements</a></li>
+<li><a class="reference" href="#binary-packages" id="id16" name="id16">Binary packages</a></li>
+<li><a class="reference" href="#source-compilation" id="id17" name="id17">Source compilation</a><ul>
+<li><a class="reference" href="#autotools-based-build-system" id="id18" name="id18">Autotools based build system</a></li>
+<li><a class="reference" href="#waf-based-build-system" id="id19" name="id19">Waf based build system</a><ul>
+<li><a class="reference" href="#waf-cache" id="id20" name="id20">Waf Cache</a><ul>
+<li><a class="reference" href="#cleaning-the-cache" id="id21" name="id21">Cleaning the Cache</a></li>
-<li><a class="reference internal" href="#custom-installation" id="id22">Custom installation</a></li>
-<li><a class="reference internal" href="#dynamic-linking-loader-support" id="id23">Dynamic linking loader support</a></li>
-<li><a class="reference internal" href="#build-problems" id="id24">Build problems</a></li>
+<li><a class="reference" href="#custom-installation" id="id22" name="id22">Custom installation</a></li>
+<li><a class="reference" href="#dynamic-linking-loader-support" id="id23" name="id23">Dynamic linking loader support</a></li>
+<li><a class="reference" href="#build-problems" id="id24" name="id24">Build problems</a></li>
+<li><a class="reference" href="#installation-prefix" id="id25" name="id25">Installation prefix</a></li>
-<li><a class="reference internal" href="#usage" id="id25">Usage</a><ul>
-<li><a class="reference internal" href="#getting-started" id="id26">Getting started</a></li>
-<li><a class="reference internal" href="#command-line-options" id="id27">Command line options</a></li>
-<li><a class="reference internal" href="#general" id="id28">General</a><ul>
-<li><a class="reference internal" href="#startup" id="id29">Startup</a></li>
-<li><a class="reference internal" href="#opening-files-from-the-command-line-in-a-running-instance" id="id30">Opening files from the command-line in a running instance</a></li>
-<li><a class="reference internal" href="#virtual-terminal-emulator-widget-vte" id="id31">Virtual terminal emulator widget (VTE)</a></li>
-<li><a class="reference internal" href="#defining-own-widget-styles-using-gtkrc-2-0" id="id32">Defining own widget styles using .gtkrc-2.0</a></li>
+<li><a class="reference" href="#usage" id="id26" name="id26">Usage</a><ul>
+<li><a class="reference" href="#getting-started" id="id27" name="id27">Getting started</a></li>
+<li><a class="reference" href="#command-line-options" id="id28" name="id28">Command line options</a></li>
+<li><a class="reference" href="#general" id="id29" name="id29">General</a><ul>
+<li><a class="reference" href="#startup" id="id30" name="id30">Startup</a></li>
+<li><a class="reference" href="#opening-files-from-the-command-line-in-a-running-instance" id="id31" name="id31">Opening files from the command-line in a running instance</a></li>
+<li><a class="reference" href="#virtual-terminal-emulator-widget-vte" id="id32" name="id32">Virtual terminal emulator widget (VTE)</a></li>
+<li><a class="reference" href="#defining-own-widget-styles-using-gtkrc-2-0" id="id33" name="id33">Defining own widget styles using .gtkrc-2.0</a></li>
-<li><a class="reference internal" href="#documents" id="id33">Documents</a><ul>
-<li><a class="reference internal" href="#switching-between-documents" id="id34">Switching between documents</a></li>
+<li><a class="reference" href="#documents" id="id34" name="id34">Documents</a><ul>
+<li><a class="reference" href="#switching-between-documents" id="id35" name="id35">Switching between documents</a></li>
-<li><a class="reference internal" href="#character-sets-and-unicode-byte-order-mark-bom" id="id35">Character sets and Unicode Byte-Order-Mark (BOM)</a><ul>
-<li><a class="reference internal" href="#using-character-sets" id="id36">Using character sets</a></li>
-<li><a class="reference internal" href="#in-file-encoding-specification" id="id37">In-file encoding specification</a></li>
-<li><a class="reference internal" href="#special-encoding-none" id="id38">Special encoding "None"</a></li>
-<li><a class="reference internal" href="#unicode-byte-order-mark-bom" id="id39">Unicode Byte-Order-Mark (BOM)</a></li>
+<li><a class="reference" href="#character-sets-and-unicode-byte-order-mark-bom" id="id36" name="id36">Character sets and Unicode Byte-Order-Mark (BOM)</a><ul>
+<li><a class="reference" href="#using-character-sets" id="id37" name="id37">Using character sets</a></li>
+<li><a class="reference" href="#in-file-encoding-specification" id="id38" name="id38">In-file encoding specification</a></li>
+<li><a class="reference" href="#special-encoding-none" id="id39" name="id39">Special encoding "None"</a></li>
+<li><a class="reference" href="#unicode-byte-order-mark-bom" id="id40" name="id40">Unicode Byte-Order-Mark (BOM)</a></li>
-<li><a class="reference internal" href="#editing" id="id40">Editing</a><ul>
-<li><a class="reference internal" href="#folding" id="id41">Folding</a></li>
-<li><a class="reference internal" href="#column-mode-editing-rectangular-selections" id="id42">Column mode editing (rectangular selections)</a></li>
-<li><a class="reference internal" href="#drag-and-drop-of-text" id="id43">Drag and drop of text</a></li>
-<li><a class="reference internal" href="#indentation" id="id44">Indentation</a></li>
-<li><a class="reference internal" href="#auto-indentation" id="id45">Auto-indentation</a></li>
-<li><a class="reference internal" href="#bookmarks" id="id46">Bookmarks</a></li>
-<li><a class="reference internal" href="#code-navigation-history" id="id47">Code Navigation History</a></li>
-<li><a class="reference internal" href="#send-text-through-definable-commands" id="id48">Send text through definable commands</a></li>
-<li><a class="reference internal" href="#context-actions" id="id49">Context actions</a></li>
-<li><a class="reference internal" href="#user-definable-snippets" id="id50">User-definable snippets</a></li>
-<li><a class="reference internal" href="#inserting-unicode-characters" id="id51">Inserting Unicode characters</a></li>
+<li><a class="reference" href="#editing" id="id41" name="id41">Editing</a><ul>
+<li><a class="reference" href="#folding" id="id42" name="id42">Folding</a></li>
+<li><a class="reference" href="#column-mode-editing-rectangular-selections" id="id43" name="id43">Column mode editing (rectangular selections)</a></li>
+<li><a class="reference" href="#drag-and-drop-of-text" id="id44" name="id44">Drag and drop of text</a></li>
+<li><a class="reference" href="#indentation" id="id45" name="id45">Indentation</a></li>
+<li><a class="reference" href="#auto-indentation" id="id46" name="id46">Auto-indentation</a></li>
+<li><a class="reference" href="#bookmarks" id="id47" name="id47">Bookmarks</a></li>
+<li><a class="reference" href="#code-navigation-history" id="id48" name="id48">Code Navigation History</a></li>
+<li><a class="reference" href="#send-text-through-definable-commands" id="id49" name="id49">Send text through definable commands</a></li>
+<li><a class="reference" href="#context-actions" id="id50" name="id50">Context actions</a></li>
+<li><a class="reference" href="#user-definable-snippets" id="id51" name="id51">User-definable snippets</a></li>
+<li><a class="reference" href="#inserting-unicode-characters" id="id52" name="id52">Inserting Unicode characters</a></li>
-<li><a class="reference internal" href="#search-replace-and-go-to" id="id52">Search, replace and go to</a><ul>
-<li><a class="reference internal" href="#find" id="id53">Find</a><ul>
-<li><a class="reference internal" href="#matching-options" id="id54">Matching options</a></li>
-<li><a class="reference internal" href="#find-all" id="id55">Find all</a></li>
-<li><a class="reference internal" href="#change-font-in-search-dialog-text-fields" id="id56">Change font in search dialog text fields</a></li>
+<li><a class="reference" href="#search-replace-and-go-to" id="id53" name="id53">Search, replace and go to</a><ul>
+<li><a class="reference" href="#find" id="id54" name="id54">Find</a><ul>
+<li><a class="reference" href="#matching-options" id="id55" name="id55">Matching options</a></li>
+<li><a class="reference" href="#find-all" id="id56" name="id56">Find all</a></li>
+<li><a class="reference" href="#change-font-in-search-dialog-text-fields" id="id57" name="id57">Change font in search dialog text fields</a></li>
-<li><a class="reference internal" href="#find-usage" id="id57">Find usage</a></li>
-<li><a class="reference internal" href="#find-in-files" id="id58">Find in files</a><ul>
-<li><a class="reference internal" href="#filtering-out-version-control-files" id="id59">Filtering out version control files</a></li>
+<li><a class="reference" href="#find-usage" id="id58" name="id58">Find usage</a></li>
+<li><a class="reference" href="#find-in-files" id="id59" name="id59">Find in files</a><ul>
+<li><a class="reference" href="#filtering-out-version-control-files" id="id60" name="id60">Filtering out version control files</a></li>
-<li><a class="reference internal" href="#replace" id="id60">Replace</a><ul>
-<li><a class="reference internal" href="#replace-all" id="id61">Replace all</a></li>
+<li><a class="reference" href="#replace" id="id61" name="id61">Replace</a><ul>
+<li><a class="reference" href="#replace-all" id="id62" name="id62">Replace all</a></li>
-<li><a class="reference internal" href="#go-to-tag-definition" id="id62">Go to tag definition</a></li>
-<li><a class="reference internal" href="#go-to-tag-declaration" id="id63">Go to tag declaration</a></li>
-<li><a class="reference internal" href="#go-to-line" id="id64">Go to line</a></li>
-<li><a class="reference internal" href="#regular-expressions" id="id65">Regular expressions</a></li>
+<li><a class="reference" href="#go-to-tag-definition" id="id63" name="id63">Go to tag definition</a></li>
+<li><a class="reference" href="#go-to-tag-declaration" id="id64" name="id64">Go to tag declaration</a></li>
+<li><a class="reference" href="#go-to-line" id="id65" name="id65">Go to line</a></li>
+<li><a class="reference" href="#regular-expressions" id="id66" name="id66">Regular expressions</a></li>
-<li><a class="reference internal" href="#tags" id="id66">Tags</a><ul>
-<li><a class="reference internal" href="#workspace-tags" id="id67">Workspace tags</a></li>
-<li><a class="reference internal" href="#global-tags" id="id68">Global tags</a><ul>
-<li><a class="reference internal" href="#default-global-tags-files" id="id69">Default global tags files</a></li>
-<li><a class="reference internal" href="#global-tags-file-format" id="id70">Global tags file format</a></li>
-<li><a class="reference internal" href="#generating-a-global-tags-file" id="id71">Generating a global tags file</a></li>
+<li><a class="reference" href="#tags" id="id67" name="id67">Tags</a><ul>
+<li><a class="reference" href="#workspace-tags" id="id68" name="id68">Workspace tags</a></li>
+<li><a class="reference" href="#global-tags" id="id69" name="id69">Global tags</a><ul>
+<li><a class="reference" href="#default-global-tags-files" id="id70" name="id70">Default global tags files</a></li>
+<li><a class="reference" href="#global-tags-file-format" id="id71" name="id71">Global tags file format</a></li>
+<li><a class="reference" href="#generating-a-global-tags-file" id="id72" name="id72">Generating a global tags file</a></li>
-<li><a class="reference internal" href="#ignore-tags" id="id72">Ignore tags</a></li>
+<li><a class="reference" href="#ignore-tags" id="id73" name="id73">Ignore tags</a></li>
-<li><a class="reference internal" href="#preferences" id="id73">Preferences</a><ul>
-<li><a class="reference internal" href="#general-startup-tab-in-preferences-dialog" id="id74">General Startup tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#id1" id="id75">Startup</a></li>
-<li><a class="reference internal" href="#shutdown" id="id76">Shutdown</a></li>
-<li><a class="reference internal" href="#paths" id="id77">Paths</a></li>
+<li><a class="reference" href="#preferences" id="id74" name="id74">Preferences</a><ul>
+<li><a class="reference" href="#general-startup-tab-in-preferences-dialog" id="id75" name="id75">General Startup tab in preferences dialog</a><ul>
+<li><a class="reference" href="#id1" id="id76" name="id76">Startup</a></li>
+<li><a class="reference" href="#shutdown" id="id77" name="id77">Shutdown</a></li>
+<li><a class="reference" href="#paths" id="id78" name="id78">Paths</a></li>
-<li><a class="reference internal" href="#general-miscellaneous-tab-in-preferences-dialog" id="id78">General Miscellaneous tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#miscellaneous" id="id79">Miscellaneous</a></li>
+<li><a class="reference" href="#general-miscellaneous-tab-in-preferences-dialog" id="id79" name="id79">General Miscellaneous tab in preferences dialog</a><ul>
+<li><a class="reference" href="#miscellaneous" id="id80" name="id80">Miscellaneous</a></li>
-<li><a class="reference internal" href="#search" id="id80">Search</a><ul>
-<li><a class="reference internal" href="#projects" id="id81">Projects</a></li>
+<li><a class="reference" href="#search" id="id81" name="id81">Search</a><ul>
+<li><a class="reference" href="#projects" id="id82" name="id82">Projects</a></li>
-<li><a class="reference internal" href="#interface-tab-in-preferences-dialog" id="id82">Interface tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#sidebar" id="id83">Sidebar</a></li>
-<li><a class="reference internal" href="#fonts" id="id84">Fonts</a></li>
-<li><a class="reference internal" href="#editor-tabs" id="id85">Editor tabs</a></li>
-<li><a class="reference internal" href="#tab-positions" id="id86">Tab positions</a></li>
-<li><a class="reference internal" href="#id2" id="id87">Miscellaneous</a></li>
+<li><a class="reference" href="#interface-tab-in-preferences-dialog" id="id83" name="id83">Interface tab in preferences dialog</a><ul>
+<li><a class="reference" href="#sidebar" id="id84" name="id84">Sidebar</a></li>
+<li><a class="reference" href="#fonts" id="id85" name="id85">Fonts</a></li>
+<li><a class="reference" href="#editor-tabs" id="id86" name="id86">Editor tabs</a></li>
+<li><a class="reference" href="#tab-positions" id="id87" name="id87">Tab positions</a></li>
+<li><a class="reference" href="#id2" id="id88" name="id88">Miscellaneous</a></li>
-<li><a class="reference internal" href="#toolbar-tab-in-preferences-dialog" id="id88">Toolbar tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#toolbar" id="id89">Toolbar</a></li>
-<li><a class="reference internal" href="#appearance" id="id90">Appearance</a></li>
+<li><a class="reference" href="#toolbar-tab-in-preferences-dialog" id="id89" name="id89">Toolbar tab in preferences dialog</a><ul>
+<li><a class="reference" href="#toolbar" id="id90" name="id90">Toolbar</a></li>
+<li><a class="reference" href="#appearance" id="id91" name="id91">Appearance</a></li>
-<li><a class="reference internal" href="#editor-features-tab-in-preferences-dialog" id="id91">Editor Features tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#features" id="id92">Features</a></li>
+<li><a class="reference" href="#editor-features-tab-in-preferences-dialog" id="id92" name="id92">Editor Features tab in preferences dialog</a><ul>
+<li><a class="reference" href="#features" id="id93" name="id93">Features</a></li>
-<li><a class="reference internal" href="#editor-indentation-tab-in-preferences-dialog" id="id93">Editor Indentation tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#indentation-group" id="id94">Indentation group</a></li>
+<li><a class="reference" href="#editor-indentation-tab-in-preferences-dialog" id="id94" name="id94">Editor Indentation tab in preferences dialog</a><ul>
+<li><a class="reference" href="#indentation-group" id="id95" name="id95">Indentation group</a></li>
-<li><a class="reference internal" href="#editor-completions-tab-in-preferences-dialog" id="id95">Editor Completions tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#completions" id="id96">Completions</a></li>
-<li><a class="reference internal" href="#auto-close-quotes-and-brackets" id="id97">Auto-close quotes and brackets</a></li>
+<li><a class="reference" href="#editor-completions-tab-in-preferences-dialog" id="id96" name="id96">Editor Completions tab in preferences dialog</a><ul>
+<li><a class="reference" href="#completions" id="id97" name="id97">Completions</a></li>
+<li><a class="reference" href="#auto-close-quotes-and-brackets" id="id98" name="id98">Auto-close quotes and brackets</a></li>
-<li><a class="reference internal" href="#editor-display-tab-in-preferences-dialog" id="id98">Editor Display tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#display" id="id99">Display</a></li>
-<li><a class="reference internal" href="#long-line-marker" id="id100">Long line marker</a></li>
+<li><a class="reference" href="#editor-display-tab-in-preferences-dialog" id="id99" name="id99">Editor Display tab in preferences dialog</a><ul>
+<li><a class="reference" href="#display" id="id100" name="id100">Display</a></li>
+<li><a class="reference" href="#long-line-marker" id="id101" name="id101">Long line marker</a></li>
-<li><a class="reference internal" href="#files-tab-in-preferences-dialog" id="id101">Files tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#new-files" id="id102">New files</a></li>
-<li><a class="reference internal" href="#saving-files" id="id103">Saving files</a></li>
-<li><a class="reference internal" href="#id3" id="id104">Miscellaneous</a></li>
+<li><a class="reference" href="#files-tab-in-preferences-dialog" id="id102" name="id102">Files tab in preferences dialog</a><ul>
+<li><a class="reference" href="#new-files" id="id103" name="id103">New files</a></li>
+<li><a class="reference" href="#saving-files" id="id104" name="id104">Saving files</a></li>
+<li><a class="reference" href="#id3" id="id105" name="id105">Miscellaneous</a></li>
-<li><a class="reference internal" href="#tools-tab-in-preferences-dialog" id="id105">Tools tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#tool-paths" id="id106">Tool paths</a></li>
-<li><a class="reference internal" href="#commands" id="id107">Commands</a></li>
+<li><a class="reference" href="#tools-tab-in-preferences-dialog" id="id106" name="id106">Tools tab in preferences dialog</a><ul>
+<li><a class="reference" href="#tool-paths" id="id107" name="id107">Tool paths</a></li>
+<li><a class="reference" href="#commands" id="id108" name="id108">Commands</a></li>
-<li><a class="reference internal" href="#template-tab-in-preferences-dialog" id="id108">Template tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#template-data" id="id109">Template data</a></li>
+<li><a class="reference" href="#template-tab-in-preferences-dialog" id="id109" name="id109">Template tab in preferences dialog</a><ul>
+<li><a class="reference" href="#template-data" id="id110" name="id110">Template data</a></li>
-<li><a class="reference internal" href="#keybinding-tab-in-preferences-dialog" id="id110">Keybinding tab in preferences dialog</a></li>
-<li><a class="reference internal" href="#printing-tab-in-preferences-dialog" id="id111">Printing tab in preferences dialog</a></li>
-<li><a class="reference internal" href="#terminal-vte-tab-in-preferences-dialog" id="id112">Terminal (VTE) tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#terminal-widget" id="id113">Terminal widget</a></li>
+<li><a class="reference" href="#keybinding-tab-in-preferences-dialog" id="id111" name="id111">Keybinding tab in preferences dialog</a></li>
+<li><a class="reference" href="#printing-tab-in-preferences-dialog" id="id112" name="id112">Printing tab in preferences dialog</a></li>
+<li><a class="reference" href="#terminal-vte-tab-in-preferences-dialog" id="id113" name="id113">Terminal (VTE) tab in preferences dialog</a><ul>
+<li><a class="reference" href="#terminal-widget" id="id114" name="id114">Terminal widget</a></li>
-<li><a class="reference internal" href="#project-management" id="id114">Project Management</a><ul>
-<li><a class="reference internal" href="#new-project" id="id115">New Project</a></li>
-<li><a class="reference internal" href="#project-properties" id="id116">Project Properties</a><ul>
-<li><a class="reference internal" href="#make-in-base-path" id="id117">Make in base path</a></li>
-<li><a class="reference internal" href="#run-command" id="id118">Run command</a></li>
+<li><a class="reference" href="#project-management" id="id115" name="id115">Project Management</a><ul>
+<li><a class="reference" href="#new-project" id="id116" name="id116">New Project</a></li>
+<li><a class="reference" href="#project-properties" id="id117" name="id117">Project Properties</a><ul>
+<li><a class="reference" href="#make-in-base-path" id="id118" name="id118">Make in base path</a></li>
+<li><a class="reference" href="#run-command" id="id119" name="id119">Run command</a></li>
-<li><a class="reference internal" href="#open-project" id="id119">Open Project</a></li>
-<li><a class="reference internal" href="#close-project" id="id120">Close Project</a></li>
+<li><a class="reference" href="#open-project" id="id120" name="id120">Open Project</a></li>
+<li><a class="reference" href="#close-project" id="id121" name="id121">Close Project</a></li>
-<li><a class="reference internal" href="#build-system" id="id121">Build system</a><ul>
-<li><a class="reference internal" href="#compile" id="id122">Compile</a></li>
-<li><a class="reference internal" href="#build" id="id123">Build</a></li>
-<li><a class="reference internal" href="#make-all" id="id124">Make all</a></li>
-<li><a class="reference internal" href="#make-custom-target" id="id125">Make custom target</a></li>
-<li><a class="reference internal" href="#make-object" id="id126">Make object</a></li>
-<li><a class="reference internal" href="#execute" id="id127">Execute</a></li>
-<li><a class="reference internal" href="#stopping-running-processes" id="id128">Stopping running processes</a><ul>
-<li><a class="reference internal" href="#terminal-emulators" id="id129">Terminal emulators</a></li>
+<li><a class="reference" href="#build-system" id="id122" name="id122">Build system</a><ul>
+<li><a class="reference" href="#compile" id="id123" name="id123">Compile</a></li>
+<li><a class="reference" href="#build" id="id124" name="id124">Build</a></li>
+<li><a class="reference" href="#make-all" id="id125" name="id125">Make all</a></li>
+<li><a class="reference" href="#make-custom-target" id="id126" name="id126">Make custom target</a></li>
+<li><a class="reference" href="#make-object" id="id127" name="id127">Make object</a></li>
+<li><a class="reference" href="#execute" id="id128" name="id128">Execute</a></li>
+<li><a class="reference" href="#stopping-running-processes" id="id129" name="id129">Stopping running processes</a><ul>
+<li><a class="reference" href="#terminal-emulators" id="id130" name="id130">Terminal emulators</a></li>
-<li><a class="reference internal" href="#set-includes-and-arguments" id="id130">Set Includes and Arguments</a><ul>
-<li><a class="reference internal" href="#one-step-compilation" id="id131">One step compilation</a></li>
+<li><a class="reference" href="#set-includes-and-arguments" id="id131" name="id131">Set Includes and Arguments</a><ul>
+<li><a class="reference" href="#one-step-compilation" id="id132" name="id132">One step compilation</a></li>
-<li><a class="reference internal" href="#indicators" id="id132">Indicators</a></li>
+<li><a class="reference" href="#indicators" id="id133" name="id133">Indicators</a></li>
-<li><a class="reference internal" href="#printing-support" id="id133">Printing support</a></li>
-<li><a class="reference internal" href="#plugins" id="id134">Plugins</a></li>
-<li><a class="reference internal" href="#keybindings" id="id135">Keybindings</a><ul>
-<li><a class="reference internal" href="#switching-documents" id="id136">Switching documents</a></li>
-<li><a class="reference internal" href="#configurable-keybindings" id="id137">Configurable keybindings</a></li>
+<li><a class="reference" href="#printing-support" id="id134" name="id134">Printing support</a></li>
+<li><a class="reference" href="#plugins" id="id135" name="id135">Plugins</a></li>
+<li><a class="reference" href="#keybindings" id="id136" name="id136">Keybindings</a><ul>
+<li><a class="reference" href="#switching-documents" id="id137" name="id137">Switching documents</a></li>
+<li><a class="reference" href="#configurable-keybindings" id="id138" name="id138">Configurable keybindings</a></li>
-<li><a class="reference internal" href="#configuration-files" id="id138">Configuration files</a><ul>
-<li><a class="reference internal" href="#global-configuration-file" id="id139">Global configuration file</a></li>
-<li><a class="reference internal" href="#filetype-definition-files" id="id140">Filetype definition files</a><ul>
-<li><a class="reference internal" href="#format" id="id141">Format</a><ul>
-<li><a class="reference internal" href="#styling-section" id="id142">[styling] Section</a></li>
-<li><a class="reference internal" href="#keywords-section" id="id143">[keywords] Section</a></li>
-<li><a class="reference internal" href="#settings-section" id="id144">[settings] Section</a></li>
-<li><a class="reference internal" href="#build-settings-section" id="id145">[build_settings] Section</a></li>
+<li><a class="reference" href="#configuration-files" id="id139" name="id139">Configuration files</a><ul>
+<li><a class="reference" href="#global-configuration-file" id="id140" name="id140">Global configuration file</a></li>
+<li><a class="reference" href="#filetype-definition-files" id="id141" name="id141">Filetype definition files</a><ul>
+<li><a class="reference" href="#format" id="id142" name="id142">Format</a><ul>
+<li><a class="reference" href="#styling-section" id="id143" name="id143">[styling] Section</a></li>
+<li><a class="reference" href="#keywords-section" id="id144" name="id144">[keywords] Section</a></li>
+<li><a class="reference" href="#settings-section" id="id145" name="id145">[settings] Section</a></li>
+<li><a class="reference" href="#build-settings-section" id="id146" name="id146">[build_settings] Section</a></li>
-<li><a class="reference internal" href="#special-file-filetypes-common" id="id146">Special file filetypes.common</a></li>
+<li><a class="reference" href="#special-file-filetypes-common" id="id147" name="id147">Special file filetypes.common</a></li>
-<li><a class="reference internal" href="#filetype-extensions" id="id147">Filetype extensions</a></li>
-<li><a class="reference internal" href="#templates" id="id148">Templates</a><ul>
-<li><a class="reference internal" href="#template-meta-data" id="id149">Template meta data</a></li>
-<li><a class="reference internal" href="#file-templates" id="id150">File templates</a><ul>
-<li><a class="reference internal" href="#custom-file-templates" id="id151">Custom file templates</a></li>
-<li><a class="reference internal" href="#filetype-templates" id="id152">Filetype templates</a></li>
+<li><a class="reference" href="#filetype-extensions" id="id148" name="id148">Filetype extensions</a></li>
+<li><a class="reference" href="#templates" id="id149" name="id149">Templates</a><ul>
+<li><a class="reference" href="#template-meta-data" id="id150" name="id150">Template meta data</a></li>
+<li><a class="reference" href="#file-templates" id="id151" name="id151">File templates</a><ul>
+<li><a class="reference" href="#custom-file-templates" id="id152" name="id152">Custom file templates</a></li>
+<li><a class="reference" href="#filetype-templates" id="id153" name="id153">Filetype templates</a></li>
-<li><a class="reference internal" href="#customizing-templates" id="id153">Customizing templates</a><ul>
-<li><a class="reference internal" href="#template-wildcards" id="id154">Template wildcards</a></li>
+<li><a class="reference" href="#customizing-templates" id="id154" name="id154">Customizing templates</a><ul>
+<li><a class="reference" href="#template-wildcards" id="id155" name="id155">Template wildcards</a></li>
-<li><a class="reference internal" href="#customizing-the-toolbar" id="id155">Customizing the toolbar</a><ul>
-<li><a class="reference internal" href="#available-toolbar-elements" id="id156">Available toolbar elements</a></li>
+<li><a class="reference" href="#customizing-the-toolbar" id="id156" name="id156">Customizing the toolbar</a><ul>
+<li><a class="reference" href="#available-toolbar-elements" id="id157" name="id157">Available toolbar elements</a></li>
-<li><a class="reference internal" href="#plugin-documentation" id="id157">Plugin documentation</a><ul>
-<li><a class="reference internal" href="#instant-save" id="id158">Instant Save</a></li>
-<li><a class="reference internal" href="#backup-copy" id="id159">Backup Copy</a></li>
+<li><a class="reference" href="#plugin-documentation" id="id158" name="id158">Plugin documentation</a><ul>
+<li><a class="reference" href="#instant-save" id="id159" name="id159">Instant Save</a></li>
+<li><a class="reference" href="#backup-copy" id="id160" name="id160">Backup Copy</a></li>
-<li><a class="reference internal" href="#contributing-to-this-document" id="id160">Contributing to this document</a></li>
-<li><a class="reference internal" href="#scintilla-keyboard-commands" id="id161">Scintilla keyboard commands</a><ul>
-<li><a class="reference internal" href="#keyboard-commands" id="id162">Keyboard commands</a></li>
+<li><a class="reference" href="#contributing-to-this-document" id="id161" name="id161">Contributing to this document</a></li>
+<li><a class="reference" href="#scintilla-keyboard-commands" id="id162" name="id162">Scintilla keyboard commands</a><ul>
+<li><a class="reference" href="#keyboard-commands" id="id163" name="id163">Keyboard commands</a></li>
-<li><a class="reference internal" href="#tips-and-tricks" id="id163">Tips and tricks</a><ul>
-<li><a class="reference internal" href="#document-notebook" id="id164">Document notebook</a></li>
-<li><a class="reference internal" href="#editor" id="id165">Editor</a></li>
-<li><a class="reference internal" href="#interface" id="id166">Interface</a></li>
-<li><a class="reference internal" href="#gtk-related" id="id167">GTK-related</a></li>
+<li><a class="reference" href="#tips-and-tricks" id="id164" name="id164">Tips and tricks</a><ul>
+<li><a class="reference" href="#document-notebook" id="id165" name="id165">Document notebook</a></li>
+<li><a class="reference" href="#editor" id="id166" name="id166">Editor</a></li>
+<li><a class="reference" href="#interface" id="id167" name="id167">Interface</a></li>
+<li><a class="reference" href="#gtk-related" id="id168" name="id168">GTK-related</a></li>
-<li><a class="reference internal" href="#hidden-preferences" id="id168">Hidden preferences</a></li>
-<li><a class="reference internal" href="#compile-time-options" id="id169">Compile-time options</a><ul>
-<li><a class="reference internal" href="#src-geany-h" id="id170">src/geany.h</a></li>
-<li><a class="reference internal" href="#project-h" id="id171">project.h</a></li>
-<li><a class="reference internal" href="#editor-h" id="id172">editor.h</a></li>
-<li><a class="reference internal" href="#keyfile-c" id="id173">keyfile.c</a></li>
-<li><a class="reference internal" href="#build-h" id="id174">build.h</a></li>
+<li><a class="reference" href="#hidden-preferences" id="id169" name="id169">Hidden preferences</a></li>
+<li><a class="reference" href="#compile-time-options" id="id170" name="id170">Compile-time options</a><ul>
+<li><a class="reference" href="#src-geany-h" id="id171" name="id171">src/geany.h</a></li>
+<li><a class="reference" href="#project-h" id="id172" name="id172">project.h</a></li>
+<li><a class="reference" href="#editor-h" id="id173" name="id173">editor.h</a></li>
+<li><a class="reference" href="#keyfile-c" id="id174" name="id174">keyfile.c</a></li>
+<li><a class="reference" href="#build-h" id="id175" name="id175">build.h</a></li>
-<li><a class="reference internal" href="#gnu-general-public-license" id="id175">GNU General Public License</a></li>
-<li><a class="reference internal" href="#license-for-scintilla-and-scite" id="id176">License for Scintilla and SciTE</a></li>
+<li><a class="reference" href="#gnu-general-public-license" id="id176" name="id176">GNU General Public License</a></li>
+<li><a class="reference" href="#license-for-scintilla-and-scite" id="id177" name="id177">License for Scintilla and SciTE</a></li>
-<div class="section" id="introduction">
-<h1><a class="toc-backref" href="#id9">Introduction</a></h1>
-<div class="section" id="about-geany">
-<h2><a class="toc-backref" href="#id10">About Geany</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id9" id="introduction" name="introduction">Introduction</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id10" id="about-geany" name="about-geany">About Geany</a></h2>
 <p>Geany is a small and lightweight Integrated Development Environment. It
 was developed to provide a small and fast IDE, which has only a few
 dependencies from other packages. Another goal was to be as independent
@@ -443,56 +444,56 @@
 <li>Plugin interface</li>
-<div class="section" id="where-to-get-it">
-<h2><a class="toc-backref" href="#id11">Where to get it</a></h2>
-<p>You can obtain Geany from <a class="reference external" href="http://www.geany.org/">http://www.geany.org/</a> or perhaps also from
+<div class="section">
+<h2><a class="toc-backref" href="#id11" id="where-to-get-it" name="where-to-get-it">Where to get it</a></h2>
+<p>You can obtain Geany from <a class="reference" href="http://www.geany.org/">http://www.geany.org/</a> or perhaps also from
 your distributor. For a list of available packages, please see
-<a class="reference external" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p>
+<a class="reference" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p>
-<div class="section" id="license">
-<h2><a class="toc-backref" href="#id12">License</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id12" id="license" name="license">License</a></h2>
 <p>Geany is distributed under the terms of the GNU General Public License
 as published by the Free Software Foundation; either version 2 of
 the License, or (at your option) any later version. A copy of this
 license can be found in the file COPYING included with the source
-code of this program and in the chapter, <a class="reference internal" href="#gnu-general-public-license">GNU General Public License</a>.</p>
+code of this program and in the chapter, <a class="reference" href="#gnu-general-public-license">GNU General Public License</a>.</p>
 <p>The included Scintilla library (found in the subdirectory
 <tt class="docutils literal"><span class="pre">scintilla/</span></tt>) has its own license, which can be found in the chapter,
-<a class="reference internal" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p>
+<a class="reference" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p>
-<div class="section" id="about-this-document">
-<h2><a class="toc-backref" href="#id13">About this document</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id13" id="about-this-document" name="about-this-document">About this document</a></h2>
 <p>This documentation is available in HTML and text formats.
-The latest version can always be found at <a class="reference external" href="http://www.geany.org/">http://www.geany.org/</a>.</p>
-<p>If you want to contribute to it, see <a class="reference internal" href="#contributing-to-this-document">Contributing to this document</a>.</p>
+The latest version can always be found at <a class="reference" href="http://www.geany.org/">http://www.geany.org/</a>.</p>
+<p>If you want to contribute to it, see <a class="reference" href="#contributing-to-this-document">Contributing to this document</a>.</p>
-<div class="section" id="installation">
-<h1><a class="toc-backref" href="#id14">Installation</a></h1>
-<div class="section" id="requirements">
-<h2><a class="toc-backref" href="#id15">Requirements</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id14" id="installation" name="installation">Installation</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id15" id="requirements" name="requirements">Requirements</a></h2>
 <p>You will need the GTK (>= 2.8.0) libraries and their dependencies
 (Pango, GLib and ATK). Your distro should provide packages for these,
 usually installed by default. For Windows, you can download an installer
 which bundles these libraries from the website.</p>
-<div class="section" id="binary-packages">
-<h2><a class="toc-backref" href="#id16">Binary packages</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id16" id="binary-packages" name="binary-packages">Binary packages</a></h2>
 <p>There are many binary packages available. For an up-to-date but maybe
-incomplete list see <a class="reference external" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p>
+incomplete list see <a class="reference" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p>
-<div class="section" id="source-compilation">
-<h2><a class="toc-backref" href="#id17">Source compilation</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id17" id="source-compilation" name="source-compilation">Source compilation</a></h2>
 <p>Compiling Geany is quite easy.
 To do so, you need the GTK (>= 2.8.0) libraries and header files.
 You also need the Pango, GLib and ATK libraries and header files.
-All these files are available at <a class="reference external" href="http://www.gtk.org">http://www.gtk.org</a>, but very often
+All these files are available at <a class="reference" href="http://www.gtk.org">http://www.gtk.org</a>, but very often
 your distro will provide development packages to save the trouble of
 building these yourself.</p>
 <p>Furthermore you need, of course, a C and C++ compiler. The GNU versions
 of these tools are recommended.</p>
-<div class="section" id="autotools-based-build-system">
-<h3><a class="toc-backref" href="#id18">Autotools based build system</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id18" id="autotools-based-build-system" name="autotools-based-build-system">Autotools based build system</a></h3>
 <p>The Autotools based build system is very mature and has been well tested.
 To use it, you just need the Make tool, preferably GNU Make.</p>
 <p>Then run the following commands:</p>
@@ -505,8 +506,8 @@
 % make install
-<div class="section" id="waf-based-build-system">
-<h3><a class="toc-backref" href="#id19">Waf based build system</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id19" id="waf-based-build-system" name="waf-based-build-system">Waf based build system</a></h3>
 <p>The Waf build system is still quite young and under heavy development but already in an
 usable state. In contrary to the Autotools, Waf needs Python. So before using Waf, you need
 to install Python on your system.
@@ -514,7 +515,7 @@
 build process might be a bit faster. Especially when you use the Waf cache feature repetitive
 builds (e.g. when changing only a few source files to test something) will become much faster
 since Waf will cache and re-use the unchanged built files and only compile the changed code
-again. See <a class="reference internal" href="#waf-cache">Waf Cache</a> for details.
+again. See <a class="reference" href="#waf-cache">Waf Cache</a> for details.
 To build Geany with Waf as usual run:</p>
 <pre class="literal-block">
 $ ./waf configure
@@ -524,8 +525,8 @@
 <pre class="literal-block">
 % ./waf install
-<div class="section" id="waf-cache">
-<h4><a class="toc-backref" href="#id20">Waf Cache</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id20" id="waf-cache" name="waf-cache">Waf Cache</a></h4>
 <p>The Waf build system has a nice and interesting feature which can help a lot to avoid
 unnecessary rebuilding of unchanged code. This often happens when developing new features
 or trying to debug something.
@@ -543,9 +544,9 @@
 <p>Remember to replace <tt class="docutils literal"><span class="pre">username</span></tt> with your actual username.</p>
 <p>More information about the Waf cache feature are available at
-<a class="reference external" href="http://code.google.com/p/waf/wiki/CacheObjectFiles">http://code.google.com/p/waf/wiki/CacheObjectFiles</a>.</p>
-<div class="section" id="cleaning-the-cache">
-<h5><a class="toc-backref" href="#id21">Cleaning the Cache</a></h5>
+<a class="reference" href="http://code.google.com/p/waf/wiki/CacheObjectFiles">http://code.google.com/p/waf/wiki/CacheObjectFiles</a>.</p>
+<div class="section">
+<h5><a class="toc-backref" href="#id21" id="cleaning-the-cache" name="cleaning-the-cache">Cleaning the Cache</a></h5>
 <p>You should take care about the size of the cache directory as it may grow rapidly by time.
 Waf doesn't do any cleaning or other house-keeping of the cache yet so you need to keep it
 clean by yourself.
@@ -559,8 +560,8 @@
-<div class="section" id="custom-installation">
-<h3><a class="toc-backref" href="#id22">Custom installation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id22" id="custom-installation" name="custom-installation">Custom installation</a></h3>
 <p>The configure script supports several common options, for a detailed
 list, type:</p>
 <pre class="literal-block">
@@ -574,29 +575,39 @@
 <p>You may also want to read the INSTALL file for advanced installation
 <ul class="simple">
-<li>See also <a class="reference internal" href="#compile-time-options">Compile-time options</a>.</li>
+<li>See also <a class="reference" href="#compile-time-options">Compile-time options</a>.</li>
-<div class="section" id="dynamic-linking-loader-support">
-<h3><a class="toc-backref" href="#id23">Dynamic linking loader support</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id23" id="dynamic-linking-loader-support" name="dynamic-linking-loader-support">Dynamic linking loader support</a></h3>
 <p>In the case that your system lacks dynamic linking loader support, you
 probably want to pass the option <tt class="docutils literal"><span class="pre">--disable-vte</span></tt> to the <tt class="docutils literal"><span class="pre">configure</span></tt>
 script. This prevents compiling Geany with dynamic linking loader
 support to automatically load <tt class="docutils literal"><span class="pre">libvte.so.4</span></tt> if available.</p>
-<div class="section" id="build-problems">
-<h3><a class="toc-backref" href="#id24">Build problems</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id24" id="build-problems" name="build-problems">Build problems</a></h3>
 <p>If there are any errors during compilation, check your build
 environment and try to find the error, otherwise contact the mailing
 list or one the authors. Sometimes you might need to ask for specific
 help from your distro.</p>
+<div class="section">
+<h2><a class="toc-backref" href="#id25" id="installation-prefix" name="installation-prefix">Installation prefix</a></h2>
+<p>If you want to edit any of Geany's system configuration files after
+installation you will need to know the installation prefix.  Usually this
+is not necessary as you can just use user configuration files.</p>
+<p>Use the <tt class="docutils literal"><span class="pre">--print-prefix</span></tt> option to check - see <a class="reference" href="#command-line-options">Command line
+options</a>. The first path is the prefix.</p>
+<p>This is commonly <tt class="docutils literal"><span class="pre">/usr</span></tt> if you installed from a binary package, or
+<tt class="docutils literal"><span class="pre">/usr/local</span></tt> if you build from source.</p>
-<div class="section" id="usage">
-<h1><a class="toc-backref" href="#id25">Usage</a></h1>
-<div class="section" id="getting-started">
-<h2><a class="toc-backref" href="#id26">Getting started</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id26" id="usage" name="usage">Usage</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id27" id="getting-started" name="getting-started">Getting started</a></h2>
 <p>You can start Geany in the following ways:</p>
 <li><p class="first">From the Desktop Environment menu:</p>
@@ -612,8 +623,8 @@
-<div class="section" id="command-line-options">
-<h2><a class="toc-backref" href="#id27">Command line options</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id28" id="command-line-options" name="command-line-options">Command line options</a></h2>
 <table border="1" class="docutils">
 <col width="13%" />
@@ -652,7 +663,7 @@
 <td>Generate a global tags file (see
-<a class="reference internal" href="#generating-a-global-tags-file">Generating a global tags file</a>).</td>
+<a class="reference" href="#generating-a-global-tags-file">Generating a global tags file</a>).</td>
@@ -744,13 +755,13 @@
 <p>Geany supports all generic GTK options, a list is available on the
 help screen.</p>
-<div class="section" id="general">
-<h2><a class="toc-backref" href="#id28">General</a></h2>
-<div class="section" id="startup">
-<h3><a class="toc-backref" href="#id29">Startup</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id29" id="general" name="general">General</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id30" id="startup" name="startup">Startup</a></h3>
 <p>At startup, Geany loads all files from the last time Geany was
 launched. You can disable this feature in the preferences dialog
-(see <a class="reference internal" href="#general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a>). If you specify some
+(see <a class="reference" href="#general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a>). If you specify some
 files on the command line, only these files will be opened, but you
 can find the files from the last session in the file menu under the
 "Recent files" item. By default this contains the last 10 recently
@@ -761,8 +772,8 @@
 do not specify any filenames on the command-line, or disable opening
 files in a running instance using the appropriate command line option.</p>
-<div class="section" id="opening-files-from-the-command-line-in-a-running-instance">
-<h3><a class="toc-backref" href="#id30">Opening files from the command-line in a running instance</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id31" id="opening-files-from-the-command-line-in-a-running-instance" name="opening-files-from-the-command-line-in-a-running-instance">Opening files from the command-line in a running instance</a></h3>
 <p>Geany detects an already running instance of itself and opens files
 from the command-line in the already running instance. So, Geany can
 be used to view and edit files by opening them from other programs
@@ -775,10 +786,10 @@
 column 4.</p>
 <p>If you do not like this for some reason, you can disable using the first
 instance by using the appropriate command line option -- see the section
-called <a class="reference internal" href="#command-line-options">Command line options</a>.</p>
+called <a class="reference" href="#command-line-options">Command line options</a>.</p>
-<div class="section" id="virtual-terminal-emulator-widget-vte">
-<h3><a class="toc-backref" href="#id31">Virtual terminal emulator widget (VTE)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id32" id="virtual-terminal-emulator-widget-vte" name="virtual-terminal-emulator-widget-vte">Virtual terminal emulator widget (VTE)</a></h3>
 <p>If you have installed <tt class="docutils literal"><span class="pre">libvte.so</span></tt> in your system, it is loaded
 automatically by Geany, and you will have a terminal widget in the
 notebook at the bottom.</p>
@@ -786,7 +797,7 @@
 will not be loaded. So there is no need to install the package containing
 this file in order to run Geany. Additionally, you can disable the use
 of the terminal widget by command line option, for more information
-see the section called <a class="reference internal" href="#command-line-options">Command line options</a>.</p>
+see the section called <a class="reference" href="#command-line-options">Command line options</a>.</p>
 <p>You can use this terminal (from now on called VTE) nearly as an usual
 terminal program like xterm. There is basic clipboard support. You
 can paste the contents of the clipboard by pressing the right mouse
@@ -817,12 +828,12 @@
 <p>Obviously, you have to adjust the paths and set X to the number of your
 <tt class="docutils literal"><span class="pre">libvte.so</span></tt>.</p>
 <p>You can also specify the filename of the VTE library to use on the command
-line (see the section called <a class="reference internal" href="#command-line-options">Command line options</a>) or at compile time
+line (see the section called <a class="reference" href="#command-line-options">Command line options</a>) or at compile time
 by specifying the command line option <tt class="docutils literal"><span class="pre">--with-vte-module-path</span></tt> to
-<div class="section" id="defining-own-widget-styles-using-gtkrc-2-0">
-<h3><a class="toc-backref" href="#id32">Defining own widget styles using .gtkrc-2.0</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id33" id="defining-own-widget-styles-using-gtkrc-2-0" name="defining-own-widget-styles-using-gtkrc-2-0">Defining own widget styles using .gtkrc-2.0</a></h3>
 <p>You can define your widget style for many of Geany's GUI parts. To
 do this, just edit your <tt class="docutils literal"><span class="pre">.gtkrc-2.0</span></tt> (usually found in your home
 directory on UNIX-like systems and in the etc subdirectory of your
@@ -862,10 +873,10 @@
-<div class="section" id="documents">
-<h2><a class="toc-backref" href="#id33">Documents</a></h2>
-<div class="section" id="switching-between-documents">
-<h3><a class="toc-backref" href="#id34">Switching between documents</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id34" id="documents" name="documents">Documents</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id35" id="switching-between-documents" name="switching-between-documents">Switching between documents</a></h3>
 <p>The documents list and the editor tabs are two different ways
 to switch between documents using the mouse. When you hit the key
 combination to move between tabs, the order is determined by the tab
@@ -873,10 +884,10 @@
 of whether or not editor tabs are visible).</p>
-<div class="section" id="character-sets-and-unicode-byte-order-mark-bom">
-<h2><a class="toc-backref" href="#id35">Character sets and Unicode Byte-Order-Mark (BOM)</a></h2>
-<div class="section" id="using-character-sets">
-<h3><a class="toc-backref" href="#id36">Using character sets</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id36" id="character-sets-and-unicode-byte-order-mark-bom" name="character-sets-and-unicode-byte-order-mark-bom">Character sets and Unicode Byte-Order-Mark (BOM)</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id37" id="using-character-sets" name="using-character-sets">Using character sets</a></h3>
 <p>Geany provides support for detecting and converting character sets. So
 you can open and save files in different character sets and even
 can convert a file from a character set to another one. To do this,
@@ -921,8 +932,8 @@
-<div class="section" id="in-file-encoding-specification">
-<h3><a class="toc-backref" href="#id37">In-file encoding specification</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id38" id="in-file-encoding-specification" name="in-file-encoding-specification">In-file encoding specification</a></h3>
 <p>Geany detects meta tags of HTML files which contain charset information
 <pre class="literal-block">
@@ -963,8 +974,8 @@
 Anything after the first 512 bytes will not be recognized.</p>
-<div class="section" id="special-encoding-none">
-<h3><a class="toc-backref" href="#id38">Special encoding "None"</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id39" id="special-encoding-none" name="special-encoding-none">Special encoding "None"</a></h3>
 <p>There is a special encoding "None" which is actually no real
 encoding. It is useful when you know that Geany cannot auto-detect
 the encoding of a file and it is not displayed correctly. Especially
@@ -973,10 +984,10 @@
 of the first NULL-byte. Using this encoding opens the file as it is
 without any character conversion.</p>
-<div class="section" id="unicode-byte-order-mark-bom">
-<h3><a class="toc-backref" href="#id39">Unicode Byte-Order-Mark (BOM)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id40" id="unicode-byte-order-mark-bom" name="unicode-byte-order-mark-bom">Unicode Byte-Order-Mark (BOM)</a></h3>
 <p>Furthermore, Geany detects an Unicode Byte Order Mark (see
-<a class="reference external" href="http://en.wikipedia.org/wiki/Byte_Order_Mark">http://en.wikipedia.org/wiki/Byte_Order_Mark</a> for details). Of course,
+<a class="reference" href="http://en.wikipedia.org/wiki/Byte_Order_Mark">http://en.wikipedia.org/wiki/Byte_Order_Mark</a> for details). Of course,
 this feature is only available if the opened file is in an Unicode
 encoding. The Byte Order Mark helps to detect the encoding of a file,
 e.g. whether it is UTF-16LE or UTF-16BE and so on. On Unix-like systems
@@ -994,10 +1005,10 @@
-<div class="section" id="editing">
-<h2><a class="toc-backref" href="#id40">Editing</a></h2>
-<div class="section" id="folding">
-<h3><a class="toc-backref" href="#id41">Folding</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id41" id="editing" name="editing">Editing</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id42" id="folding" name="folding">Folding</a></h3>
 <p>Geany provides basic code folding support. Folding means the ability to
 show and hide parts of the text in the current file. You can hide
 unimportant code sections and concentrate on the parts you are working on
@@ -1020,8 +1031,8 @@
 children of a fold point" option is enabled, pressing Shift will disable
 it for this click and vice versa.</p>
-<div class="section" id="column-mode-editing-rectangular-selections">
-<h3><a class="toc-backref" href="#id42">Column mode editing (rectangular selections)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id43" id="column-mode-editing-rectangular-selections" name="column-mode-editing-rectangular-selections">Column mode editing (rectangular selections)</a></h3>
 <p>There is basic support for column mode editing. To use it, create a
 rectangular selection by holding down the Control and Shift keys
 (or Control and Alt if it doesn't work) while
@@ -1031,18 +1042,18 @@
 this selection and the modifications will be done for every line in the
-<div class="section" id="drag-and-drop-of-text">
-<h3><a class="toc-backref" href="#id43">Drag and drop of text</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id44" id="drag-and-drop-of-text" name="drag-and-drop-of-text">Drag and drop of text</a></h3>
 <p>If you drag selected text in the editor widget of Geany the text is
 moved to the position where the mouse pointer is when releasing the
 mouse button. Holding Control when releasing the mouse button will
 copy the text instead. This behaviour was changed in Geany 0.11 -
 before the selected text was copied to the new position.</p>
-<div class="section" id="indentation">
-<h3><a class="toc-backref" href="#id44">Indentation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id45" id="indentation" name="indentation">Indentation</a></h3>
 <p>Geany allows each document to indent either with a tab character or
-multiple spaces. The default indent mode is set in the <a class="reference internal" href="#editor-features-tab-in-preferences-dialog">Editor Features
+multiple spaces. The default indent mode is set in the <a class="reference" href="#editor-features-tab-in-preferences-dialog">Editor Features
 tab in preferences dialog</a> (see the link for more information). But
 this can be overridden using either the <em>Document->Indent Type</em> menu,
 or by using the <em>Detect from file</em> indentation preference. When enabled,
@@ -1060,8 +1071,8 @@
 on a line.</dd>
-<div class="section" id="auto-indentation">
-<h3><a class="toc-backref" href="#id45">Auto-indentation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id46" id="auto-indentation" name="auto-indentation">Auto-indentation</a></h3>
 <p>When enabled, auto-indentation happens when pressing <em>Enter</em> in the
 Editor. It adds a certain amount of indentation to the new line so the
 user doesn't always have to indent each line manually.</p>
@@ -1081,8 +1092,8 @@
 match the indentation of the line with the opening brace.</dd>
-<div class="section" id="bookmarks">
-<h3><a class="toc-backref" href="#id46">Bookmarks</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id47" id="bookmarks" name="bookmarks">Bookmarks</a></h3>
 <p>Geany provides a handy bookmarking feature that lets you mark one
 or more lines in a document, and return the cursor to them using a
 key combination.</p>
@@ -1099,14 +1110,14 @@
 (Ctrl-PgUp/PgDn and Ctrl-Tab) provides a particularly fast way to
 navigate around multiple files.</p>
-<div class="section" id="code-navigation-history">
-<h3><a class="toc-backref" href="#id47">Code Navigation History</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id48" id="code-navigation-history" name="code-navigation-history">Code Navigation History</a></h3>
 <p>To ease navigation in source files and especially between
 different files, Geany lets you jump between different navigation
 points. Currently, this works for the following:</p>
 <ul class="simple">
-<li><a class="reference internal" href="#go-to-tag-declaration">Go to tag declaration</a></li>
-<li><a class="reference internal" href="#go-to-tag-definition">Go to tag definition</a></li>
+<li><a class="reference" href="#go-to-tag-declaration">Go to tag declaration</a></li>
+<li><a class="reference" href="#go-to-tag-definition">Go to tag definition</a></li>
 <li>Symbol list items</li>
 <li>Build errors</li>
 <li>Message items</li>
@@ -1118,8 +1129,8 @@
 location". This makes it easier to navigate in e.g.  foreign code
 and between different files.</p>
-<div class="section" id="send-text-through-definable-commands">
-<h3><a class="toc-backref" href="#id48">Send text through definable commands</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id49" id="send-text-through-definable-commands" name="send-text-through-definable-commands">Send text through definable commands</a></h3>
 <p>You can define several custom commands in Geany and send the current
 selection to one of these commands. The output of the command will be
 used to replace the current selection. So, it is possible to use text
@@ -1135,18 +1146,18 @@
 some command line options. To delete a command, just clear the text
 entry and press OK. It will be deleted automatically.</p>
-<div class="section" id="context-actions">
-<h3><a class="toc-backref" href="#id49">Context actions</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id50" id="context-actions" name="context-actions">Context actions</a></h3>
 <p>You can execute a specified command on the current word near the
 cursor position or an available selection and this word is passed
 as an argument to this command. It can be used for example to open
 some API documentation in a browser window or open any other external
 program. To do this, there is an menu entry in the popup menu of the
 editor widget and also a keyboard shortcut(see the section called
-<a class="reference internal" href="#keybindings">Keybindings</a>).</p>
+<a class="reference" href="#keybindings">Keybindings</a>).</p>
 <p>The command can be specified in the preferences dialog and additionally
 for each filetype (see "context_action_cmd" in the section called
-<a class="reference internal" href="#format">Format</a>). At executing, the filetype specific command is used if
+<a class="reference" href="#format">Format</a>). At executing, the filetype specific command is used if
 available otherwise the command specified in the preferences dialog
 is executed.</p>
 <p>The passed word can be referred with the wildcard "%s" everywhere
@@ -1159,10 +1170,10 @@
 <p>when executing the command, the %s is substituted by the word near
 the cursor position or by the current selection. If the cursor is at
 the word "echo", a browser window will open(assumed your browser is
-called firefox) and it will open the address: <a class="reference external" href="http://www.php.net/echo">http://www.php.net/echo</a>.</p>
+called firefox) and it will open the address: <a class="reference" href="http://www.php.net/echo">http://www.php.net/echo</a>.</p>
-<div class="section" id="user-definable-snippets">
-<h3><a class="toc-backref" href="#id50">User-definable snippets</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id51" id="user-definable-snippets" name="user-definable-snippets">User-definable snippets</a></h3>
 <p>Snippets are small strings or code constructs which can be replaced or
 completed to a more complex string. So you can save a lot of time by
 not typing often used strings and letting Geany do the work for you.
@@ -1170,7 +1181,7 @@
 called <tt class="docutils literal"><span class="pre">snippets.conf</span></tt> at startup.</p>
 <p>The system-wide configuration file can be found in
 <tt class="docutils literal"><span class="pre">$prefix/share/geany</span></tt>, where <tt class="docutils literal"><span class="pre">$prefix</span></tt> is the path where Geany is
-installed (commonly <tt class="docutils literal"><span class="pre">/usr/local</span></tt>). It is not recommended to edit the
+installed (see <a class="reference" href="#installation-prefix">Installation prefix</a>). It is not recommended to edit the
 system-wide file, because it will be overridden when Geany is updated.</p>
 <p>To change the settings, copy the file from <tt class="docutils literal"><span class="pre">$prefix/share/geany</span></tt>
 in your configuration directory (usually <tt class="docutils literal"><span class="pre">~/.config/geany/</span></tt>).</p>
@@ -1246,7 +1257,7 @@
 in the preferences dialog, by default it is TAB. The corresponding keybinding
 is called <tt class="docutils literal"><span class="pre">Complete</span> <span class="pre">snippet</span></tt>.</p>
 <p>Since Geany 0.15 you can also use most of the available templates wildcards
-listed in <a class="reference internal" href="#template-wildcards">Template wildcards</a>. All wildcards which are listed as
+listed in <a class="reference" href="#template-wildcards">Template wildcards</a>. All wildcards which are listed as
 <cite>available in snippets</cite> can be used. For instance to improve the above example:</p>
 <pre class="literal-block">
@@ -1261,14 +1272,14 @@
 default characters or define it to add or remove characters to fit your
-<div class="section" id="inserting-unicode-characters">
-<h3><a class="toc-backref" href="#id51">Inserting Unicode characters</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id52" id="inserting-unicode-characters" name="inserting-unicode-characters">Inserting Unicode characters</a></h3>
 <p>With GTK 2.10 and above, you can hit Ctrl-Shift-u, then still holding
 Ctrl-Shift, type some hex digits representing the code point for the
 character you want, then let go of Ctrl-Shift and hit a key such as
 the right arrow.</p>
 <p>For this to work in Geany, you'll need to first unbind Ctrl-Shift-u
-in the <a class="reference internal" href="#keybinding-tab-in-preferences-dialog">keybinding tab in preferences dialog</a>, then restart Geany.
+in the <a class="reference" href="#keybinding-tab-in-preferences-dialog">keybinding tab in preferences dialog</a>, then restart Geany.
 Note that it works slightly differently from other GTK applications,
 in that you'll need to continue to hold down the Ctrl and Shift keys
 while typing the code point hex digits.</p>
@@ -1277,8 +1288,8 @@
 keys conflict with other Geany keybindings.</p>
-<div class="section" id="search-replace-and-go-to">
-<h2><a class="toc-backref" href="#id52">Search, replace and go to</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id53" id="search-replace-and-go-to" name="search-replace-and-go-to">Search, replace and go to</a></h2>
 <p>This section describes search-related commands from the Search menu
 and the editor window's popup menu:</p>
 <ul class="simple">
@@ -1291,22 +1302,22 @@
 <li>Go to line</li>
 <p>* These items are available from the editor window's popup menu, or by
-using a keyboard shortcut (see the section called <a class="reference internal" href="#keybindings">Keybindings</a>).</p>
-<div class="section" id="find">
-<h3><a class="toc-backref" href="#id53">Find</a></h3>
+using a keyboard shortcut (see the section called <a class="reference" href="#keybindings">Keybindings</a>).</p>
+<div class="section">
+<h3><a class="toc-backref" href="#id54" id="find" name="find">Find</a></h3>
 <p>The Find dialog is used for finding text in one or more open documents.</p>
 <img alt="./images/find_dialog.png" src="./images/find_dialog.png" />
-<div class="section" id="matching-options">
-<h4><a class="toc-backref" href="#id54">Matching options</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id55" id="matching-options" name="matching-options">Matching options</a></h4>
 <p>The syntax for the Use regular expressions option is shown in
-<a class="reference internal" href="#regular-expressions">Regular expressions</a>.</p>
+<a class="reference" href="#regular-expressions">Regular expressions</a>.</p>
 <p>The Use escape sequences option will transform any escaped characters
 into their UTF-8 equivalent. For example, \t will be transformed into
 a tab character. Other recognized symbols are: \\, \n, \r, \uXXXX
 (Unicode characters).</p>
-<div class="section" id="find-all">
-<h4><a class="toc-backref" href="#id55">Find all</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id56" id="find-all" name="find-all">Find all</a></h4>
 <p>To find all matches, click on the Find All expander. This will reveal
 several options:</p>
 <ul class="simple">
@@ -1321,8 +1332,8 @@
 colored box. These markers can be removed by selecting the
 Remove Markers command from the Document menu.</p>
-<div class="section" id="change-font-in-search-dialog-text-fields">
-<h4><a class="toc-backref" href="#id56">Change font in search dialog text fields</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id57" id="change-font-in-search-dialog-text-fields" name="change-font-in-search-dialog-text-fields">Change font in search dialog text fields</a></h4>
 <p>All search related dialogs use a Monospace for the text input fields to
 increase the readability of input text. This is useful when you are
 typing e.g. regular expressions with spaces, periods and commas which
@@ -1343,8 +1354,8 @@
 for the search dialogs.</p>
-<div class="section" id="find-usage">
-<h3><a class="toc-backref" href="#id57">Find usage</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id58" 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 Find dialog command.</p>
 <p>If there is a selection, then it is used as the search text; otherwise
@@ -1353,8 +1364,8 @@
 click position when the popup menu is used. The search results are
 shown in the Messages tab of the Message Window.</p>
-<div class="section" id="find-in-files">
-<h3><a class="toc-backref" href="#id58">Find in files</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id59" 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
@@ -1365,8 +1376,8 @@
 text into and to convert the search results back to UTF-8.
 The Extra options field is used to pass any additional arguments to
 the grep tool.</p>
-<div class="section" id="filtering-out-version-control-files">
-<h4><a class="toc-backref" href="#id59">Filtering out version control files</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id60" 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 use
 grep's <tt class="docutils literal"><span class="pre">--exclude</span></tt> flag to filter out filenames.</p>
@@ -1377,18 +1388,18 @@
 <p>Example: <tt class="docutils literal"><span class="pre">--exclude-dir=.*</span> <span class="pre">--exclude-dir=CVS</span></tt></p>
-<div class="section" id="replace">
-<h3><a class="toc-backref" href="#id60">Replace</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id61" id="replace" name="replace">Replace</a></h3>
 <p>The Replace dialog is used for replacing text in one or more open
 <img alt="./images/replace_dialog.png" src="./images/replace_dialog.png" />
 <p>The Replace dialog has the same options for matching text as the Find
-dialog. See the section called <a class="reference internal" href="#matching-options">Matching options</a>.</p>
+dialog. See the section called <a class="reference" href="#matching-options">Matching options</a>.</p>
 <p>The <em>Use regular expressions</em> option applies both to the search string
 and to the replacement text; for the latter back references can be
-used -- see the entry for '\n' in <a class="reference internal" href="#regular-expressions">Regular expressions</a>.</p>
-<div class="section" id="replace-all">
-<h4><a class="toc-backref" href="#id61">Replace all</a></h4>
+used -- 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="#id62" 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">
@@ -1402,8 +1413,8 @@
 in the current selection of the current document.</p>
-<div class="section" id="go-to-tag-definition">
-<h3><a class="toc-backref" href="#id62">Go to tag definition</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id63" 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
@@ -1411,18 +1422,18 @@
 or the word underneath the popup menu click position when the popup
 menu is used.</p>
-<div class="section" id="go-to-tag-declaration">
-<h3><a class="toc-backref" href="#id63">Go to tag declaration</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id64" 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
 function prototype or <tt class="docutils literal"><span class="pre">extern</span></tt> declaration instead of a function
-<div class="section" id="go-to-line">
-<h3><a class="toc-backref" href="#id64">Go to line</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id65" 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 class="section" id="regular-expressions">
-<h3><a class="toc-backref" href="#id65">Regular expressions</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id66" 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 Use regular expressions check box. The syntax is
 POSIX-like, as described in the table below.</p>
@@ -1527,31 +1538,30 @@
 <div class="note">
 <p class="first admonition-title">Note</p>
 <p class="last">This table is adapted from Scintilla and SciTE documentation,
-distributed under the <a class="reference internal" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p>
+distributed under the <a class="reference" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p>
-<div class="section" id="tags">
-<h2><a class="toc-backref" href="#id66">Tags</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id67" id="tags" name="tags">Tags</a></h2>
 <p>Geany has built-in functionality for generating tag information (aka
 "workspace tags") for supported filetypes when you open a file.  You
 can also have Geany automatically load external tag files (aka "global
-tags files") from its <tt class="docutils literal"><span class="pre">~/.config/geany/tags</span></tt> directory upon startup, or
-manually using <em>Tools --> Load Tags</em>.</p>
+tags files") upon startup, or manually using <em>Tools --> Load Tags</em>.</p>
 <p>Geany uses its own tag file format, similar to what <tt class="docutils literal"><span class="pre">ctags</span></tt> uses
 (but is incompatible with ctags). You use Geany to generate global
 tags files, as described below.</p>
-<div class="section" id="workspace-tags">
-<h3><a class="toc-backref" href="#id67">Workspace tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id68" 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 auto completion of symbols and calltips for all documents
 open in the current session that have the same filetype.</p>
 <p>The <em>Go to Tag</em> commands can be used with all workspace tags. See
-<a class="reference internal" href="#go-to-tag-definition">Go to tag definition</a>.</p>
+<a class="reference" href="#go-to-tag-definition">Go to tag definition</a>.</p>
-<div class="section" id="global-tags">
-<h3><a class="toc-backref" href="#id68">Global tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id69" id="global-tags" name="global-tags">Global tags</a></h3>
 <p>Global tags are used to provide auto completion 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
@@ -1561,6 +1571,9 @@
 <li>Using the <em>Load Tags</em> command in the Tools menu.</li>
 <li>By creating a directory <tt class="docutils literal"><span class="pre">~/.config/geany/tags</span></tt>, and moving or symlinking
 the tags files there before starting Geany.</li>
+<li>By creating a directory <tt class="docutils literal"><span class="pre">$prefix/share/geany/tags</span></tt>, and moving
+or symlinking the tags files there before starting Geany.
+<tt class="docutils literal"><span class="pre">$prefix</span></tt> is the installation prefix (see <a class="reference" href="#installation-prefix">Installation prefix</a>).</li>
 <p>You can either download these files or generate your own. They have
 the format:</p>
@@ -1568,10 +1581,10 @@
 <p><em>lang_ext</em> is one of the extensions set for the filetype associated
-with the tags. See the section called <a class="reference internal" href="#filetype-extensions">Filetype extensions</a> for
+with the tags. See the section called <a class="reference" href="#filetype-extensions">Filetype extensions</a> for
 more information.</p>
-<div class="section" id="default-global-tags-files">
-<h4><a class="toc-backref" href="#id69">Default global tags files</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id70" 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">
@@ -1583,8 +1596,8 @@
-<div class="section" id="global-tags-file-format">
-<h4><a class="toc-backref" href="#id70">Global tags file format</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id71" 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>
@@ -1618,10 +1631,10 @@
 empty but the pipe separator must appear for them.</p>
 <p>You can easily write your own global tag files using this format.
 Just save them in your tags directory, as described earlier in the
-section <a class="reference internal" href="#global-tags">Global tags</a>.</p>
+section <a class="reference" href="#global-tags">Global tags</a>.</p>
-<div class="section" id="generating-a-global-tags-file">
-<h4><a class="toc-backref" href="#id71">Generating a global tags file</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id72" 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">
@@ -1629,7 +1642,7 @@
 <ul class="simple">
 <li>Tag File filename should be in the format described earlier --
-see the section called <a class="reference internal" href="#global-tags">Global tags</a>.</li>
+see the section called <a class="reference" href="#global-tags">Global tags</a>.</li>
 <li>File list is a list of filenames, each with a full path (unless
 you are generating C/C++ tags and have set the CFLAGS environment
 variable appropriately).</li>
@@ -1665,8 +1678,8 @@
 upgrading Geany.</p>
-<div class="section" id="ignore-tags">
-<h3><a class="toc-backref" href="#id72">Ignore tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id73" 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
@@ -1689,8 +1702,8 @@
 Exuberant Ctags.</p>
-<div class="section" id="preferences">
-<h2><a class="toc-backref" href="#id73">Preferences</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id74" 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
@@ -1701,17 +1714,17 @@
 persist between Geany sessions. The settings under the Document menu,
 however, are only for the current document and revert to defaults
 when restarting Geany.</p>
-<p>There are also some rarer <a class="reference internal" href="#hidden-preferences">Hidden preferences</a>.</p>
+<p>There are also some rarer <a class="reference" href="#hidden-preferences">Hidden preferences</a>.</p>
 <div class="note">
 <p class="first admonition-title">Note</p>
 <p class="last">In the paragraphs that follow, the text describing a dialog tab
 comes after the screenshot of that tab.</p>
-<div class="section" id="general-startup-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id74">General Startup tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id75" id="general-startup-tab-in-preferences-dialog" name="general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_gen_startup.png" src="./images/pref_dialog_gen_startup.png" />
-<div class="section" id="id1">
-<h4><a class="toc-backref" href="#id75">Startup</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id76" 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
@@ -1722,8 +1735,8 @@
 <dd>Allow plugins to be used in Geany.</dd>
-<div class="section" id="shutdown">
-<h4><a class="toc-backref" href="#id76">Shutdown</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id77" 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
@@ -1732,8 +1745,8 @@
 <dd>Have a dialog pop up to confirm that you really want to quit Geany.</dd>
-<div class="section" id="paths">
-<h4><a class="toc-backref" href="#id77">Paths</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id78" id="paths" name="paths">Paths</a></h4>
 <dl class="docutils">
 <dt>Startup path</dt>
 <dd>Path to start in when opening or saving files.
@@ -1751,11 +1764,11 @@
-<div class="section" id="general-miscellaneous-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id78">General Miscellaneous tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id79" id="general-miscellaneous-tab-in-preferences-dialog" name="general-miscellaneous-tab-in-preferences-dialog">General Miscellaneous tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_gen_misc.png" src="./images/pref_dialog_gen_misc.png" />
-<div class="section" id="miscellaneous">
-<h4><a class="toc-backref" href="#id79">Miscellaneous</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id80" 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
@@ -1773,8 +1786,8 @@
-<div class="section" id="search">
-<h3><a class="toc-backref" href="#id80">Search</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id81" id="search" name="search">Search</a></h3>
 <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
@@ -1788,8 +1801,8 @@
 active file. When this option is disabled, the directory of the last use of the Find in Files
 dialog is used.</dd>
-<div class="section" id="projects">
-<h4><a class="toc-backref" href="#id81">Projects</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id82" 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
@@ -1805,26 +1818,26 @@
-<div class="section" id="interface-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id82">Interface tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id83" id="interface-tab-in-preferences-dialog" name="interface-tab-in-preferences-dialog">Interface tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_interface.png" src="./images/pref_dialog_interface.png" />
-<div class="section" id="sidebar">
-<h4><a class="toc-backref" href="#id83">Sidebar</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id84" id="sidebar" name="sidebar">Sidebar</a></h4>
 <dl class="docutils">
 <dt>Show symbol list</dt>
 <dd>Show the list of functions, variables, and other information in the
 current document you are editing.</dd>
 <dt>Show documents list</dt>
 <dd>Show all the documents you have open currently. This can be used to
-change between documents (see <a class="reference internal" href="#switching-between-documents">Switching between documents</a>) and
+change between documents (see <a class="reference" href="#switching-between-documents">Switching between documents</a>) and
 to perform some common operations such as saving, closing and reloading.</dd>
 <dt>Show full path name in documents list</dt>
 <dd>Show the full directory path of the files you are editing in the
 <em>Documents</em> list.</dd>
-<div class="section" id="fonts">
-<h4><a class="toc-backref" href="#id84">Fonts</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id85" id="fonts" name="fonts">Fonts</a></h4>
 <dl class="docutils">
 <dd>Change the font used to display documents.</dd>
@@ -1834,8 +1847,8 @@
 <dd>Change the font used for the message window area.</dd>
-<div class="section" id="editor-tabs">
-<h4><a class="toc-backref" href="#id85">Editor tabs</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id86" 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
@@ -1851,8 +1864,8 @@
 when double-clicking on a notebook tab.</dd>
-<div class="section" id="tab-positions">
-<h4><a class="toc-backref" href="#id86">Tab positions</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id87" id="tab-positions" name="tab-positions">Tab positions</a></h4>
 <dl class="docutils">
 <dd>Set the positioning of the editor's notebook tabs to the right,
@@ -1865,8 +1878,8 @@
 right, left, top, or bottom of the message window.</dd>
-<div class="section" id="id2">
-<h4><a class="toc-backref" href="#id87">Miscellaneous</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id88" 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
@@ -1875,12 +1888,12 @@
-<div class="section" id="toolbar-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id88">Toolbar tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id89" id="toolbar-tab-in-preferences-dialog" name="toolbar-tab-in-preferences-dialog">Toolbar tab in preferences dialog</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" id="toolbar">
-<h4><a class="toc-backref" href="#id89">Toolbar</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id90" id="toolbar" name="toolbar">Toolbar</a></h4>
 <dl class="docutils">
 <dt>Show Toolbar</dt>
 <dd>Whether to show the toolbar.</dd>
@@ -1889,8 +1902,8 @@
 This is useful to save vertical space.</dd>
-<div class="section" id="appearance">
-<h4><a class="toc-backref" href="#id90">Appearance</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id91" 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
@@ -1900,11 +1913,11 @@
-<div class="section" id="editor-features-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id91">Editor Features tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id92" id="editor-features-tab-in-preferences-dialog" name="editor-features-tab-in-preferences-dialog">Editor Features tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_edit_features.png" src="./images/pref_dialog_edit_features.png" />
-<div class="section" id="features">
-<h4><a class="toc-backref" href="#id92">Features</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id93" 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>
@@ -1935,12 +1948,12 @@
-<div class="section" id="editor-indentation-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id93">Editor Indentation tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id94" id="editor-indentation-tab-in-preferences-dialog" name="editor-indentation-tab-in-preferences-dialog">Editor Indentation tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_edit_indentation.png" src="./images/pref_dialog_edit_indentation.png" />
-<div class="section" id="indentation-group">
-<h4><a class="toc-backref" href="#id94">Indentation group</a></h4>
-<p>See <a class="reference internal" href="#indentation">Indentation</a> for more information.</p>
+<div class="section">
+<h4><a class="toc-backref" href="#id95" 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">
 <dd><p class="first">When Geany inserts indentation, whether to use:</p>
@@ -1981,7 +1994,7 @@
 unindent when pressing Shift-tab. Otherwise, the tab key will
 insert a tab character into the document (which can be different
 from indentation, depending on the indent type).</p>
-<div class="note last">
+<div class="last note">
 <p class="first admonition-title">Note</p>
 <p class="last">There are also separate configurable keybindings for indent &
 unindent, but this pref allows the tab key to have different
@@ -1991,16 +2004,16 @@
-<div class="section" id="editor-completions-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id95">Editor Completions tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id96" id="editor-completions-tab-in-preferences-dialog" name="editor-completions-tab-in-preferences-dialog">Editor Completions tab in preferences dialog</a></h3>
 <img alt="./images/pref_dialog_edit_completions.png" src="./images/pref_dialog_edit_completions.png" />
-<div class="section" id="completions">
-<h4><a class="toc-backref" href="#id96">Completions</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id97" 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
 pre-defined text snippet.
-See <a class="reference internal" href="#user-definable-snippets">User-definable snippets</a>.</dd>
+See <a class="reference" href="#user-definable-snippets">User-definable snippets</a>.</dd>
 <dt>XML tag autocompletion</dt>
 <dd>When you open an XML tag automatically generate its completion tag.</dd>
 <dt>Automatic continuation multi-line comments</dt>
@@ -2032,8 +2045,8 @@
 <dd>The maximum number of entries to display in the auto completion list.</dd>
-<div class="section" id="auto-close-quotes-and-brackets">
-<h4><a class="toc-backref" href="#id97">Auto-close quotes and brackets</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id98" 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
@@ -2052,17 +2065,17 @@
-<div class="section" id="editor-display-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id98">Editor Display tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id99" id="editor-display-tab-in-preferences-dialog" name="editor-display-tab-in-preferences-dialog">Editor Display tab in preferences dialog</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" id="display">
-<h4><a class="toc-backref" href="#id99">Display</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id100" id="display" name="display">Display</a></h4>
 <dl class="docutils">
 <dt>Invert syntax highlighting colors</dt>
 <dd><p class="first">Use white text on a black background and invert all colors.
 If the <tt class="docutils literal"><span class="pre">invert_all</span></tt> setting in <tt class="docutils literal"><span class="pre">filetypes.common</span></tt> is set, this
-option is always enabled. See <a class="reference internal" href="#special-file-filetypes-common">Special file filetypes.common</a>
+option is always enabled. See <a class="reference" href="#special-file-filetypes-common">Special file filetypes.common</a>
 for details.</p>
 <p class="last">This option requires a restart of Geany. The value of this option</p>
@@ -2085,8 +2098,8 @@
 Otherwise you can scroll one more page even if there are no real lines.</dd>
-<div class="section" id="long-line-marker">
-<h4><a class="toc-backref" href="#id100">Long line marker</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id101" 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">
@@ -2111,11 +2124,11 @@
-<div class="section" id="files-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id101">Files tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id102" id="files-tab-in-preferences-dialog" name="files-tab-in-preferences-dialog">Files tab in preferences dialog</a></h3>

@@ 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