Revision: 4581
http://geany.svn.sourceforge.net/geany/?rev=4581&view=rev
Author: ntrel
Date: 2010-01-28 17:08:08 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Don't use VERSION macro as the demo plugin should be able to be built independently from Geany.
Modified Paths:
--------------
branches/geany-0.18.1/plugins/demoplugin.c
Modified: branches/geany-0.18.1/plugins/demoplugin.c
===================================================================
--- branches/geany-0.18.1/plugins/demoplugin.c 2010-01-28 16:57:05 UTC (rev 4580)
+++ branches/geany-0.18.1/plugins/demoplugin.c 2010-01-28 17:08:08 UTC (rev 4581)
@@ -50,7 +50,7 @@
PLUGIN_VERSION_CHECK(147)
/* All plugins must set name, description, version and author. */
-PLUGIN_SET_INFO(_("Demo"), _("Example plugin."), VERSION, _("The Geany developer team"))
+PLUGIN_SET_INFO(_("Demo"), _("Example plugin."), "0.1" , _("The Geany developer team"))
static GtkWidget *main_menu_item = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4579
http://geany.svn.sourceforge.net/geany/?rev=4579&view=rev
Author: ntrel
Date: 2010-01-28 16:47:32 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Add 'Doc-comments' plugin API subsection.
Modified Paths:
--------------
branches/geany-0.18.1/ChangeLog
branches/geany-0.18.1/HACKING
Modified: branches/geany-0.18.1/ChangeLog
===================================================================
--- branches/geany-0.18.1/ChangeLog 2010-01-28 16:42:38 UTC (rev 4578)
+++ branches/geany-0.18.1/ChangeLog 2010-01-28 16:47:32 UTC (rev 4579)
@@ -1,3 +1,9 @@
+2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * HACKING:
+ Add 'Doc-comments' plugin API subsection.
+
+
2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* configure.in:
Modified: branches/geany-0.18.1/HACKING
===================================================================
--- branches/geany-0.18.1/HACKING 2010-01-28 16:42:38 UTC (rev 4578)
+++ branches/geany-0.18.1/HACKING 2010-01-28 16:47:32 UTC (rev 4579)
@@ -66,8 +66,8 @@
See the top of each ``src/*.c`` file for a brief description of what
it's for.
-Keeping the plugin ABI stable
------------------------------
+Plugin API code
+---------------
Please be aware that anything with a doc-comment (a comment with an
extra asterix: ``/**``) is something in the plugin API. Things like
enums and structs can usually still be appended to, ensuring that all
@@ -80,13 +80,15 @@
structs by plugins, not just for accessing struct members through
a pointer.
+Keeping the plugin ABI stable
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Before the 1.0 release series, the ABI can change when necessary, and
even the API can change. An ABI change just means that all plugins will
not load and they must be rebuilt. An API change means that some plugins
might not build correctly.
If you're reordering or changing existing elements of structs that are
-used as part of the plugin API, you should increment GEANY_ABI_VERSION
+used as part of the plugin API, you must increment GEANY_ABI_VERSION
in plugindata.h. This is usually not needed if you're just appending
fields to structs. The GEANY_API_VERSION value should be incremented
for any changes to the plugin API, including appending elements.
@@ -102,6 +104,14 @@
* Don't add any array fields to structs in case we want to change the
array size later.
+Doc-comments
+^^^^^^^^^^^^
+* The @file tag can go in the source .c file, but use the .h header name so
+ it appears normally in the generated documentation. See ui_utils.c for an
+ example.
+* Function doc-comments should always go in the source file, not the
+ header, so they can be updated if/when the implementation changes.
+
Glade
-----
Use the code generation features of Glade instead of editing interface.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4578
http://geany.svn.sourceforge.net/geany/?rev=4578&view=rev
Author: ntrel
Date: 2010-01-28 16:42:38 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Update for wscript.
Modified Paths:
--------------
branches/geany-0.18.1/HACKING
Modified: branches/geany-0.18.1/HACKING
===================================================================
--- branches/geany-0.18.1/HACKING 2010-01-28 16:30:20 UTC (rev 4577)
+++ branches/geany-0.18.1/HACKING 2010-01-28 16:42:38 UTC (rev 4578)
@@ -247,6 +247,7 @@
-------------------------------------------------
* Add foo.c, foo.h to SRCS in path/Makefile.am.
* Add foo.o to OBJS in path/makefile.win32.
+* Add path/foo.c to geany_sources in wscript.
* Add path/foo.c to po/POTFILES.in (for string translation).
Adding a filetype
@@ -283,6 +284,7 @@
* scintilla/Makefile.am
* scintilla/makefile.win32
+* wscript
* scintilla/KeyWords.cxx - add a LINK_LEXER command *manually*
For syntax highlighting, you will need to edit highlighting.c and add
@@ -343,6 +345,7 @@
* Add foo.c to SRCS in Makefile.am.
* Add foo.o to OBJS in makefile.win32.
+* Add path/foo.c to geany_sources in wscript.
* Add Foo to parsers.h & fill in comment with parser number for foo.
In foo.c:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4576
http://geany.svn.sourceforge.net/geany/?rev=4576&view=rev
Author: ntrel
Date: 2010-01-28 16:24:42 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Use AC_PATH_PROG instead of which for portability (patch by Erik
Southworth, thanks).
Modified Paths:
--------------
branches/geany-0.18.1/ChangeLog
branches/geany-0.18.1/configure.in
Modified: branches/geany-0.18.1/ChangeLog
===================================================================
--- branches/geany-0.18.1/ChangeLog 2010-01-28 16:15:07 UTC (rev 4575)
+++ branches/geany-0.18.1/ChangeLog 2010-01-28 16:24:42 UTC (rev 4576)
@@ -1,3 +1,10 @@
+2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * configure.in:
+ Use AC_PATH_PROG instead of which for portability (patch by Erik
+ Southworth, thanks).
+
+
2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Modified: branches/geany-0.18.1/configure.in
===================================================================
--- branches/geany-0.18.1/configure.in 2010-01-28 16:15:07 UTC (rev 4575)
+++ branches/geany-0.18.1/configure.in 2010-01-28 16:24:42 UTC (rev 4576)
@@ -15,9 +15,10 @@
AC_PROG_CXX
# check for C++ compiler explicitly and fail if none is found, do this check
# after AC_PROG_CXX has set the CXX environment variable
-which $CXX >/dev/null 2>&1
-if test "x$?" != "x0"; then
- AC_MSG_ERROR([No C++ compiler not found. Please install a C++ compiler.])
+AC_PATH_PROG([CXXCOMPILER], [$CXX])
+if ! test -x "${CXXCOMPILER}"
+then
+ AC_MSG_ERROR([No C++ compiler found. Please install a C++ compiler.])
fi
#AC_PROG_RANLIB
@@ -48,7 +49,7 @@
# get svn revision (try GIT first, then check for SVN)
REVISION="r0"
-GIT=`which git 2>/dev/null`
+AC_PATH_PROG([GIT], [git])
if test -d ".git" -a "x${GIT}" != "x" -a -x "${GIT}"
then
REVISION=r`git svn find-rev origin/trunk 2>/dev/null ||
@@ -57,7 +58,7 @@
fi
if test "x${REVISION}" = "xr0"
then
- SVN=`which svn 2>/dev/null`
+ AC_PATH_PROG([SVN], [svn])
if test -d ".svn" -a "x${SVN}" != "x" -a -x "${SVN}"
then
REVISION=r`$SVN info|grep 'Last Changed Rev'|cut -d' ' -f4`
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4575
http://geany.svn.sourceforge.net/geany/?rev=4575&view=rev
Author: ntrel
Date: 2010-01-28 16:15:07 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
Minor edits.
Modified Paths:
--------------
branches/geany-0.18.1/ChangeLog
branches/geany-0.18.1/doc/geany.html
branches/geany-0.18.1/doc/geany.txt
Modified: branches/geany-0.18.1/ChangeLog
===================================================================
--- branches/geany-0.18.1/ChangeLog 2010-01-28 16:04:30 UTC (rev 4574)
+++ branches/geany-0.18.1/ChangeLog 2010-01-28 16:15:07 UTC (rev 4575)
@@ -1,3 +1,10 @@
+2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * doc/geany.txt, doc/geany.html:
+ Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
+ Minor edits.
+
+
2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Modified: branches/geany-0.18.1/doc/geany.html
===================================================================
--- branches/geany-0.18.1/doc/geany.html 2010-01-28 16:04:30 UTC (rev 4574)
+++ branches/geany-0.18.1/doc/geany.html 2010-01-28 16:15:07 UTC (rev 4575)
@@ -3,10 +3,10 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<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/" />
<title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
-<meta name="date" content="2009-08-16" />
+<meta name="date" content="2010-01-25" />
<style type="text/css">
/*
@@ -139,7 +139,7 @@
<br />Nick Treleaven
<br />Frank Lanitz</td></tr>
<tr><th class="docinfo-name">Date:</th>
-<td>2009-08-16</td></tr>
+<td>2010-01-25</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.18</td></tr>
</tbody>
@@ -149,289 +149,293 @@
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="id11">Introduction</a><ul>
-<li><a class="reference internal" href="#about-geany" id="id12">About Geany</a></li>
-<li><a class="reference internal" href="#where-to-get-it" id="id13">Where to get it</a></li>
-<li><a class="reference internal" href="#license" id="id14">License</a></li>
-<li><a class="reference internal" href="#about-this-document" id="id15">About this document</a></li>
+<li><a class="reference" href="#introduction" id="id11" name="id11">Introduction</a><ul>
+<li><a class="reference" href="#about-geany" id="id12" name="id12">About Geany</a></li>
+<li><a class="reference" href="#where-to-get-it" id="id13" name="id13">Where to get it</a></li>
+<li><a class="reference" href="#license" id="id14" name="id14">License</a></li>
+<li><a class="reference" href="#about-this-document" id="id15" name="id15">About this document</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#installation" id="id16">Installation</a><ul>
-<li><a class="reference internal" href="#requirements" id="id17">Requirements</a></li>
-<li><a class="reference internal" href="#binary-packages" id="id18">Binary packages</a></li>
-<li><a class="reference internal" href="#source-compilation" id="id19">Source compilation</a><ul>
-<li><a class="reference internal" href="#autotools-based-build-system" id="id20">Autotools based build system</a></li>
-<li><a class="reference internal" href="#waf-based-build-system" id="id21">Waf based build system</a><ul>
-<li><a class="reference internal" href="#waf-cache" id="id22">Waf Cache</a><ul>
-<li><a class="reference internal" href="#cleaning-the-cache" id="id23">Cleaning the Cache</a></li>
+<li><a class="reference" href="#installation" id="id16" name="id16">Installation</a><ul>
+<li><a class="reference" href="#requirements" id="id17" name="id17">Requirements</a></li>
+<li><a class="reference" href="#binary-packages" id="id18" name="id18">Binary packages</a></li>
+<li><a class="reference" href="#source-compilation" id="id19" name="id19">Source compilation</a><ul>
+<li><a class="reference" href="#autotools-based-build-system" id="id20" name="id20">Autotools based build system</a></li>
+<li><a class="reference" href="#waf-based-build-system" id="id21" name="id21">Waf based build system</a><ul>
+<li><a class="reference" href="#waf-cache" id="id22" name="id22">Waf Cache</a><ul>
+<li><a class="reference" href="#cleaning-the-cache" id="id23" name="id23">Cleaning the Cache</a></li>
</ul>
</li>
</ul>
</li>
-<li><a class="reference internal" href="#custom-installation" id="id24">Custom installation</a></li>
-<li><a class="reference internal" href="#dynamic-linking-loader-support" id="id25">Dynamic linking loader support</a></li>
-<li><a class="reference internal" href="#build-problems" id="id26">Build problems</a></li>
+<li><a class="reference" href="#custom-installation" id="id24" name="id24">Custom installation</a></li>
+<li><a class="reference" href="#dynamic-linking-loader-support" id="id25" name="id25">Dynamic linking loader support</a></li>
+<li><a class="reference" href="#build-problems" id="id26" name="id26">Build problems</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#installation-prefix" id="id27">Installation prefix</a></li>
+<li><a class="reference" href="#installation-prefix" id="id27" name="id27">Installation prefix</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#usage" id="id28">Usage</a><ul>
-<li><a class="reference internal" href="#getting-started" id="id29">Getting started</a></li>
-<li><a class="reference internal" href="#command-line-options" id="id30">Command line options</a></li>
-<li><a class="reference internal" href="#general" id="id31">General</a><ul>
-<li><a class="reference internal" href="#startup" id="id32">Startup</a></li>
-<li><a class="reference internal" href="#opening-files-from-the-command-line-in-a-running-instance" id="id33">Opening files from the command-line in a running instance</a></li>
-<li><a class="reference internal" href="#virtual-terminal-emulator-widget-vte" id="id34">Virtual terminal emulator widget (VTE)</a></li>
-<li><a class="reference internal" href="#defining-own-widget-styles-using-gtkrc-2-0" id="id35">Defining own widget styles using .gtkrc-2.0</a></li>
+<li><a class="reference" href="#usage" id="id28" name="id28">Usage</a><ul>
+<li><a class="reference" href="#getting-started" id="id29" name="id29">Getting started</a></li>
+<li><a class="reference" href="#command-line-options" id="id30" name="id30">Command line options</a></li>
+<li><a class="reference" href="#general" id="id31" name="id31">General</a><ul>
+<li><a class="reference" href="#startup" id="id32" name="id32">Startup</a></li>
+<li><a class="reference" href="#opening-files-from-the-command-line-in-a-running-instance" id="id33" name="id33">Opening files from the command-line in a running instance</a></li>
+<li><a class="reference" href="#virtual-terminal-emulator-widget-vte" id="id34" name="id34">Virtual terminal emulator widget (VTE)</a></li>
+<li><a class="reference" href="#defining-own-widget-styles-using-gtkrc-2-0" id="id35" name="id35">Defining own widget styles using .gtkrc-2.0</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#documents" id="id36">Documents</a><ul>
-<li><a class="reference internal" href="#switching-between-documents" id="id37">Switching between documents</a></li>
+<li><a class="reference" href="#documents" id="id36" name="id36">Documents</a><ul>
+<li><a class="reference" href="#switching-between-documents" id="id37" name="id37">Switching between documents</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#character-sets-and-unicode-byte-order-mark-bom" id="id38">Character sets and Unicode Byte-Order-Mark (BOM)</a><ul>
-<li><a class="reference internal" href="#using-character-sets" id="id39">Using character sets</a></li>
-<li><a class="reference internal" href="#in-file-encoding-specification" id="id40">In-file encoding specification</a></li>
-<li><a class="reference internal" href="#special-encoding-none" id="id41">Special encoding "None"</a></li>
-<li><a class="reference internal" href="#unicode-byte-order-mark-bom" id="id42">Unicode Byte-Order-Mark (BOM)</a></li>
+<li><a class="reference" href="#character-sets-and-unicode-byte-order-mark-bom" id="id38" name="id38">Character sets and Unicode Byte-Order-Mark (BOM)</a><ul>
+<li><a class="reference" href="#using-character-sets" id="id39" name="id39">Using character sets</a></li>
+<li><a class="reference" href="#in-file-encoding-specification" id="id40" name="id40">In-file encoding specification</a></li>
+<li><a class="reference" href="#special-encoding-none" id="id41" name="id41">Special encoding "None"</a></li>
+<li><a class="reference" href="#unicode-byte-order-mark-bom" id="id42" name="id42">Unicode Byte-Order-Mark (BOM)</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#editing" id="id43">Editing</a><ul>
-<li><a class="reference internal" href="#folding" id="id44">Folding</a></li>
-<li><a class="reference internal" href="#column-mode-editing-rectangular-selections" id="id45">Column mode editing (rectangular selections)</a></li>
-<li><a class="reference internal" href="#drag-and-drop-of-text" id="id46">Drag and drop of text</a></li>
-<li><a class="reference internal" href="#indentation" id="id47">Indentation</a></li>
-<li><a class="reference internal" href="#auto-indentation" id="id48">Auto-indentation</a></li>
-<li><a class="reference internal" href="#bookmarks" id="id49">Bookmarks</a></li>
-<li><a class="reference internal" href="#code-navigation-history" id="id50">Code Navigation History</a></li>
-<li><a class="reference internal" href="#send-text-through-definable-commands" id="id51">Send text through definable commands</a></li>
-<li><a class="reference internal" href="#context-actions" id="id52">Context actions</a></li>
-<li><a class="reference internal" href="#autocompletion" id="id53">Autocompletion</a></li>
-<li><a class="reference internal" href="#user-definable-snippets" id="id54">User-definable snippets</a></li>
-<li><a class="reference internal" href="#inserting-unicode-characters" id="id55">Inserting Unicode characters</a></li>
+<li><a class="reference" href="#editing" id="id43" name="id43">Editing</a><ul>
+<li><a class="reference" href="#folding" id="id44" name="id44">Folding</a></li>
+<li><a class="reference" href="#column-mode-editing-rectangular-selections" id="id45" name="id45">Column mode editing (rectangular selections)</a></li>
+<li><a class="reference" href="#drag-and-drop-of-text" id="id46" name="id46">Drag and drop of text</a></li>
+<li><a class="reference" href="#indentation" id="id47" name="id47">Indentation</a></li>
+<li><a class="reference" href="#auto-indentation" id="id48" name="id48">Auto-indentation</a></li>
+<li><a class="reference" href="#bookmarks" id="id49" name="id49">Bookmarks</a></li>
+<li><a class="reference" href="#code-navigation-history" id="id50" name="id50">Code navigation history</a></li>
+<li><a class="reference" href="#send-text-through-definable-commands" id="id51" name="id51">Send text through definable commands</a></li>
+<li><a class="reference" href="#context-actions" id="id52" name="id52">Context actions</a></li>
+<li><a class="reference" href="#autocompletion" id="id53" name="id53">Autocompletion</a><ul>
+<li><a class="reference" href="#scope-autocompletion" id="id54" name="id54">Scope autocompletion</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#search-replace-and-go-to" id="id56">Search, replace and go to</a><ul>
-<li><a class="reference internal" href="#find" id="id57">Find</a><ul>
-<li><a class="reference internal" href="#matching-options" id="id58">Matching options</a></li>
-<li><a class="reference internal" href="#find-all" id="id59">Find all</a></li>
-<li><a class="reference internal" href="#change-font-in-search-dialog-text-fields" id="id60">Change font in search dialog text fields</a></li>
+<li><a class="reference" href="#user-definable-snippets" id="id55" name="id55">User-definable snippets</a></li>
+<li><a class="reference" href="#inserting-unicode-characters" id="id56" name="id56">Inserting Unicode characters</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#find-usage" id="id61">Find usage</a></li>
-<li><a class="reference internal" href="#find-in-files" id="id62">Find in files</a><ul>
-<li><a class="reference internal" href="#filtering-out-version-control-files" id="id63">Filtering out version control files</a></li>
+<li><a class="reference" href="#search-replace-and-go-to" id="id57" name="id57">Search, replace and go to</a><ul>
+<li><a class="reference" href="#find" id="id58" name="id58">Find</a><ul>
+<li><a class="reference" href="#matching-options" id="id59" name="id59">Matching options</a></li>
+<li><a class="reference" href="#find-all" id="id60" name="id60">Find all</a></li>
+<li><a class="reference" href="#change-font-in-search-dialog-text-fields" id="id61" name="id61">Change font in search dialog text fields</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#replace" id="id64">Replace</a><ul>
-<li><a class="reference internal" href="#replace-all" id="id65">Replace all</a></li>
+<li><a class="reference" href="#find-usage" id="id62" name="id62">Find usage</a></li>
+<li><a class="reference" href="#find-in-files" id="id63" name="id63">Find in files</a><ul>
+<li><a class="reference" href="#filtering-out-version-control-files" id="id64" name="id64">Filtering out version control files</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#go-to-tag-definition" id="id66">Go to tag definition</a></li>
-<li><a class="reference internal" href="#go-to-tag-declaration" id="id67">Go to tag declaration</a></li>
-<li><a class="reference internal" href="#go-to-line" id="id68">Go to line</a></li>
-<li><a class="reference internal" href="#regular-expressions" id="id69">Regular expressions</a></li>
+<li><a class="reference" href="#replace" id="id65" name="id65">Replace</a><ul>
+<li><a class="reference" href="#replace-all" id="id66" name="id66">Replace all</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#tags" id="id70">Tags</a><ul>
-<li><a class="reference internal" href="#workspace-tags" id="id71">Workspace tags</a></li>
-<li><a class="reference internal" href="#global-tags" id="id72">Global tags</a><ul>
-<li><a class="reference internal" href="#default-global-tags-files" id="id73">Default global tags files</a></li>
-<li><a class="reference internal" href="#global-tags-file-format" id="id74">Global tags file format</a></li>
-<li><a class="reference internal" href="#generating-a-global-tags-file" id="id75">Generating a global tags file</a></li>
+<li><a class="reference" href="#go-to-tag-definition" id="id67" name="id67">Go to tag definition</a></li>
+<li><a class="reference" href="#go-to-tag-declaration" id="id68" name="id68">Go to tag declaration</a></li>
+<li><a class="reference" href="#go-to-line" id="id69" name="id69">Go to line</a></li>
+<li><a class="reference" href="#regular-expressions" id="id70" name="id70">Regular expressions</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#ignore-tags" id="id76">Ignore tags</a></li>
+<li><a class="reference" href="#tags" id="id71" name="id71">Tags</a><ul>
+<li><a class="reference" href="#workspace-tags" id="id72" name="id72">Workspace tags</a></li>
+<li><a class="reference" href="#global-tags" id="id73" name="id73">Global tags</a><ul>
+<li><a class="reference" href="#default-global-tags-files" id="id74" name="id74">Default global tags files</a></li>
+<li><a class="reference" href="#global-tags-file-format" id="id75" name="id75">Global tags file format</a></li>
+<li><a class="reference" href="#generating-a-global-tags-file" id="id76" name="id76">Generating a global tags file</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#preferences" id="id77">Preferences</a><ul>
-<li><a class="reference internal" href="#general-startup-tab-in-preferences-dialog" id="id78">General Startup tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#id1" id="id79">Startup</a></li>
-<li><a class="reference internal" href="#shutdown" id="id80">Shutdown</a></li>
-<li><a class="reference internal" href="#paths" id="id81">Paths</a></li>
+<li><a class="reference" href="#ignore-tags" id="id77" name="id77">Ignore tags</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#general-miscellaneous-tab-in-preferences-dialog" id="id82">General Miscellaneous tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#miscellaneous" id="id83">Miscellaneous</a></li>
+<li><a class="reference" href="#preferences" id="id78" name="id78">Preferences</a><ul>
+<li><a class="reference" href="#general-startup-preferences" id="id79" name="id79">General Startup preferences</a><ul>
+<li><a class="reference" href="#id1" id="id80" name="id80">Startup</a></li>
+<li><a class="reference" href="#shutdown" id="id81" name="id81">Shutdown</a></li>
+<li><a class="reference" href="#paths" id="id82" name="id82">Paths</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#search" id="id84">Search</a><ul>
-<li><a class="reference internal" href="#projects" id="id85">Projects</a></li>
+<li><a class="reference" href="#general-miscellaneous-preferences" id="id83" name="id83">General Miscellaneous preferences</a><ul>
+<li><a class="reference" href="#miscellaneous" id="id84" name="id84">Miscellaneous</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#interface-tab-in-preferences-dialog" id="id86">Interface tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#sidebar" id="id87">Sidebar</a></li>
-<li><a class="reference internal" href="#fonts" id="id88">Fonts</a></li>
-<li><a class="reference internal" href="#editor-tabs" id="id89">Editor tabs</a></li>
-<li><a class="reference internal" href="#tab-positions" id="id90">Tab positions</a></li>
-<li><a class="reference internal" href="#id2" id="id91">Miscellaneous</a></li>
+<li><a class="reference" href="#search" id="id85" name="id85">Search</a><ul>
+<li><a class="reference" href="#projects" id="id86" name="id86">Projects</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#toolbar-tab-in-preferences-dialog" id="id92">Toolbar tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#toolbar" id="id93">Toolbar</a></li>
-<li><a class="reference internal" href="#appearance" id="id94">Appearance</a></li>
+<li><a class="reference" href="#interface-preferences" id="id87" name="id87">Interface preferences</a><ul>
+<li><a class="reference" href="#sidebar" id="id88" name="id88">Sidebar</a></li>
+<li><a class="reference" href="#fonts" id="id89" name="id89">Fonts</a></li>
+<li><a class="reference" href="#editor-tabs" id="id90" name="id90">Editor tabs</a></li>
+<li><a class="reference" href="#tab-positions" id="id91" name="id91">Tab positions</a></li>
+<li><a class="reference" href="#id2" id="id92" name="id92">Miscellaneous</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#editor-features-tab-in-preferences-dialog" id="id95">Editor Features tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#features" id="id96">Features</a></li>
+<li><a class="reference" href="#toolbar-preferences" id="id93" name="id93">Toolbar preferences</a><ul>
+<li><a class="reference" href="#toolbar" id="id94" name="id94">Toolbar</a></li>
+<li><a class="reference" href="#appearance" id="id95" name="id95">Appearance</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#editor-indentation-tab-in-preferences-dialog" id="id97">Editor Indentation tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#indentation-group" id="id98">Indentation group</a></li>
+<li><a class="reference" href="#editor-features-preferences" id="id96" name="id96">Editor Features preferences</a><ul>
+<li><a class="reference" href="#features" id="id97" name="id97">Features</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#editor-completions-tab-in-preferences-dialog" id="id99">Editor Completions tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#completions" id="id100">Completions</a></li>
-<li><a class="reference internal" href="#auto-close-quotes-and-brackets" id="id101">Auto-close quotes and brackets</a></li>
+<li><a class="reference" href="#editor-indentation-preferences" id="id98" name="id98">Editor Indentation preferences</a><ul>
+<li><a class="reference" href="#indentation-group" id="id99" name="id99">Indentation group</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#editor-display-tab-in-preferences-dialog" id="id102">Editor Display tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#display" id="id103">Display</a></li>
-<li><a class="reference internal" href="#long-line-marker" id="id104">Long line marker</a></li>
+<li><a class="reference" href="#editor-completions-preferences" id="id100" name="id100">Editor Completions preferences</a><ul>
+<li><a class="reference" href="#completions" id="id101" name="id101">Completions</a></li>
+<li><a class="reference" href="#auto-close-quotes-and-brackets" id="id102" name="id102">Auto-close quotes and brackets</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#files-tab-in-preferences-dialog" id="id105">Files tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#new-files" id="id106">New files</a></li>
-<li><a class="reference internal" href="#saving-files" id="id107">Saving files</a></li>
-<li><a class="reference internal" href="#id3" id="id108">Miscellaneous</a></li>
+<li><a class="reference" href="#editor-display-preferences" id="id103" name="id103">Editor Display preferences</a><ul>
+<li><a class="reference" href="#display" id="id104" name="id104">Display</a></li>
+<li><a class="reference" href="#long-line-marker" id="id105" name="id105">Long line marker</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#tools-tab-in-preferences-dialog" id="id109">Tools tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#tool-paths" id="id110">Tool paths</a></li>
-<li><a class="reference internal" href="#commands" id="id111">Commands</a></li>
+<li><a class="reference" href="#files-preferences" id="id106" name="id106">Files preferences</a><ul>
+<li><a class="reference" href="#new-files" id="id107" name="id107">New files</a></li>
+<li><a class="reference" href="#saving-files" id="id108" name="id108">Saving files</a></li>
+<li><a class="reference" href="#id3" id="id109" name="id109">Miscellaneous</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#template-tab-in-preferences-dialog" id="id112">Template tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#template-data" id="id113">Template data</a></li>
+<li><a class="reference" href="#tools-preferences" id="id110" name="id110">Tools preferences</a><ul>
+<li><a class="reference" href="#tool-paths" id="id111" name="id111">Tool paths</a></li>
+<li><a class="reference" href="#commands" id="id112" name="id112">Commands</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#keybinding-tab-in-preferences-dialog" id="id114">Keybinding tab in preferences dialog</a></li>
-<li><a class="reference internal" href="#printing-tab-in-preferences-dialog" id="id115">Printing tab in preferences dialog</a></li>
-<li><a class="reference internal" href="#terminal-vte-tab-in-preferences-dialog" id="id116">Terminal (VTE) tab in preferences dialog</a><ul>
-<li><a class="reference internal" href="#terminal-widget" id="id117">Terminal widget</a></li>
+<li><a class="reference" href="#template-preferences" id="id113" name="id113">Template preferences</a><ul>
+<li><a class="reference" href="#template-data" id="id114" name="id114">Template data</a></li>
</ul>
</li>
+<li><a class="reference" href="#keybinding-preferences" id="id115" name="id115">Keybinding preferences</a></li>
+<li><a class="reference" href="#printing-preferences" id="id116" name="id116">Printing preferences</a></li>
+<li><a class="reference" href="#terminal-vte-preferences" id="id117" name="id117">Terminal (VTE) preferences</a><ul>
+<li><a class="reference" href="#terminal-widget" id="id118" name="id118">Terminal widget</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#project-management" id="id118">Project Management</a><ul>
-<li><a class="reference internal" href="#new-project" id="id119">New Project</a></li>
-<li><a class="reference internal" href="#project-properties" id="id120">Project Properties</a><ul>
-<li><a class="reference internal" href="#make-in-base-path" id="id121">Make in base path</a></li>
-<li><a class="reference internal" href="#run-command" id="id122">Run command</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#open-project" id="id123">Open Project</a></li>
-<li><a class="reference internal" href="#close-project" id="id124">Close Project</a></li>
+<li><a class="reference" href="#project-management" id="id119" name="id119">Project Management</a><ul>
+<li><a class="reference" href="#new-project" id="id120" name="id120">New Project</a></li>
+<li><a class="reference" href="#project-properties" id="id121" name="id121">Project Properties</a><ul>
+<li><a class="reference" href="#make-in-base-path" id="id122" name="id122">Make in base path</a></li>
+<li><a class="reference" href="#run-command" id="id123" name="id123">Run command</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#build-system" id="id125">Build system</a><ul>
-<li><a class="reference internal" href="#compile" id="id126">Compile</a></li>
-<li><a class="reference internal" href="#build" id="id127">Build</a></li>
-<li><a class="reference internal" href="#make-all" id="id128">Make all</a></li>
-<li><a class="reference internal" href="#make-custom-target" id="id129">Make custom target</a></li>
-<li><a class="reference internal" href="#make-object" id="id130">Make object</a></li>
-<li><a class="reference internal" href="#execute" id="id131">Execute</a></li>
-<li><a class="reference internal" href="#stopping-running-processes" id="id132">Stopping running processes</a><ul>
-<li><a class="reference internal" href="#terminal-emulators" id="id133">Terminal emulators</a></li>
+<li><a class="reference" href="#open-project" id="id124" name="id124">Open Project</a></li>
+<li><a class="reference" href="#close-project" id="id125" name="id125">Close Project</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#set-includes-and-arguments" id="id134">Set Includes and Arguments</a><ul>
-<li><a class="reference internal" href="#one-step-compilation" id="id135">One step compilation</a></li>
+<li><a class="reference" href="#build-system" id="id126" name="id126">Build system</a><ul>
+<li><a class="reference" href="#compile" id="id127" name="id127">Compile</a></li>
+<li><a class="reference" href="#build" id="id128" name="id128">Build</a></li>
+<li><a class="reference" href="#make-all" id="id129" name="id129">Make all</a></li>
+<li><a class="reference" href="#make-custom-target" id="id130" name="id130">Make custom target</a></li>
+<li><a class="reference" href="#make-object" id="id131" name="id131">Make object</a></li>
+<li><a class="reference" href="#execute" id="id132" name="id132">Execute</a></li>
+<li><a class="reference" href="#stopping-running-processes" id="id133" name="id133">Stopping running processes</a><ul>
+<li><a class="reference" href="#terminal-emulators" id="id134" name="id134">Terminal emulators</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#indicators" id="id136">Indicators</a></li>
+<li><a class="reference" href="#set-includes-and-arguments" id="id135" name="id135">Set Includes and Arguments</a><ul>
+<li><a class="reference" href="#one-step-compilation" id="id136" name="id136">One step compilation</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#printing-support" id="id137">Printing support</a></li>
-<li><a class="reference internal" href="#plugins" id="id138">Plugins</a></li>
-<li><a class="reference internal" href="#keybindings" id="id139">Keybindings</a><ul>
-<li><a class="reference internal" href="#switching-documents" id="id140">Switching documents</a></li>
-<li><a class="reference internal" href="#configurable-keybindings" id="id141">Configurable keybindings</a></li>
+<li><a class="reference" href="#indicators" id="id137" name="id137">Indicators</a></li>
</ul>
</li>
+<li><a class="reference" href="#printing-support" id="id138" name="id138">Printing support</a></li>
+<li><a class="reference" href="#plugins" id="id139" name="id139">Plugins</a></li>
+<li><a class="reference" href="#keybindings" id="id140" name="id140">Keybindings</a><ul>
+<li><a class="reference" href="#switching-documents" id="id141" name="id141">Switching documents</a></li>
+<li><a class="reference" href="#configurable-keybindings" id="id142" name="id142">Configurable keybindings</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#configuration-files" id="id142">Configuration files</a><ul>
-<li><a class="reference internal" href="#global-configuration-file" id="id143">Global configuration file</a></li>
-<li><a class="reference internal" href="#filetype-definition-files" id="id144">Filetype definition files</a><ul>
-<li><a class="reference internal" href="#format" id="id145">Format</a><ul>
-<li><a class="reference internal" href="#styling-section" id="id146">[styling] Section</a><ul>
-<li><a class="reference internal" href="#using-a-named-style" id="id147">Using a named style</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#keywords-section" id="id148">[keywords] Section</a></li>
-<li><a class="reference internal" href="#settings-section" id="id149">[settings] Section</a></li>
-<li><a class="reference internal" href="#build-settings-section" id="id150">[build_settings] Section</a></li>
+<li><a class="reference" href="#configuration-files" id="id143" name="id143">Configuration files</a><ul>
+<li><a class="reference" href="#tools-menu-items" id="id144" name="id144">Tools menu items</a></li>
+<li><a class="reference" href="#global-configuration-file" id="id145" name="id145">Global configuration file</a></li>
+<li><a class="reference" href="#filetype-definition-files" id="id146" name="id146">Filetype definition files</a><ul>
+<li><a class="reference" href="#format" id="id147" name="id147">Format</a><ul>
+<li><a class="reference" href="#styling-section" id="id148" name="id148">[styling] Section</a><ul>
+<li><a class="reference" href="#using-a-named-style" id="id149" name="id149">Using a named style</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#special-file-filetypes-common" id="id151">Special file filetypes.common</a><ul>
-<li><a class="reference internal" href="#named-styles-section" id="id152">[named_styles] Section</a></li>
-<li><a class="reference internal" href="#id4" id="id153">[styling] Section</a></li>
-<li><a class="reference internal" href="#id5" id="id154">[settings] Section</a></li>
+<li><a class="reference" href="#keywords-section" id="id150" name="id150">[keywords] Section</a></li>
+<li><a class="reference" href="#settings-section" id="id151" name="id151">[settings] Section</a></li>
+<li><a class="reference" href="#build-settings-section" id="id152" name="id152">[build_settings] Section</a></li>
</ul>
</li>
+<li><a class="reference" href="#special-file-filetypes-common" id="id153" name="id153">Special file filetypes.common</a><ul>
+<li><a class="reference" href="#named-styles-section" id="id154" name="id154">[named_styles] Section</a></li>
+<li><a class="reference" href="#id4" id="id155" name="id155">[styling] Section</a></li>
+<li><a class="reference" href="#id5" id="id156" name="id156">[settings] Section</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#filetype-extensions" id="id155">Filetype extensions</a></li>
-<li><a class="reference internal" href="#templates" id="id156">Templates</a><ul>
-<li><a class="reference internal" href="#template-meta-data" id="id157">Template meta data</a></li>
-<li><a class="reference internal" href="#file-templates" id="id158">File templates</a><ul>
-<li><a class="reference internal" href="#custom-file-templates" id="id159">Custom file templates</a></li>
-<li><a class="reference internal" href="#filetype-templates" id="id160">Filetype templates</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#customizing-templates" id="id161">Customizing templates</a><ul>
-<li><a class="reference internal" href="#template-wildcards" id="id162">Template wildcards</a></li>
+<li><a class="reference" href="#filetype-extensions" id="id157" name="id157">Filetype extensions</a></li>
+<li><a class="reference" href="#templates" id="id158" name="id158">Templates</a><ul>
+<li><a class="reference" href="#template-meta-data" id="id159" name="id159">Template meta data</a></li>
+<li><a class="reference" href="#file-templates" id="id160" name="id160">File templates</a><ul>
+<li><a class="reference" href="#custom-file-templates" id="id161" name="id161">Custom file templates</a></li>
+<li><a class="reference" href="#filetype-templates" id="id162" name="id162">Filetype templates</a></li>
</ul>
</li>
+<li><a class="reference" href="#customizing-templates" id="id163" name="id163">Customizing templates</a><ul>
+<li><a class="reference" href="#template-wildcards" id="id164" name="id164">Template wildcards</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#customizing-the-toolbar" id="id163">Customizing the toolbar</a><ul>
-<li><a class="reference internal" href="#manually-editing-of-the-toolbar-layout" id="id164">Manually editing of the toolbar layout</a></li>
-<li><a class="reference internal" href="#available-toolbar-elements" id="id165">Available toolbar elements</a></li>
</ul>
</li>
+<li><a class="reference" href="#customizing-the-toolbar" id="id165" name="id165">Customizing the toolbar</a><ul>
+<li><a class="reference" href="#manually-editing-of-the-toolbar-layout" id="id166" name="id166">Manually editing of the toolbar layout</a></li>
+<li><a class="reference" href="#available-toolbar-elements" id="id167" name="id167">Available toolbar elements</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#plugin-documentation" id="id166">Plugin documentation</a><ul>
-<li><a class="reference internal" href="#instant-save" id="id167">Instant Save</a></li>
-<li><a class="reference internal" href="#backup-copy" id="id168">Backup Copy</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#contributing-to-this-document" id="id169">Contributing to this document</a></li>
-<li><a class="reference internal" href="#scintilla-keyboard-commands" id="id170">Scintilla keyboard commands</a><ul>
-<li><a class="reference internal" href="#keyboard-commands" id="id171">Keyboard commands</a></li>
+<li><a class="reference" href="#plugin-documentation" id="id168" name="id168">Plugin documentation</a><ul>
+<li><a class="reference" href="#instant-save" id="id169" name="id169">Instant Save</a></li>
+<li><a class="reference" href="#backup-copy" id="id170" name="id170">Backup Copy</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#tips-and-tricks" id="id172">Tips and tricks</a><ul>
-<li><a class="reference internal" href="#document-notebook" id="id173">Document notebook</a></li>
-<li><a class="reference internal" href="#editor" id="id174">Editor</a></li>
-<li><a class="reference internal" href="#interface" id="id175">Interface</a></li>
-<li><a class="reference internal" href="#gtk-related" id="id176">GTK-related</a></li>
+<li><a class="reference" href="#contributing-to-this-document" id="id171" name="id171">Contributing to this document</a></li>
+<li><a class="reference" href="#scintilla-keyboard-commands" id="id172" name="id172">Scintilla keyboard commands</a><ul>
+<li><a class="reference" href="#keyboard-commands" id="id173" name="id173">Keyboard commands</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#hidden-preferences" id="id177">Hidden preferences</a></li>
-<li><a class="reference internal" href="#compile-time-options" id="id178">Compile-time options</a><ul>
-<li><a class="reference internal" href="#src-geany-h" id="id179">src/geany.h</a></li>
-<li><a class="reference internal" href="#project-h" id="id180">project.h</a></li>
-<li><a class="reference internal" href="#editor-h" id="id181">editor.h</a></li>
-<li><a class="reference internal" href="#keyfile-c" id="id182">keyfile.c</a></li>
-<li><a class="reference internal" href="#build-h" id="id183">build.h</a></li>
+<li><a class="reference" href="#tips-and-tricks" id="id174" name="id174">Tips and tricks</a><ul>
+<li><a class="reference" href="#document-notebook" id="id175" name="id175">Document notebook</a></li>
+<li><a class="reference" href="#editor" id="id176" name="id176">Editor</a></li>
+<li><a class="reference" href="#interface" id="id177" name="id177">Interface</a></li>
+<li><a class="reference" href="#gtk-related" id="id178" name="id178">GTK-related</a></li>
</ul>
</li>
-<li><a class="reference internal" href="#gnu-general-public-license" id="id184">GNU General Public License</a></li>
-<li><a class="reference internal" href="#license-for-scintilla-and-scite" id="id185">License for Scintilla and SciTE</a></li>
+<li><a class="reference" href="#hidden-preferences" id="id179" name="id179">Hidden preferences</a></li>
+<li><a class="reference" href="#compile-time-options" id="id180" name="id180">Compile-time options</a><ul>
+<li><a class="reference" href="#src-geany-h" id="id181" name="id181">src/geany.h</a></li>
+<li><a class="reference" href="#project-h" id="id182" name="id182">project.h</a></li>
+<li><a class="reference" href="#editor-h" id="id183" name="id183">editor.h</a></li>
+<li><a class="reference" href="#keyfile-c" id="id184" name="id184">keyfile.c</a></li>
+<li><a class="reference" href="#build-h" id="id185" name="id185">build.h</a></li>
</ul>
+</li>
+<li><a class="reference" href="#gnu-general-public-license" id="id186" name="id186">GNU General Public License</a></li>
+<li><a class="reference" href="#license-for-scintilla-and-scite" id="id187" name="id187">License for Scintilla and SciTE</a></li>
+</ul>
</div>
-<div class="section" id="introduction">
-<h1><a class="toc-backref" href="#id11">Introduction</a></h1>
-<div class="section" id="about-geany">
-<h2><a class="toc-backref" href="#id12">About Geany</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id11" id="introduction" name="introduction">Introduction</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id12" 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
@@ -441,10 +445,10 @@
<ul class="simple">
<li>Syntax highlighting</li>
<li>Code folding</li>
-<li>Symbol name autocompletion</li>
+<li>Autocompletion of symbols/words</li>
<li>Construct completion/snippets</li>
<li>Auto-closing of XML and HTML tags</li>
-<li>Call tips</li>
+<li>Calltips</li>
<li>Many supported filetypes including C, Java, PHP, HTML, Python, Perl,
Pascal, and others</li>
<li>Symbol lists</li>
@@ -454,56 +458,56 @@
<li>Plugin interface</li>
</ul>
</div>
-<div class="section" id="where-to-get-it">
-<h2><a class="toc-backref" href="#id13">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="#id13" 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>
-<div class="section" id="license">
-<h2><a class="toc-backref" href="#id14">License</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id14" 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>
-<div class="section" id="about-this-document">
-<h2><a class="toc-backref" href="#id15">About this document</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id15" 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>
</div>
-<div class="section" id="installation">
-<h1><a class="toc-backref" href="#id16">Installation</a></h1>
-<div class="section" id="requirements">
-<h2><a class="toc-backref" href="#id17">Requirements</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id16" id="installation" name="installation">Installation</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id17" 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>
-<div class="section" id="binary-packages">
-<h2><a class="toc-backref" href="#id18">Binary packages</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id18" 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>
-<div class="section" id="source-compilation">
-<h2><a class="toc-backref" href="#id19">Source compilation</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id19" 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="#id20">Autotools based build system</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id20" 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>
@@ -516,8 +520,8 @@
% make install
</pre>
</div>
-<div class="section" id="waf-based-build-system">
-<h3><a class="toc-backref" href="#id21">Waf based build system</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id21" 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.
@@ -525,7 +529,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
@@ -535,8 +539,8 @@
<pre class="literal-block">
% ./waf install
</pre>
-<div class="section" id="waf-cache">
-<h4><a class="toc-backref" href="#id22">Waf Cache</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id22" 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.
@@ -554,9 +558,9 @@
</pre>
<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="#id23">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="#id23" 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.
@@ -570,8 +574,8 @@
</div>
</div>
</div>
-<div class="section" id="custom-installation">
-<h3><a class="toc-backref" href="#id24">Custom installation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id24" 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">
@@ -585,39 +589,39 @@
<p>You may also want to read the INSTALL file for advanced installation
options.</p>
<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>
</ul>
</div>
-<div class="section" id="dynamic-linking-loader-support">
-<h3><a class="toc-backref" href="#id25">Dynamic linking loader support</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id25" 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>
-<div class="section" id="build-problems">
-<h3><a class="toc-backref" href="#id26">Build problems</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id26" 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>
</div>
-<div class="section" id="installation-prefix">
-<h2><a class="toc-backref" href="#id27">Installation prefix</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id27" 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 internal" href="#command-line-options">Command line
+<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>
</div>
-<div class="section" id="usage">
-<h1><a class="toc-backref" href="#id28">Usage</a></h1>
-<div class="section" id="getting-started">
-<h2><a class="toc-backref" href="#id29">Getting started</a></h2>
+<div class="section">
+<h1><a class="toc-backref" href="#id28" id="usage" name="usage">Usage</a></h1>
+<div class="section">
+<h2><a class="toc-backref" href="#id29" id="getting-started" name="getting-started">Getting started</a></h2>
<p>You can start Geany in the following ways:</p>
<ul>
<li><p class="first">From the Desktop Environment menu:</p>
@@ -633,8 +637,8 @@
</li>
</ul>
</div>
-<div class="section" id="command-line-options">
-<h2><a class="toc-backref" href="#id30">Command line options</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id30" id="command-line-options" name="command-line-options">Command line options</a></h2>
<table border="1" class="docutils">
<colgroup>
<col width="13%" />
@@ -673,7 +677,7 @@
<tr><td>-g</td>
<td>--generate-tags</td>
<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>
</tr>
<tr><td>-P</td>
<td>--no-preprocessing</td>
@@ -765,13 +769,13 @@
<p>Geany supports all generic GTK options, a list is available on the
help screen.</p>
</div>
-<div class="section" id="general">
-<h2><a class="toc-backref" href="#id31">General</a></h2>
-<div class="section" id="startup">
-<h3><a class="toc-backref" href="#id32">Startup</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id31" id="general" name="general">General</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id32" 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-preferences">General Startup preferences</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
@@ -782,8 +786,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>
-<div class="section" id="opening-files-from-the-command-line-in-a-running-instance">
-<h3><a class="toc-backref" href="#id33">Opening files from the command-line in a running instance</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id33" 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
@@ -796,10 +800,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>
-<div class="section" id="virtual-terminal-emulator-widget-vte">
-<h3><a class="toc-backref" href="#id34">Virtual terminal emulator widget (VTE)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id34" 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>
@@ -807,7 +811,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
@@ -838,12 +842,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
./configure.</p>
</div>
-<div class="section" id="defining-own-widget-styles-using-gtkrc-2-0">
-<h3><a class="toc-backref" href="#id35">Defining own widget styles using .gtkrc-2.0</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id35" 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
@@ -883,23 +887,23 @@
</pre>
</div>
</div>
-<div class="section" id="documents">
-<h2><a class="toc-backref" href="#id36">Documents</a></h2>
-<div class="section" id="switching-between-documents">
-<h3><a class="toc-backref" href="#id37">Switching between documents</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id36" id="documents" name="documents">Documents</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id37" 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
order, not alphabetical as shown in the documents list (regardless
of whether or not editor tabs are visible).</p>
-<p>See the <em>Notebook tabs</em> group in the <a class="reference internal" href="#keybindings">Keybindings</a> section for useful
+<p>See the <em>Notebook tabs</em> group in the <a class="reference" href="#keybindings">Keybindings</a> section for useful
shortcuts including for Most-Recently-Used document switching.</p>
</div>
</div>
-<div class="section" id="character-sets-and-unicode-byte-order-mark-bom">
-<h2><a class="toc-backref" href="#id38">Character sets and Unicode Byte-Order-Mark (BOM)</a></h2>
-<div class="section" id="using-character-sets">
-<h3><a class="toc-backref" href="#id39">Using character sets</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id38" 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="#id39" 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,
@@ -944,8 +948,8 @@
</li>
</ul>
</div>
-<div class="section" id="in-file-encoding-specification">
-<h3><a class="toc-backref" href="#id40">In-file encoding specification</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id40" 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
like:</p>
<pre class="literal-block">
@@ -986,8 +990,8 @@
Anything after the first 512 bytes will not be recognized.</p>
</div>
</div>
-<div class="section" id="special-encoding-none">
-<h3><a class="toc-backref" href="#id41">Special encoding "None"</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id41" 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
@@ -996,10 +1000,10 @@
of the first NULL-byte. Using this encoding opens the file as it is
without any character conversion.</p>
</div>
-<div class="section" id="unicode-byte-order-mark-bom">
-<h3><a class="toc-backref" href="#id42">Unicode Byte-Order-Mark (BOM)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id42" 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
@@ -1017,10 +1021,10 @@
</div>
</div>
</div>
-<div class="section" id="editing">
-<h2><a class="toc-backref" href="#id43">Editing</a></h2>
-<div class="section" id="folding">
-<h3><a class="toc-backref" href="#id44">Folding</a></h3>
+<div class="section">
+<h2><a class="toc-backref" href="#id43" id="editing" name="editing">Editing</a></h2>
+<div class="section">
+<h3><a class="toc-backref" href="#id44" 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
@@ -1043,8 +1047,8 @@
children of a fold point" option is enabled, pressing Shift will disable
it for this click and vice versa.</p>
</div>
-<div class="section" id="column-mode-editing-rectangular-selections">
-<h3><a class="toc-backref" href="#id45">Column mode editing (rectangular selections)</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id45" 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
@@ -1054,19 +1058,19 @@
this selection and the modifications will be done for every line in the
selection.</p>
</div>
-<div class="section" id="drag-and-drop-of-text">
-<h3><a class="toc-backref" href="#id46">Drag and drop of text</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id46" 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>
-<div class="section" id="indentation">
-<h3><a class="toc-backref" href="#id47">Indentation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id47" 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
-tab in preferences dialog</a> (see the link for more information). But
+multiple spaces. The default indent mode is set in the <a class="reference" href="#editor-features-preferences">Editor Features
+preferences</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,
this scans each file that is opened and sets the indent mode based on
@@ -1083,8 +1087,8 @@
on a line.</dd>
</dl>
</div>
-<div class="section" id="auto-indentation">
-<h3><a class="toc-backref" href="#id48">Auto-indentation</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id48" 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>
@@ -1104,8 +1108,8 @@
match the indentation of the line with the opening brace.</dd>
</dl>
</div>
-<div class="section" id="bookmarks">
-<h3><a class="toc-backref" href="#id49">Bookmarks</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id49" 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>
@@ -1122,14 +1126,14 @@
(Ctrl-PgUp/PgDn and Ctrl-Tab) provides a particularly fast way to
navigate around multiple files.</p>
</div>
-<div class="section" id="code-navigation-history">
-<h3><a class="toc-backref" href="#id50">Code Navigation History</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id50" 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>
@@ -1141,8 +1145,8 @@
location". This makes it easier to navigate in e.g. foreign code
and between different files.</p>
</div>
-<div class="section" id="send-text-through-definable-commands">
-<h3><a class="toc-backref" href="#id51">Send text through definable commands</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id51" 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
@@ -1158,18 +1162,18 @@
some command line options. To delete a command, just clear the text
entry and press OK. It will be deleted automatically.</p>
</div>
-<div class="section" id="context-actions">
-<h3><a class="toc-backref" href="#id52">Context actions</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id52" 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
@@ -1182,23 +1186,23 @@
<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>
-<div class="section" id="autocompletion">
-<h3><a class="toc-backref" href="#id53">Autocompletion</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id53" id="autocompletion" name="autocompletion">Autocompletion</a></h3>
<p>Geany can offer a list of possible completions for symbols defined in the
tags and for all words in a document.</p>
<p>The autocompletion list for symbols is presented when the first few
-characters of the symbol are typed (configurable, see <a class="reference internal" href="#editor-completions-tab-in-preferences-dialog">Editor Completions
-tab in preferences dialog</a>, default 4) or when the <em>Complete word</em>
-keybinding is pressed (configurable, see <a class="reference internal" href="#configurable-keybindings">Configurable keybindings</a>,
+characters of the symbol are typed (configurable, see <a class="reference" href="#editor-completions-preferences">Editor Completions
+preferences</a>, default 4) or when the <em>Complete word</em>
+keybinding is pressed (configurable, see <a class="reference" href="#configurable-keybindings">Configurable keybindings</a>,
default Ctrl-Space).</p>
<p>When the defined keybinding is typed and the <em>Autocomplete all words in
-document</em> preference (in <a class="reference internal" href="#editor-completions-tab-in-preferences-dialog">Editor Completions tab in preferences dialog</a>)
+document</em> preference (in <a class="reference" href="#editor-completions-preferences">Editor Completions preferences</a>)
is selected then the autocompletion list will show all matching words
in the document, if there are no matching symbols.</p>
<p>If you don't want to use autocompletion it can be dismissed until
-the next symbol by typing Escape. The autocompletion list is updated
+the next symbol by pressing Escape. The autocompletion list is updated
as more characters are typed so that it only shows completions that start
with the characters typed so far. If no symbols begin with the sequence,
the autocompletion window is closed.</p>
@@ -1206,12 +1210,29 @@
item on the autocompletion list can be chosen from the list by Tab or
Enter/Return. You can also double-click to select an item. The sequence
will be completed to match the chosen item, and if the <em>Drop rest of
-word on completion</em> preference is set (in <a class="reference internal" href="#editor-completions-tab-in-preferences-dialog">Editor Completions tab in
-preferences dialog</a>) then any characters after the cursor that match
+word on completion</em> preference is set (in <a class="reference" href="#editor-completions-preferences">Editor Completions
+preferences</a>) then any characters after the cursor that match
a symbol or word are deleted.</p>
+<div class="section">
+<h4><a class="toc-backref" href="#id54" id="scope-autocompletion" name="scope-autocompletion">Scope autocompletion</a></h4>
+<p>E.g.:</p>
+<pre class="literal-block">
+struct
+{
+ int i;
+ char c;
+} foo;
+</pre>
+<p>When you type <tt class="docutils literal"><span class="pre">foo.</span></tt> it will show an autocompletion list with 'i' and
+'c' symbols.</p>
+<p>It only works for languages that set parent scope names for e.g. struct
+members. Currently this means C-like languages. The C tag parser only
+parses global scopes, so this won't work for structs or objects declared
+in local scope.</p>
</div>
-<div class="section" id="user-definable-snippets">
-<h3><a class="toc-backref" href="#id54">User-definable snippets</a></h3>
+</div>
+<div class="section">
+<h3><a class="toc-backref" href="#id55" 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.
@@ -1219,7 +1240,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 (see <a class="reference internal" href="#installation-prefix">Installation prefix</a>). 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>
@@ -1295,7 +1316,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">
[Default]
@@ -1310,14 +1331,14 @@
default characters or define it to add or remove characters to fit your
needs.</p>
</div>
-<div class="section" id="inserting-unicode-characters">
-<h3><a class="toc-backref" href="#id55">Inserting Unicode characters</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id56" 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-preferences">keybinding preferences</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>
@@ -1326,8 +1347,8 @@
keys conflict with other Geany keybindings.</p>
</div>
</div>
-<div class="section" id="search-replace-and-go-to">
-<h2><a class="toc-backref" href="#id56">Search, replace and go to</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id57" 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">
@@ -1340,22 +1361,22 @@
<li>Go to line</li>
</ul>
<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="#id57">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="#id58" 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="#id58">Matching options</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id59" 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>
-<div class="section" id="find-all">
-<h4><a class="toc-backref" href="#id59">Find all</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id60" 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">
@@ -1370,8 +1391,8 @@
colored box. These markers can be removed by selecting the
Remove Markers command from the Document menu.</p>
</div>
-<div class="section" id="change-font-in-search-dialog-text-fields">
-<h4><a class="toc-backref" href="#id60">Change font in search dialog text fields</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id61" 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
@@ -1392,8 +1413,8 @@
for the search dialogs.</p>
</div>
</div>
-<div class="section" id="find-usage">
-<h3><a class="toc-backref" href="#id61">Find usage</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id62" 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
@@ -1402,8 +1423,8 @@
click position when the popup menu is used. The search results are
shown in the Messages tab of the Message Window.</p>
</div>
-<div class="section" id="find-in-files">
-<h3><a class="toc-backref" href="#id62">Find in files</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id63" 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
@@ -1414,8 +1435,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="#id63">Filtering out version control files</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id64" 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>
@@ -1426,18 +1447,18 @@
<p>Example: <tt class="docutils literal"><span class="pre">--exclude-dir=.*</span> <span class="pre">--exclude-dir=CVS</span></tt></p>
</div>
</div>
-<div class="section" id="replace">
-<h3><a class="toc-backref" href="#id64">Replace</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id65" id="replace" name="replace">Replace</a></h3>
<p>The Replace dialog is used for replacing text in one or more open
documents.</p>
<img alt="./images/replace_dialog.png" src="./images/replace_dialog.png" />
<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="#id65">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="#id66" 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">
@@ -1451,8 +1472,8 @@
in the current selection of the current document.</p>
</div>
</div>
-<div class="section" id="go-to-tag-definition">
-<h3><a class="toc-backref" href="#id66">Go to tag definition</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id67" 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
@@ -1460,18 +1481,18 @@
or the word underneath the popup menu click position when the popup
menu is used.</p>
</div>
-<div class="section" id="go-to-tag-declaration">
-<h3><a class="toc-backref" href="#id67">Go to tag declaration</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id68" 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
body.</p>
</div>
-<div class="section" id="go-to-line">
-<h3><a class="toc-backref" href="#id68">Go to line</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id69" id="go-to-line" name="go-to-line">Go to line</a></h3>
<p>Go to a particular line number in the current file.</p>
</div>
-<div class="section" id="regular-expressions">
-<h3><a class="toc-backref" href="#id69">Regular expressions</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id70" 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>
@@ -1576,12 +1597,12 @@
<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>
</div>
</div>
-<div class="section" id="tags">
-<h2><a class="toc-backref" href="#id70">Tags</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id71" 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
@@ -1589,17 +1610,17 @@
<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="#id71">Workspace tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id72" id="workspace-tags" name="workspace-tags">Workspace tags</a></h3>
<p>Tags for each document are parsed whenever a file is loaded or
saved. These are shown in the Symbol list in the Sidebar. These tags
are also used for autocompletion of symbols and calltips for all documents
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>
-<div class="section" id="global-tags">
-<h3><a class="toc-backref" href="#id72">Global tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id73" id="global-tags" name="global-tags">Global tags</a></h3>
<p>Global tags are used to provide autocompletion of symbols and calltips
without having to open the corresponding source files. This is intended
for library APIs, as the tags file only has to be updated when you upgrade
@@ -1611,7 +1632,7 @@
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 internal" href="#installation-prefix">Installation prefix</a>).</li>
+<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>
</ul>
<p>You can either download these files or generate your own. They have
the format:</p>
@@ -1619,10 +1640,10 @@
name.lang_ext.tags
</pre>
<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="#id73">Default global tags files</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id74" 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">
@@ -1634,8 +1655,8 @@
<li>Python</li>
</ul>
</div>
-<div class="section" id="global-tags-file-format">
-<h4><a class="toc-backref" href="#id74">Global tags file format</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id75" 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>
@@ -1669,10 +1690,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>
-<div class="section" id="generating-a-global-tags-file">
-<h4><a class="toc-backref" href="#id75">Generating a global tags file</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id76" 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">
@@ -1680,7 +1701,7 @@
</pre>
<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>
@@ -1716,8 +1737,8 @@
upgrading Geany.</p>
</div>
</div>
-<div class="section" id="ignore-tags">
-<h3><a class="toc-backref" href="#id76">Ignore tags</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id77" 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
@@ -1740,8 +1761,8 @@
Exuberant Ctags.</p>
</div>
</div>
-<div class="section" id="preferences">
-<h2><a class="toc-backref" href="#id77">Preferences</a></h2>
+<div class="section">
+<h2><a class="toc-backref" href="#id78" 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
@@ -1752,17 +1773,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>
-<div class="section" id="general-startup-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id78">General Startup tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id79" id="general-startup-preferences" name="general-startup-preferences">General Startup preferences</a></h3>
<img alt="./images/pref_dialog_gen_startup.png" src="./images/pref_dialog_gen_startup.png" />
-<div class="section" id="id1">
-<h4><a class="toc-backref" href="#id79">Startup</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id80" 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
@@ -1773,8 +1794,8 @@
<dd>Allow plugins to be used in Geany.</dd>
</dl>
</div>
-<div class="section" id="shutdown">
-<h4><a class="toc-backref" href="#id80">Shutdown</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id81" 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
@@ -1783,8 +1804,8 @@
<dd>Have a dialog pop up to confirm that you really want to quit Geany.</dd>
</dl>
</div>
-<div class="section" id="paths">
-<h4><a class="toc-backref" href="#id81">Paths</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id82" id="paths" name="paths">Paths</a></h4>
<dl class="docutils">
<dt>Startup path</dt>
<dd>Path to start in when opening or saving files.
@@ -1802,11 +1823,11 @@
</dl>
</div>
</div>
-<div class="section" id="general-miscellaneous-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id82">General Miscellaneous tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id83" id="general-miscellaneous-preferences" name="general-miscellaneous-preferences">General Miscellaneous preferences</a></h3>
<img alt="./images/pref_dialog_gen_misc.png" src="./images/pref_dialog_gen_misc.png" />
-<div class="section" id="miscellaneous">
-<h4><a class="toc-backref" href="#id83">Miscellaneous</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id84" 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
@@ -1824,8 +1845,8 @@
</dl>
</div>
</div>
-<div class="section" id="search">
-<h3><a class="toc-backref" href="#id84">Search</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id85" 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
@@ -1839,8 +1860,8 @@
active file. When this option is disabled, the directory of the last use of the Find in Files
dialog is used.</dd>
</dl>
-<div class="section" id="projects">
-<h4><a class="toc-backref" href="#id85">Projects</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id86" 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
@@ -1856,26 +1877,23 @@
</dl>
</div>
</div>
-<div class="section" id="interface-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id86">Interface tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id87" id="interface-preferences" name="interface-preferences">Interface preferences</a></h3>
<img alt="./images/pref_dialog_interface.png" src="./images/pref_dialog_interface.png" />
-<div class="section" id="sidebar">
-<h4><a class="toc-backref" href="#id87">Sidebar</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id88" 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>
</dl>
</div>
-<div class="section" id="fonts">
-<h4><a class="toc-backref" href="#id88">Fonts</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id89" id="fonts" name="fonts">Fonts</a></h4>
<dl class="docutils">
<dt>Editor</dt>
<dd>Change the font used to display documents.</dd>
@@ -1885,8 +1903,8 @@
<dd>Change the font used for the message window area.</dd>
</dl>
</div>
-<div class="section" id="editor-tabs">
-<h4><a class="toc-backref" href="#id89">Editor tabs</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id90" 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
@@ -1902,8 +1920,8 @@
when double-clicking on a notebook tab.</dd>
</dl>
</div>
-<div class="section" id="tab-positions">
-<h4><a class="toc-backref" href="#id90">Tab positions</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id91" id="tab-positions" name="tab-positions">Tab positions</a></h4>
<dl class="docutils">
<dt>Editor</dt>
<dd>Set the positioning of the editor's notebook tabs to the right,
@@ -1916,8 +1934,8 @@
right, left, top, or bottom of the message window.</dd>
</dl>
</div>
-<div class="section" id="id2">
-<h4><a class="toc-backref" href="#id91">Miscellaneous</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id92" 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
@@ -1926,12 +1944,12 @@
</dl>
</div>
</div>
-<div class="section" id="toolbar-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id92">Toolbar tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id93" id="toolbar-preferences" name="toolbar-preferences">Toolbar preferences</a></h3>
<p>Affects the main toolbar underneath the menu bar.</p>
<img alt="./images/pref_dialog_toolbar.png" src="./images/pref_dialog_toolbar.png" />
-<div class="section" id="toolbar">
-<h4><a class="toc-backref" href="#id93">Toolbar</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id94" id="toolbar" name="toolbar">Toolbar</a></h4>
<dl class="docutils">
<dt>Show Toolbar</dt>
<dd>Whether to show the toolbar.</dd>
@@ -1940,8 +1958,8 @@
This is useful to save vertical space.</dd>
</dl>
</div>
-<div class="section" id="appearance">
-<h4><a class="toc-backref" href="#id94">Appearance</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id95" 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
@@ -1951,11 +1969,11 @@
</dl>
</div>
</div>
-<div class="section" id="editor-features-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id95">Editor Features tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id96" id="editor-features-preferences" name="editor-features-preferences">Editor Features preferences</a></h3>
<img alt="./images/pref_dialog_edit_features.png" src="./images/pref_dialog_edit_features.png" />
-<div class="section" id="features">
-<h4><a class="toc-backref" href="#id96">Features</a></h4>
+<div class="section">
+<h4><a class="toc-backref" href="#id97" 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>
@@ -1986,12 +2004,12 @@
</dl>
</div>
</div>
-<div class="section" id="editor-indentation-tab-in-preferences-dialog">
-<h3><a class="toc-backref" href="#id97">Editor Indentation tab in preferences dialog</a></h3>
+<div class="section">
+<h3><a class="toc-backref" href="#id98" id="editor-indentation-preferences" name="editor-indentation-preferences">Editor Indentation preferences</a></h3>
<img alt="./images/pref_dialog_edit_indentation.png" src="./images/pref_dialog_edit_indentation.png" />
-<div class="section" id="indentation-group">
-<h4><a class="toc-backref" href="#id98">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="#id99" id="indentation-group" name="indentation-group">Indentation group</a></h4>
+<p>See <a class="reference" href="#indentation">Indentation</a> for more information.</p>
<dl class="docutils">
<dt>Type</dt>
<dd><p class="first">When Geany inserts indentation, whether to use:</p>
@@ -2032,7 +2050,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">
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4574
http://geany.svn.sourceforge.net/geany/?rev=4574&view=rev
Author: ntrel
Date: 2010-01-28 16:04:30 +0000 (Thu, 28 Jan 2010)
Log Message:
-----------
Backport:
Speed up sorting in utils_get_file_list(). This reduces the file
browser delay on displaying a big directory, e.g. /usr/bin.
Modified Paths:
--------------
branches/geany-0.18.1/ChangeLog
branches/geany-0.18.1/src/utils.c
Modified: branches/geany-0.18.1/ChangeLog
===================================================================
--- branches/geany-0.18.1/ChangeLog 2010-01-28 13:35:54 UTC (rev 4573)
+++ branches/geany-0.18.1/ChangeLog 2010-01-28 16:04:30 UTC (rev 4574)
@@ -1,3 +1,10 @@
+2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
+
+ * src/utils.c:
+ Speed up sorting in utils_get_file_list(). This reduces the file
+ browser delay on displaying a big directory, e.g. /usr/bin.
+
+
2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Modified: branches/geany-0.18.1/src/utils.c
===================================================================
--- branches/geany-0.18.1/src/utils.c 2010-01-28 13:35:54 UTC (rev 4573)
+++ branches/geany-0.18.1/src/utils.c 2010-01-28 16:04:30 UTC (rev 4574)
@@ -1376,10 +1376,12 @@
if (filename == NULL)
break;
- list = g_slist_insert_sorted(list, g_strdup(filename), (GCompareFunc) utils_str_casecmp);
+ list = g_slist_append(list, g_strdup(filename));
len++;
}
g_dir_close(dir);
+ /* sorting last is quicker than on insertion */
+ list = g_slist_sort(list, (GCompareFunc) utils_str_casecmp);
if (length)
*length = len;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.