Revision: 3898 http://geany.svn.sourceforge.net/geany/?rev=3898&view=rev Author: eht16 Date: 2009-06-25 17:21:45 +0000 (Thu, 25 Jun 2009)
Log Message: ----------- Remove ui_toolbar.xml Configuration Files menu item. Add a real toolbar editor dialog.
Modified Paths: -------------- trunk/ChangeLog trunk/data/ui_toolbar.xml trunk/doc/geany.html trunk/doc/geany.txt trunk/src/toolbar.c trunk/src/toolbar.h trunk/src/ui_utils.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-06-25 15:57:11 UTC (rev 3897) +++ trunk/ChangeLog 2009-06-25 17:21:45 UTC (rev 3898) @@ -1,3 +1,11 @@ +2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c, + src/toolbar.c, src/toolbar.h: + Remove ui_toolbar.xml Configuration Files menu item. + Add a real toolbar editor dialog. + + 2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Modified: trunk/data/ui_toolbar.xml =================================================================== --- trunk/data/ui_toolbar.xml 2009-06-25 15:57:11 UTC (rev 3897) +++ trunk/data/ui_toolbar.xml 2009-06-25 17:21:45 UTC (rev 3898) @@ -1,12 +1,15 @@ <!-- +<!-- This is Geany's toolbar UI definition. -The DTD can be found at http://library.gnome.org/devel/gtk/stable/GtkUIManager.html#GtkUIManager.des.... +The DTD can be found at +http://library.gnome.org/devel/gtk/stable/GtkUIManager.html#GtkUIManager.des....
You can re-order all items and freely add and remove available actions. You cannot add new actions which are not listed in the documentation. Everything you add or change must be inside the /ui/toolbar/ path.
-For changes to take effect, simply save this file within Geany or restart Geany. +For changes to take effect, you need to restart Geany. Alternatively you can use the toolbar +editor in Geany.
A list of available actions can be found in the documentation included with Geany or at http://www.geany.org/manual/current/index.html#customizing-the-toolbar.
Modified: trunk/doc/geany.html =================================================================== --- trunk/doc/geany.html 2009-06-25 15:57:11 UTC (rev 3897) +++ trunk/doc/geany.html 2009-06-25 17:21:45 UTC (rev 3898) @@ -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.4: http://docutils.sourceforge.net/" /> +<meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" /> <title>Geany</title> <meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" /> -<meta name="date" content="2009-06-20" /> +<meta name="date" content="2009-06-22" /> <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-06-20</td></tr> +<td>2009-06-22</td></tr> <tr><th class="docinfo-name">Version:</th> <td>0.18</td></tr> </tbody> @@ -149,287 +149,288 @@ 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" 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> +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> <ul class="simple"> -<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> +<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> </ul> </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> +<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> </ul> </li> </ul> </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> +<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> </ul> </li> -<li><a class="reference" href="#installation-prefix" id="id27" name="id27">Installation prefix</a></li> +<li><a class="reference internal" href="#installation-prefix" id="id27">Installation prefix</a></li> </ul> </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> +<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> </ul> </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> +<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> </ul> </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> +<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> </ul> </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="#user-definable-snippets" id="id53" name="id53">User-definable snippets</a></li> -<li><a class="reference" href="#inserting-unicode-characters" id="id54" name="id54">Inserting Unicode characters</a></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="#user-definable-snippets" id="id53">User-definable snippets</a></li> +<li><a class="reference internal" href="#inserting-unicode-characters" id="id54">Inserting Unicode characters</a></li> </ul> </li> -<li><a class="reference" href="#search-replace-and-go-to" id="id55" name="id55">Search, replace and go to</a><ul> -<li><a class="reference" href="#find" id="id56" name="id56">Find</a><ul> -<li><a class="reference" href="#matching-options" id="id57" name="id57">Matching options</a></li> -<li><a class="reference" href="#find-all" id="id58" name="id58">Find all</a></li> -<li><a class="reference" href="#change-font-in-search-dialog-text-fields" id="id59" name="id59">Change font in search dialog text fields</a></li> +<li><a class="reference internal" href="#search-replace-and-go-to" id="id55">Search, replace and go to</a><ul> +<li><a class="reference internal" href="#find" id="id56">Find</a><ul> +<li><a class="reference internal" href="#matching-options" id="id57">Matching options</a></li> +<li><a class="reference internal" href="#find-all" id="id58">Find all</a></li> +<li><a class="reference internal" href="#change-font-in-search-dialog-text-fields" id="id59">Change font in search dialog text fields</a></li> </ul> </li> -<li><a class="reference" href="#find-usage" id="id60" name="id60">Find usage</a></li> -<li><a class="reference" href="#find-in-files" id="id61" name="id61">Find in files</a><ul> -<li><a class="reference" href="#filtering-out-version-control-files" id="id62" name="id62">Filtering out version control files</a></li> +<li><a class="reference internal" href="#find-usage" id="id60">Find usage</a></li> +<li><a class="reference internal" href="#find-in-files" id="id61">Find in files</a><ul> +<li><a class="reference internal" href="#filtering-out-version-control-files" id="id62">Filtering out version control files</a></li> </ul> </li> -<li><a class="reference" href="#replace" id="id63" name="id63">Replace</a><ul> -<li><a class="reference" href="#replace-all" id="id64" name="id64">Replace all</a></li> +<li><a class="reference internal" href="#replace" id="id63">Replace</a><ul> +<li><a class="reference internal" href="#replace-all" id="id64">Replace all</a></li> </ul> </li> -<li><a class="reference" href="#go-to-tag-definition" id="id65" name="id65">Go to tag definition</a></li> -<li><a class="reference" href="#go-to-tag-declaration" id="id66" name="id66">Go to tag declaration</a></li> -<li><a class="reference" href="#go-to-line" id="id67" name="id67">Go to line</a></li> -<li><a class="reference" href="#regular-expressions" id="id68" name="id68">Regular expressions</a></li> +<li><a class="reference internal" href="#go-to-tag-definition" id="id65">Go to tag definition</a></li> +<li><a class="reference internal" href="#go-to-tag-declaration" id="id66">Go to tag declaration</a></li> +<li><a class="reference internal" href="#go-to-line" id="id67">Go to line</a></li> +<li><a class="reference internal" href="#regular-expressions" id="id68">Regular expressions</a></li> </ul> </li> -<li><a class="reference" href="#tags" id="id69" name="id69">Tags</a><ul> -<li><a class="reference" href="#workspace-tags" id="id70" name="id70">Workspace tags</a></li> -<li><a class="reference" href="#global-tags" id="id71" name="id71">Global tags</a><ul> -<li><a class="reference" href="#default-global-tags-files" id="id72" name="id72">Default global tags files</a></li> -<li><a class="reference" href="#global-tags-file-format" id="id73" name="id73">Global tags file format</a></li> -<li><a class="reference" href="#generating-a-global-tags-file" id="id74" name="id74">Generating a global tags file</a></li> +<li><a class="reference internal" href="#tags" id="id69">Tags</a><ul> +<li><a class="reference internal" href="#workspace-tags" id="id70">Workspace tags</a></li> +<li><a class="reference internal" href="#global-tags" id="id71">Global tags</a><ul> +<li><a class="reference internal" href="#default-global-tags-files" id="id72">Default global tags files</a></li> +<li><a class="reference internal" href="#global-tags-file-format" id="id73">Global tags file format</a></li> +<li><a class="reference internal" href="#generating-a-global-tags-file" id="id74">Generating a global tags file</a></li> </ul> </li> -<li><a class="reference" href="#ignore-tags" id="id75" name="id75">Ignore tags</a></li> +<li><a class="reference internal" href="#ignore-tags" id="id75">Ignore tags</a></li> </ul> </li> -<li><a class="reference" href="#preferences" id="id76" name="id76">Preferences</a><ul> -<li><a class="reference" href="#general-startup-tab-in-preferences-dialog" id="id77" name="id77">General Startup tab in preferences dialog</a><ul> -<li><a class="reference" href="#id1" id="id78" name="id78">Startup</a></li> -<li><a class="reference" href="#shutdown" id="id79" name="id79">Shutdown</a></li> -<li><a class="reference" href="#paths" id="id80" name="id80">Paths</a></li> +<li><a class="reference internal" href="#preferences" id="id76">Preferences</a><ul> +<li><a class="reference internal" href="#general-startup-tab-in-preferences-dialog" id="id77">General Startup tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#id1" id="id78">Startup</a></li> +<li><a class="reference internal" href="#shutdown" id="id79">Shutdown</a></li> +<li><a class="reference internal" href="#paths" id="id80">Paths</a></li> </ul> </li> -<li><a class="reference" href="#general-miscellaneous-tab-in-preferences-dialog" id="id81" name="id81">General Miscellaneous tab in preferences dialog</a><ul> -<li><a class="reference" href="#miscellaneous" id="id82" name="id82">Miscellaneous</a></li> +<li><a class="reference internal" href="#general-miscellaneous-tab-in-preferences-dialog" id="id81">General Miscellaneous tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#miscellaneous" id="id82">Miscellaneous</a></li> </ul> </li> -<li><a class="reference" href="#search" id="id83" name="id83">Search</a><ul> -<li><a class="reference" href="#projects" id="id84" name="id84">Projects</a></li> +<li><a class="reference internal" href="#search" id="id83">Search</a><ul> +<li><a class="reference internal" href="#projects" id="id84">Projects</a></li> </ul> </li> -<li><a class="reference" href="#interface-tab-in-preferences-dialog" id="id85" name="id85">Interface tab in preferences dialog</a><ul> -<li><a class="reference" href="#sidebar" id="id86" name="id86">Sidebar</a></li> -<li><a class="reference" href="#fonts" id="id87" name="id87">Fonts</a></li> -<li><a class="reference" href="#editor-tabs" id="id88" name="id88">Editor tabs</a></li> -<li><a class="reference" href="#tab-positions" id="id89" name="id89">Tab positions</a></li> -<li><a class="reference" href="#id2" id="id90" name="id90">Miscellaneous</a></li> +<li><a class="reference internal" href="#interface-tab-in-preferences-dialog" id="id85">Interface tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#sidebar" id="id86">Sidebar</a></li> +<li><a class="reference internal" href="#fonts" id="id87">Fonts</a></li> +<li><a class="reference internal" href="#editor-tabs" id="id88">Editor tabs</a></li> +<li><a class="reference internal" href="#tab-positions" id="id89">Tab positions</a></li> +<li><a class="reference internal" href="#id2" id="id90">Miscellaneous</a></li> </ul> </li> -<li><a class="reference" href="#toolbar-tab-in-preferences-dialog" id="id91" name="id91">Toolbar tab in preferences dialog</a><ul> -<li><a class="reference" href="#toolbar" id="id92" name="id92">Toolbar</a></li> -<li><a class="reference" href="#appearance" id="id93" name="id93">Appearance</a></li> +<li><a class="reference internal" href="#toolbar-tab-in-preferences-dialog" id="id91">Toolbar tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#toolbar" id="id92">Toolbar</a></li> +<li><a class="reference internal" href="#appearance" id="id93">Appearance</a></li> </ul> </li> -<li><a class="reference" href="#editor-features-tab-in-preferences-dialog" id="id94" name="id94">Editor Features tab in preferences dialog</a><ul> -<li><a class="reference" href="#features" id="id95" name="id95">Features</a></li> +<li><a class="reference internal" href="#editor-features-tab-in-preferences-dialog" id="id94">Editor Features tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#features" id="id95">Features</a></li> </ul> </li> -<li><a class="reference" href="#editor-indentation-tab-in-preferences-dialog" id="id96" name="id96">Editor Indentation tab in preferences dialog</a><ul> -<li><a class="reference" href="#indentation-group" id="id97" name="id97">Indentation group</a></li> +<li><a class="reference internal" href="#editor-indentation-tab-in-preferences-dialog" id="id96">Editor Indentation tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#indentation-group" id="id97">Indentation group</a></li> </ul> </li> -<li><a class="reference" href="#editor-completions-tab-in-preferences-dialog" id="id98" name="id98">Editor Completions tab in preferences dialog</a><ul> -<li><a class="reference" href="#completions" id="id99" name="id99">Completions</a></li> -<li><a class="reference" href="#auto-close-quotes-and-brackets" id="id100" name="id100">Auto-close quotes and brackets</a></li> +<li><a class="reference internal" href="#editor-completions-tab-in-preferences-dialog" id="id98">Editor Completions tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#completions" id="id99">Completions</a></li> +<li><a class="reference internal" href="#auto-close-quotes-and-brackets" id="id100">Auto-close quotes and brackets</a></li> </ul> </li> -<li><a class="reference" href="#editor-display-tab-in-preferences-dialog" id="id101" name="id101">Editor Display tab in preferences dialog</a><ul> -<li><a class="reference" href="#display" id="id102" name="id102">Display</a></li> -<li><a class="reference" href="#long-line-marker" id="id103" name="id103">Long line marker</a></li> +<li><a class="reference internal" href="#editor-display-tab-in-preferences-dialog" id="id101">Editor Display tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#display" id="id102">Display</a></li> +<li><a class="reference internal" href="#long-line-marker" id="id103">Long line marker</a></li> </ul> </li> -<li><a class="reference" href="#files-tab-in-preferences-dialog" id="id104" name="id104">Files tab in preferences dialog</a><ul> -<li><a class="reference" href="#new-files" id="id105" name="id105">New files</a></li> -<li><a class="reference" href="#saving-files" id="id106" name="id106">Saving files</a></li> -<li><a class="reference" href="#id3" id="id107" name="id107">Miscellaneous</a></li> +<li><a class="reference internal" href="#files-tab-in-preferences-dialog" id="id104">Files tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#new-files" id="id105">New files</a></li> +<li><a class="reference internal" href="#saving-files" id="id106">Saving files</a></li> +<li><a class="reference internal" href="#id3" id="id107">Miscellaneous</a></li> </ul> </li> -<li><a class="reference" href="#tools-tab-in-preferences-dialog" id="id108" name="id108">Tools tab in preferences dialog</a><ul> -<li><a class="reference" href="#tool-paths" id="id109" name="id109">Tool paths</a></li> -<li><a class="reference" href="#commands" id="id110" name="id110">Commands</a></li> +<li><a class="reference internal" href="#tools-tab-in-preferences-dialog" id="id108">Tools tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#tool-paths" id="id109">Tool paths</a></li> +<li><a class="reference internal" href="#commands" id="id110">Commands</a></li> </ul> </li> -<li><a class="reference" href="#template-tab-in-preferences-dialog" id="id111" name="id111">Template tab in preferences dialog</a><ul> -<li><a class="reference" href="#template-data" id="id112" name="id112">Template data</a></li> +<li><a class="reference internal" href="#template-tab-in-preferences-dialog" id="id111">Template tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#template-data" id="id112">Template data</a></li> </ul> </li> -<li><a class="reference" href="#keybinding-tab-in-preferences-dialog" id="id113" name="id113">Keybinding tab in preferences dialog</a></li> -<li><a class="reference" href="#printing-tab-in-preferences-dialog" id="id114" name="id114">Printing tab in preferences dialog</a></li> -<li><a class="reference" href="#terminal-vte-tab-in-preferences-dialog" id="id115" name="id115">Terminal (VTE) tab in preferences dialog</a><ul> -<li><a class="reference" href="#terminal-widget" id="id116" name="id116">Terminal widget</a></li> +<li><a class="reference internal" href="#keybinding-tab-in-preferences-dialog" id="id113">Keybinding tab in preferences dialog</a></li> +<li><a class="reference internal" href="#printing-tab-in-preferences-dialog" id="id114">Printing tab in preferences dialog</a></li> +<li><a class="reference internal" href="#terminal-vte-tab-in-preferences-dialog" id="id115">Terminal (VTE) tab in preferences dialog</a><ul> +<li><a class="reference internal" href="#terminal-widget" id="id116">Terminal widget</a></li> </ul> </li> </ul> </li> -<li><a class="reference" href="#project-management" id="id117" name="id117">Project Management</a><ul> -<li><a class="reference" href="#new-project" id="id118" name="id118">New Project</a></li> -<li><a class="reference" href="#project-properties" id="id119" name="id119">Project Properties</a><ul> -<li><a class="reference" href="#make-in-base-path" id="id120" name="id120">Make in base path</a></li> -<li><a class="reference" href="#run-command" id="id121" name="id121">Run command</a></li> +<li><a class="reference internal" href="#project-management" id="id117">Project Management</a><ul> +<li><a class="reference internal" href="#new-project" id="id118">New Project</a></li> +<li><a class="reference internal" href="#project-properties" id="id119">Project Properties</a><ul> +<li><a class="reference internal" href="#make-in-base-path" id="id120">Make in base path</a></li> +<li><a class="reference internal" href="#run-command" id="id121">Run command</a></li> </ul> </li> -<li><a class="reference" href="#open-project" id="id122" name="id122">Open Project</a></li> -<li><a class="reference" href="#close-project" id="id123" name="id123">Close Project</a></li> +<li><a class="reference internal" href="#open-project" id="id122">Open Project</a></li> +<li><a class="reference internal" href="#close-project" id="id123">Close Project</a></li> </ul> </li> -<li><a class="reference" href="#build-system" id="id124" name="id124">Build system</a><ul> -<li><a class="reference" href="#compile" id="id125" name="id125">Compile</a></li> -<li><a class="reference" href="#build" id="id126" name="id126">Build</a></li> -<li><a class="reference" href="#make-all" id="id127" name="id127">Make all</a></li> -<li><a class="reference" href="#make-custom-target" id="id128" name="id128">Make custom target</a></li> -<li><a class="reference" href="#make-object" id="id129" name="id129">Make object</a></li> -<li><a class="reference" href="#execute" id="id130" name="id130">Execute</a></li> -<li><a class="reference" href="#stopping-running-processes" id="id131" name="id131">Stopping running processes</a><ul> -<li><a class="reference" href="#terminal-emulators" id="id132" name="id132">Terminal emulators</a></li> +<li><a class="reference internal" href="#build-system" id="id124">Build system</a><ul> +<li><a class="reference internal" href="#compile" id="id125">Compile</a></li> +<li><a class="reference internal" href="#build" id="id126">Build</a></li> +<li><a class="reference internal" href="#make-all" id="id127">Make all</a></li> +<li><a class="reference internal" href="#make-custom-target" id="id128">Make custom target</a></li> +<li><a class="reference internal" href="#make-object" id="id129">Make object</a></li> +<li><a class="reference internal" href="#execute" id="id130">Execute</a></li> +<li><a class="reference internal" href="#stopping-running-processes" id="id131">Stopping running processes</a><ul> +<li><a class="reference internal" href="#terminal-emulators" id="id132">Terminal emulators</a></li> </ul> </li> -<li><a class="reference" href="#set-includes-and-arguments" id="id133" name="id133">Set Includes and Arguments</a><ul> -<li><a class="reference" href="#one-step-compilation" id="id134" name="id134">One step compilation</a></li> +<li><a class="reference internal" href="#set-includes-and-arguments" id="id133">Set Includes and Arguments</a><ul> +<li><a class="reference internal" href="#one-step-compilation" id="id134">One step compilation</a></li> </ul> </li> -<li><a class="reference" href="#indicators" id="id135" name="id135">Indicators</a></li> +<li><a class="reference internal" href="#indicators" id="id135">Indicators</a></li> </ul> </li> -<li><a class="reference" href="#printing-support" id="id136" name="id136">Printing support</a></li> -<li><a class="reference" href="#plugins" id="id137" name="id137">Plugins</a></li> -<li><a class="reference" href="#keybindings" id="id138" name="id138">Keybindings</a><ul> -<li><a class="reference" href="#switching-documents" id="id139" name="id139">Switching documents</a></li> -<li><a class="reference" href="#configurable-keybindings" id="id140" name="id140">Configurable keybindings</a></li> +<li><a class="reference internal" href="#printing-support" id="id136">Printing support</a></li> +<li><a class="reference internal" href="#plugins" id="id137">Plugins</a></li> +<li><a class="reference internal" href="#keybindings" id="id138">Keybindings</a><ul> +<li><a class="reference internal" href="#switching-documents" id="id139">Switching documents</a></li> +<li><a class="reference internal" href="#configurable-keybindings" id="id140">Configurable keybindings</a></li> </ul> </li> </ul> </li> -<li><a class="reference" href="#configuration-files" id="id141" name="id141">Configuration files</a><ul> -<li><a class="reference" href="#global-configuration-file" id="id142" name="id142">Global configuration file</a></li> -<li><a class="reference" href="#filetype-definition-files" id="id143" name="id143">Filetype definition files</a><ul> -<li><a class="reference" href="#format" id="id144" name="id144">Format</a><ul> -<li><a class="reference" href="#styling-section" id="id145" name="id145">[styling] Section</a><ul> -<li><a class="reference" href="#using-a-named-style" id="id146" name="id146">Using a named style</a></li> +<li><a class="reference internal" href="#configuration-files" id="id141">Configuration files</a><ul> +<li><a class="reference internal" href="#global-configuration-file" id="id142">Global configuration file</a></li> +<li><a class="reference internal" href="#filetype-definition-files" id="id143">Filetype definition files</a><ul> +<li><a class="reference internal" href="#format" id="id144">Format</a><ul> +<li><a class="reference internal" href="#styling-section" id="id145">[styling] Section</a><ul> +<li><a class="reference internal" href="#using-a-named-style" id="id146">Using a named style</a></li> </ul> </li> -<li><a class="reference" href="#keywords-section" id="id147" name="id147">[keywords] Section</a></li> -<li><a class="reference" href="#settings-section" id="id148" name="id148">[settings] Section</a></li> -<li><a class="reference" href="#build-settings-section" id="id149" name="id149">[build_settings] Section</a></li> +<li><a class="reference internal" href="#keywords-section" id="id147">[keywords] Section</a></li> +<li><a class="reference internal" href="#settings-section" id="id148">[settings] Section</a></li> +<li><a class="reference internal" href="#build-settings-section" id="id149">[build_settings] Section</a></li> </ul> </li> -<li><a class="reference" href="#special-file-filetypes-common" id="id150" name="id150">Special file filetypes.common</a><ul> -<li><a class="reference" href="#named-styles-section" id="id151" name="id151">[named_styles] Section</a></li> -<li><a class="reference" href="#id4" id="id152" name="id152">[styling] Section</a></li> -<li><a class="reference" href="#id5" id="id153" name="id153">[settings] Section</a></li> +<li><a class="reference internal" href="#special-file-filetypes-common" id="id150">Special file filetypes.common</a><ul> +<li><a class="reference internal" href="#named-styles-section" id="id151">[named_styles] Section</a></li> +<li><a class="reference internal" href="#id4" id="id152">[styling] Section</a></li> +<li><a class="reference internal" href="#id5" id="id153">[settings] Section</a></li> </ul> </li> </ul> </li> -<li><a class="reference" href="#filetype-extensions" id="id154" name="id154">Filetype extensions</a></li> -<li><a class="reference" href="#templates" id="id155" name="id155">Templates</a><ul> -<li><a class="reference" href="#template-meta-data" id="id156" name="id156">Template meta data</a></li> -<li><a class="reference" href="#file-templates" id="id157" name="id157">File templates</a><ul> -<li><a class="reference" href="#custom-file-templates" id="id158" name="id158">Custom file templates</a></li> -<li><a class="reference" href="#filetype-templates" id="id159" name="id159">Filetype templates</a></li> +<li><a class="reference internal" href="#filetype-extensions" id="id154">Filetype extensions</a></li> +<li><a class="reference internal" href="#templates" id="id155">Templates</a><ul> +<li><a class="reference internal" href="#template-meta-data" id="id156">Template meta data</a></li> +<li><a class="reference internal" href="#file-templates" id="id157">File templates</a><ul> +<li><a class="reference internal" href="#custom-file-templates" id="id158">Custom file templates</a></li> +<li><a class="reference internal" href="#filetype-templates" id="id159">Filetype templates</a></li> </ul> </li> -<li><a class="reference" href="#customizing-templates" id="id160" name="id160">Customizing templates</a><ul> -<li><a class="reference" href="#template-wildcards" id="id161" name="id161">Template wildcards</a></li> +<li><a class="reference internal" href="#customizing-templates" id="id160">Customizing templates</a><ul> +<li><a class="reference internal" href="#template-wildcards" id="id161">Template wildcards</a></li> </ul> </li> </ul> </li> -<li><a class="reference" href="#customizing-the-toolbar" id="id162" name="id162">Customizing the toolbar</a><ul> -<li><a class="reference" href="#available-toolbar-elements" id="id163" name="id163">Available toolbar elements</a></li> +<li><a class="reference internal" href="#customizing-the-toolbar" id="id162">Customizing the toolbar</a><ul> +<li><a class="reference internal" href="#manually-editing-of-the-toolbar-layout" id="id163">Manually editing of the toolbar layout</a></li> +<li><a class="reference internal" href="#available-toolbar-elements" id="id164">Available toolbar elements</a></li> </ul> </li> </ul> </li> -<li><a class="reference" href="#plugin-documentation" id="id164" name="id164">Plugin documentation</a><ul> -<li><a class="reference" href="#instant-save" id="id165" name="id165">Instant Save</a></li> -<li><a class="reference" href="#backup-copy" id="id166" name="id166">Backup Copy</a></li> +<li><a class="reference internal" href="#plugin-documentation" id="id165">Plugin documentation</a><ul> +<li><a class="reference internal" href="#instant-save" id="id166">Instant Save</a></li> +<li><a class="reference internal" href="#backup-copy" id="id167">Backup Copy</a></li> </ul> </li> -<li><a class="reference" href="#contributing-to-this-document" id="id167" name="id167">Contributing to this document</a></li> -<li><a class="reference" href="#scintilla-keyboard-commands" id="id168" name="id168">Scintilla keyboard commands</a><ul> -<li><a class="reference" href="#keyboard-commands" id="id169" name="id169">Keyboard commands</a></li> +<li><a class="reference internal" href="#contributing-to-this-document" id="id168">Contributing to this document</a></li> +<li><a class="reference internal" href="#scintilla-keyboard-commands" id="id169">Scintilla keyboard commands</a><ul> +<li><a class="reference internal" href="#keyboard-commands" id="id170">Keyboard commands</a></li> </ul> </li> -<li><a class="reference" href="#tips-and-tricks" id="id170" name="id170">Tips and tricks</a><ul> -<li><a class="reference" href="#document-notebook" id="id171" name="id171">Document notebook</a></li> -<li><a class="reference" href="#editor" id="id172" name="id172">Editor</a></li> -<li><a class="reference" href="#interface" id="id173" name="id173">Interface</a></li> -<li><a class="reference" href="#gtk-related" id="id174" name="id174">GTK-related</a></li> +<li><a class="reference internal" href="#tips-and-tricks" id="id171">Tips and tricks</a><ul> +<li><a class="reference internal" href="#document-notebook" id="id172">Document notebook</a></li> +<li><a class="reference internal" href="#editor" id="id173">Editor</a></li> +<li><a class="reference internal" href="#interface" id="id174">Interface</a></li> +<li><a class="reference internal" href="#gtk-related" id="id175">GTK-related</a></li> </ul> </li> -<li><a class="reference" href="#hidden-preferences" id="id175" name="id175">Hidden preferences</a></li> -<li><a class="reference" href="#compile-time-options" id="id176" name="id176">Compile-time options</a><ul> -<li><a class="reference" href="#src-geany-h" id="id177" name="id177">src/geany.h</a></li> -<li><a class="reference" href="#project-h" id="id178" name="id178">project.h</a></li> -<li><a class="reference" href="#editor-h" id="id179" name="id179">editor.h</a></li> -<li><a class="reference" href="#keyfile-c" id="id180" name="id180">keyfile.c</a></li> -<li><a class="reference" href="#build-h" id="id181" name="id181">build.h</a></li> +<li><a class="reference internal" href="#hidden-preferences" id="id176">Hidden preferences</a></li> +<li><a class="reference internal" href="#compile-time-options" id="id177">Compile-time options</a><ul> +<li><a class="reference internal" href="#src-geany-h" id="id178">src/geany.h</a></li> +<li><a class="reference internal" href="#project-h" id="id179">project.h</a></li> +<li><a class="reference internal" href="#editor-h" id="id180">editor.h</a></li> +<li><a class="reference internal" href="#keyfile-c" id="id181">keyfile.c</a></li> +<li><a class="reference internal" href="#build-h" id="id182">build.h</a></li> </ul> </li> -<li><a class="reference" href="#gnu-general-public-license" id="id182" name="id182">GNU General Public License</a></li> -<li><a class="reference" href="#license-for-scintilla-and-scite" id="id183" name="id183">License for Scintilla and SciTE</a></li> +<li><a class="reference internal" href="#gnu-general-public-license" id="id183">GNU General Public License</a></li> +<li><a class="reference internal" href="#license-for-scintilla-and-scite" id="id184">License for Scintilla and SciTE</a></li> </ul> </div> -<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> +<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> <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 @@ -452,56 +453,56 @@ <li>Plugin interface</li> </ul> </div> -<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 +<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 your distributor. For a list of available packages, please see -<a class="reference" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p> +<a class="reference external" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id14" id="license" name="license">License</a></h2> +<div class="section" id="license"> +<h2><a class="toc-backref" href="#id14">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" href="#gnu-general-public-license">GNU General Public License</a>.</p> +code of this program and in the chapter, <a class="reference internal" 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" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p> +<a class="reference internal" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id15" id="about-this-document" name="about-this-document">About this document</a></h2> +<div class="section" id="about-this-document"> +<h2><a class="toc-backref" href="#id15">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" 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> +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> </div> </div> -<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> +<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> <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"> -<h2><a class="toc-backref" href="#id18" id="binary-packages" name="binary-packages">Binary packages</a></h2> +<div class="section" id="binary-packages"> +<h2><a class="toc-backref" href="#id18">Binary packages</a></h2> <p>There are many binary packages available. For an up-to-date but maybe -incomplete list see <a class="reference" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p> +incomplete list see <a class="reference external" href="http://www.geany.org/Download/ThirdPartyPackages">http://www.geany.org/Download/ThirdPartyPackages</a>.</p> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id19" id="source-compilation" name="source-compilation">Source compilation</a></h2> +<div class="section" id="source-compilation"> +<h2><a class="toc-backref" href="#id19">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" href="http://www.gtk.org">http://www.gtk.org</a>, but very often +All these files are available at <a class="reference external" 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"> -<h3><a class="toc-backref" href="#id20" id="autotools-based-build-system" name="autotools-based-build-system">Autotools based build system</a></h3> +<div class="section" id="autotools-based-build-system"> +<h3><a class="toc-backref" href="#id20">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> @@ -514,8 +515,8 @@ % make install </pre> </div> -<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> +<div class="section" id="waf-based-build-system"> +<h3><a class="toc-backref" href="#id21">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. @@ -523,7 +524,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" href="#waf-cache">Waf Cache</a> for details. +again. See <a class="reference internal" href="#waf-cache">Waf Cache</a> for details. To build Geany with Waf as usual run:</p> <pre class="literal-block"> $ ./waf configure @@ -533,8 +534,8 @@ <pre class="literal-block"> % ./waf install </pre> -<div class="section"> -<h4><a class="toc-backref" href="#id22" id="waf-cache" name="waf-cache">Waf Cache</a></h4> +<div class="section" id="waf-cache"> +<h4><a class="toc-backref" href="#id22">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. @@ -552,9 +553,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" 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> +<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> <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. @@ -568,8 +569,8 @@ </div> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id24" id="custom-installation" name="custom-installation">Custom installation</a></h3> +<div class="section" id="custom-installation"> +<h3><a class="toc-backref" href="#id24">Custom installation</a></h3> <p>The configure script supports several common options, for a detailed list, type:</p> <pre class="literal-block"> @@ -583,39 +584,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" href="#compile-time-options">Compile-time options</a>.</li> +<li>See also <a class="reference internal" href="#compile-time-options">Compile-time options</a>.</li> </ul> </div> -<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> +<div class="section" id="dynamic-linking-loader-support"> +<h3><a class="toc-backref" href="#id25">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"> -<h3><a class="toc-backref" href="#id26" id="build-problems" name="build-problems">Build problems</a></h3> +<div class="section" id="build-problems"> +<h3><a class="toc-backref" href="#id26">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"> -<h2><a class="toc-backref" href="#id27" id="installation-prefix" name="installation-prefix">Installation prefix</a></h2> +<div class="section" id="installation-prefix"> +<h2><a class="toc-backref" href="#id27">Installation prefix</a></h2> <p>If you want to edit any of Geany's system configuration files after installation you will need to know the installation prefix. Usually this is not necessary as you can just use user configuration files.</p> -<p>Use the <tt class="docutils literal"><span class="pre">--print-prefix</span></tt> option to check - see <a class="reference" href="#command-line-options">Command line +<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 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"> -<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> +<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> <p>You can start Geany in the following ways:</p> <ul> <li><p class="first">From the Desktop Environment menu:</p> @@ -631,8 +632,8 @@ </li> </ul> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id30" id="command-line-options" name="command-line-options">Command line options</a></h2> +<div class="section" id="command-line-options"> +<h2><a class="toc-backref" href="#id30">Command line options</a></h2> <table border="1" class="docutils"> <colgroup> <col width="13%" /> @@ -671,7 +672,7 @@ <tr><td>-g</td> <td>--generate-tags</td> <td>Generate a global tags file (see -<a class="reference" href="#generating-a-global-tags-file">Generating a global tags file</a>).</td> +<a class="reference internal" href="#generating-a-global-tags-file">Generating a global tags file</a>).</td> </tr> <tr><td>-P</td> <td>--no-preprocessing</td> @@ -763,13 +764,13 @@ <p>Geany supports all generic GTK options, a list is available on the help screen.</p> </div> -<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> +<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> <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" href="#general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a>). If you specify some +(see <a class="reference internal" href="#general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a>). If you specify some files on the command line, only these files will be opened, but you can find the files from the last session in the file menu under the "Recent files" item. By default this contains the last 10 recently @@ -780,8 +781,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"> -<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> +<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> <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 @@ -794,10 +795,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" href="#command-line-options">Command line options</a>.</p> +called <a class="reference internal" href="#command-line-options">Command line options</a>.</p> </div> -<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> +<div class="section" id="virtual-terminal-emulator-widget-vte"> +<h3><a class="toc-backref" href="#id34">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> @@ -805,7 +806,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" href="#command-line-options">Command line options</a>.</p> +see the section called <a class="reference internal" 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 @@ -836,12 +837,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" href="#command-line-options">Command line options</a>) or at compile time +line (see the section called <a class="reference internal" 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"> -<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> +<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> <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 @@ -881,23 +882,23 @@ </pre> </div> </div> -<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> +<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> <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" href="#keybindings">Keybindings</a> section for useful +<p>See the <em>Notebook tabs</em> group in the <a class="reference internal" href="#keybindings">Keybindings</a> section for useful shortcuts including for Most-Recently-Used document switching.</p> </div> </div> -<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> +<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> <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, @@ -942,8 +943,8 @@ </li> </ul> </div> -<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> +<div class="section" id="in-file-encoding-specification"> +<h3><a class="toc-backref" href="#id40">In-file encoding specification</a></h3> <p>Geany detects meta tags of HTML files which contain charset information like:</p> <pre class="literal-block"> @@ -984,8 +985,8 @@ Anything after the first 512 bytes will not be recognized.</p> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id41" id="special-encoding-none" name="special-encoding-none">Special encoding "None"</a></h3> +<div class="section" id="special-encoding-none"> +<h3><a class="toc-backref" href="#id41">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 @@ -994,10 +995,10 @@ of the first NULL-byte. Using this encoding opens the file as it is without any character conversion.</p> </div> -<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> +<div class="section" id="unicode-byte-order-mark-bom"> +<h3><a class="toc-backref" href="#id42">Unicode Byte-Order-Mark (BOM)</a></h3> <p>Furthermore, Geany detects an Unicode Byte Order Mark (see -<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, +<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, 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 @@ -1015,10 +1016,10 @@ </div> </div> </div> -<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> +<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> <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 @@ -1041,8 +1042,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"> -<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> +<div class="section" id="column-mode-editing-rectangular-selections"> +<h3><a class="toc-backref" href="#id45">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 @@ -1052,18 +1053,18 @@ this selection and the modifications will be done for every line in the selection.</p> </div> -<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> +<div class="section" id="drag-and-drop-of-text"> +<h3><a class="toc-backref" href="#id46">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"> -<h3><a class="toc-backref" href="#id47" id="indentation" name="indentation">Indentation</a></h3> +<div class="section" id="indentation"> +<h3><a class="toc-backref" href="#id47">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" href="#editor-features-tab-in-preferences-dialog">Editor Features +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 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, @@ -1081,8 +1082,8 @@ on a line.</dd> </dl> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id48" id="auto-indentation" name="auto-indentation">Auto-indentation</a></h3> +<div class="section" id="auto-indentation"> +<h3><a class="toc-backref" href="#id48">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> @@ -1102,8 +1103,8 @@ match the indentation of the line with the opening brace.</dd> </dl> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id49" id="bookmarks" name="bookmarks">Bookmarks</a></h3> +<div class="section" id="bookmarks"> +<h3><a class="toc-backref" href="#id49">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> @@ -1120,14 +1121,14 @@ (Ctrl-PgUp/PgDn and Ctrl-Tab) provides a particularly fast way to navigate around multiple files.</p> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id50" id="code-navigation-history" name="code-navigation-history">Code Navigation History</a></h3> +<div class="section" id="code-navigation-history"> +<h3><a class="toc-backref" href="#id50">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" 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><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>Symbol list items</li> <li>Build errors</li> <li>Message items</li> @@ -1139,8 +1140,8 @@ location". This makes it easier to navigate in e.g. foreign code and between different files.</p> </div> -<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> +<div class="section" id="send-text-through-definable-commands"> +<h3><a class="toc-backref" href="#id51">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 @@ -1156,18 +1157,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"> -<h3><a class="toc-backref" href="#id52" id="context-actions" name="context-actions">Context actions</a></h3> +<div class="section" id="context-actions"> +<h3><a class="toc-backref" href="#id52">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" href="#keybindings">Keybindings</a>).</p> +<a class="reference internal" 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" href="#format">Format</a>). At executing, the filetype specific command is used if +<a class="reference internal" 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 @@ -1180,10 +1181,10 @@ <p>when executing the command, the %s is substituted by the word near the cursor position or by the current selection. If the cursor is at the word "echo", a browser window will open(assumed your browser is -called firefox) and it will open the address: <a class="reference" href="http://www.php.net/echo">http://www.php.net/echo</a>.</p> +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> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id53" id="user-definable-snippets" name="user-definable-snippets">User-definable snippets</a></h3> +<div class="section" id="user-definable-snippets"> +<h3><a class="toc-backref" href="#id53">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. @@ -1191,7 +1192,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" href="#installation-prefix">Installation prefix</a>). It is not recommended to edit the +installed (see <a class="reference internal" 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> @@ -1267,7 +1268,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" href="#template-wildcards">Template wildcards</a>. All wildcards which are listed as +listed in <a class="reference internal" 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] @@ -1282,14 +1283,14 @@ default characters or define it to add or remove characters to fit your needs.</p> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id54" id="inserting-unicode-characters" name="inserting-unicode-characters">Inserting Unicode characters</a></h3> +<div class="section" id="inserting-unicode-characters"> +<h3><a class="toc-backref" href="#id54">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" href="#keybinding-tab-in-preferences-dialog">keybinding tab in preferences dialog</a>, then restart Geany. +in the <a class="reference internal" href="#keybinding-tab-in-preferences-dialog">keybinding tab in preferences dialog</a>, then restart Geany. Note that it works slightly differently from other GTK applications, in that you'll need to continue to hold down the Ctrl and Shift keys while typing the code point hex digits.</p> @@ -1298,8 +1299,8 @@ keys conflict with other Geany keybindings.</p> </div> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id55" id="search-replace-and-go-to" name="search-replace-and-go-to">Search, replace and go to</a></h2> +<div class="section" id="search-replace-and-go-to"> +<h2><a class="toc-backref" href="#id55">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"> @@ -1312,22 +1313,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" href="#keybindings">Keybindings</a>).</p> -<div class="section"> -<h3><a class="toc-backref" href="#id56" id="find" name="find">Find</a></h3> +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="#id56">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"> -<h4><a class="toc-backref" href="#id57" id="matching-options" name="matching-options">Matching options</a></h4> +<div class="section" id="matching-options"> +<h4><a class="toc-backref" href="#id57">Matching options</a></h4> <p>The syntax for the Use regular expressions option is shown in -<a class="reference" href="#regular-expressions">Regular expressions</a>.</p> +<a class="reference internal" 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"> -<h4><a class="toc-backref" href="#id58" id="find-all" name="find-all">Find all</a></h4> +<div class="section" id="find-all"> +<h4><a class="toc-backref" href="#id58">Find all</a></h4> <p>To find all matches, click on the Find All expander. This will reveal several options:</p> <ul class="simple"> @@ -1342,8 +1343,8 @@ colored box. These markers can be removed by selecting the Remove Markers command from the Document menu.</p> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id59" 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> +<div class="section" id="change-font-in-search-dialog-text-fields"> +<h4><a class="toc-backref" href="#id59">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 @@ -1364,8 +1365,8 @@ for the search dialogs.</p> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id60" id="find-usage" name="find-usage">Find usage</a></h3> +<div class="section" id="find-usage"> +<h3><a class="toc-backref" href="#id60">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 @@ -1374,8 +1375,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"> -<h3><a class="toc-backref" href="#id61" id="find-in-files" name="find-in-files">Find in files</a></h3> +<div class="section" id="find-in-files"> +<h3><a class="toc-backref" href="#id61">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 @@ -1386,8 +1387,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"> -<h4><a class="toc-backref" href="#id62" id="filtering-out-version-control-files" name="filtering-out-version-control-files">Filtering out version control files</a></h4> +<div class="section" id="filtering-out-version-control-files"> +<h4><a class="toc-backref" href="#id62">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> @@ -1398,18 +1399,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"> -<h3><a class="toc-backref" href="#id63" id="replace" name="replace">Replace</a></h3> +<div class="section" id="replace"> +<h3><a class="toc-backref" href="#id63">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" href="#matching-options">Matching options</a>.</p> +dialog. See the section called <a class="reference internal" 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" href="#regular-expressions">Regular expressions</a>.</p> -<div class="section"> -<h4><a class="toc-backref" href="#id64" id="replace-all" name="replace-all">Replace all</a></h4> +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="#id64">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"> @@ -1423,8 +1424,8 @@ in the current selection of the current document.</p> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id65" id="go-to-tag-definition" name="go-to-tag-definition">Go to tag definition</a></h3> +<div class="section" id="go-to-tag-definition"> +<h3><a class="toc-backref" href="#id65">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 @@ -1432,18 +1433,18 @@ or the word underneath the popup menu click position when the popup menu is used.</p> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id66" id="go-to-tag-declaration" name="go-to-tag-declaration">Go to tag declaration</a></h3> +<div class="section" id="go-to-tag-declaration"> +<h3><a class="toc-backref" href="#id66">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"> -<h3><a class="toc-backref" href="#id67" id="go-to-line" name="go-to-line">Go to line</a></h3> +<div class="section" id="go-to-line"> +<h3><a class="toc-backref" href="#id67">Go to line</a></h3> <p>Go to a particular line number in the current file.</p> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id68" id="regular-expressions" name="regular-expressions">Regular expressions</a></h3> +<div class="section" id="regular-expressions"> +<h3><a class="toc-backref" href="#id68">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> @@ -1548,12 +1549,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" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p> +distributed under the <a class="reference internal" href="#license-for-scintilla-and-scite">License for Scintilla and SciTE</a>.</p> </div> </div> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id69" id="tags" name="tags">Tags</a></h2> +<div class="section" id="tags"> +<h2><a class="toc-backref" href="#id69">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 @@ -1561,17 +1562,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"> -<h3><a class="toc-backref" href="#id70" id="workspace-tags" name="workspace-tags">Workspace tags</a></h3> +<div class="section" id="workspace-tags"> +<h3><a class="toc-backref" href="#id70">Workspace tags</a></h3> <p>Tags for each document are parsed whenever a file is loaded or saved. These are shown in the Symbol list in the Sidebar. These tags are also used for auto completion of symbols and calltips for all documents open in the current session that have the same filetype.</p> <p>The <em>Go to Tag</em> commands can be used with all workspace tags. See -<a class="reference" href="#go-to-tag-definition">Go to tag definition</a>.</p> +<a class="reference internal" href="#go-to-tag-definition">Go to tag definition</a>.</p> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id71" id="global-tags" name="global-tags">Global tags</a></h3> +<div class="section" id="global-tags"> +<h3><a class="toc-backref" href="#id71">Global tags</a></h3> <p>Global tags are used to provide auto completion of symbols and calltips without having to open the corresponding source files. This is intended for library APIs, as the tags file only has to be updated when you upgrade @@ -1583,7 +1584,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" 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 internal" href="#installation-prefix">Installation prefix</a>).</li> </ul> <p>You can either download these files or generate your own. They have the format:</p> @@ -1591,10 +1592,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" href="#filetype-extensions">Filetype extensions</a> for +with the tags. See the section called <a class="reference internal" href="#filetype-extensions">Filetype extensions</a> for more information.</p> -<div class="section"> -<h4><a class="toc-backref" href="#id72" id="default-global-tags-files" name="default-global-tags-files">Default global tags files</a></h4> +<div class="section" id="default-global-tags-files"> +<h4><a class="toc-backref" href="#id72">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"> @@ -1606,8 +1607,8 @@ <li>Python</li> </ul> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id73" id="global-tags-file-format" name="global-tags-file-format">Global tags file format</a></h4> +<div class="section" id="global-tags-file-format"> +<h4><a class="toc-backref" href="#id73">Global tags file format</a></h4> <p>Global tags files can have two different formats:</p> <ul class="simple"> <li>Tagmanager format</li> @@ -1641,10 +1642,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" href="#global-tags">Global tags</a>.</p> +section <a class="reference internal" href="#global-tags">Global tags</a>.</p> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id74" id="generating-a-global-tags-file" name="generating-a-global-tags-file">Generating a global tags file</a></h4> +<div class="section" id="generating-a-global-tags-file"> +<h4><a class="toc-backref" href="#id74">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"> @@ -1652,7 +1653,7 @@ </pre> <ul class="simple"> <li>Tag File filename should be in the format described earlier -- -see the section called <a class="reference" href="#global-tags">Global tags</a>.</li> +see the section called <a class="reference internal" 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> @@ -1688,8 +1689,8 @@ upgrading Geany.</p> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id75" id="ignore-tags" name="ignore-tags">Ignore tags</a></h3> +<div class="section" id="ignore-tags"> +<h3><a class="toc-backref" href="#id75">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 @@ -1712,8 +1713,8 @@ Exuberant Ctags.</p> </div> </div> -<div class="section"> -<h2><a class="toc-backref" href="#id76" id="preferences" name="preferences">Preferences</a></h2> +<div class="section" id="preferences"> +<h2><a class="toc-backref" href="#id76">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 @@ -1724,17 +1725,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" href="#hidden-preferences">Hidden preferences</a>.</p> +<p>There are also some rarer <a class="reference internal" 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"> -<h3><a class="toc-backref" href="#id77" id="general-startup-tab-in-preferences-dialog" name="general-startup-tab-in-preferences-dialog">General Startup tab in preferences dialog</a></h3> +<div class="section" id="general-startup-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id77">General Startup tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_gen_startup.png" src="./images/pref_dialog_gen_startup.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id78" id="id1" name="id1">Startup</a></h4> +<div class="section" id="id1"> +<h4><a class="toc-backref" href="#id78">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 @@ -1745,8 +1746,8 @@ <dd>Allow plugins to be used in Geany.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id79" id="shutdown" name="shutdown">Shutdown</a></h4> +<div class="section" id="shutdown"> +<h4><a class="toc-backref" href="#id79">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 @@ -1755,8 +1756,8 @@ <dd>Have a dialog pop up to confirm that you really want to quit Geany.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id80" id="paths" name="paths">Paths</a></h4> +<div class="section" id="paths"> +<h4><a class="toc-backref" href="#id80">Paths</a></h4> <dl class="docutils"> <dt>Startup path</dt> <dd>Path to start in when opening or saving files. @@ -1774,11 +1775,11 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id81" id="general-miscellaneous-tab-in-preferences-dialog" name="general-miscellaneous-tab-in-preferences-dialog">General Miscellaneous tab in preferences dialog</a></h3> +<div class="section" id="general-miscellaneous-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id81">General Miscellaneous tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_gen_misc.png" src="./images/pref_dialog_gen_misc.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id82" id="miscellaneous" name="miscellaneous">Miscellaneous</a></h4> +<div class="section" id="miscellaneous"> +<h4><a class="toc-backref" href="#id82">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 @@ -1796,8 +1797,8 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id83" id="search" name="search">Search</a></h3> +<div class="section" id="search"> +<h3><a class="toc-backref" href="#id83">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 @@ -1811,8 +1812,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"> -<h4><a class="toc-backref" href="#id84" id="projects" name="projects">Projects</a></h4> +<div class="section" id="projects"> +<h4><a class="toc-backref" href="#id84">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 @@ -1828,26 +1829,26 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id85" id="interface-tab-in-preferences-dialog" name="interface-tab-in-preferences-dialog">Interface tab in preferences dialog</a></h3> +<div class="section" id="interface-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id85">Interface tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_interface.png" src="./images/pref_dialog_interface.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id86" id="sidebar" name="sidebar">Sidebar</a></h4> +<div class="section" id="sidebar"> +<h4><a class="toc-backref" href="#id86">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" href="#switching-between-documents">Switching between documents</a>) and +change between documents (see <a class="reference internal" 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"> -<h4><a class="toc-backref" href="#id87" id="fonts" name="fonts">Fonts</a></h4> +<div class="section" id="fonts"> +<h4><a class="toc-backref" href="#id87">Fonts</a></h4> <dl class="docutils"> <dt>Editor</dt> <dd>Change the font used to display documents.</dd> @@ -1857,8 +1858,8 @@ <dd>Change the font used for the message window area.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id88" id="editor-tabs" name="editor-tabs">Editor tabs</a></h4> +<div class="section" id="editor-tabs"> +<h4><a class="toc-backref" href="#id88">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 @@ -1874,8 +1875,8 @@ when double-clicking on a notebook tab.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id89" id="tab-positions" name="tab-positions">Tab positions</a></h4> +<div class="section" id="tab-positions"> +<h4><a class="toc-backref" href="#id89">Tab positions</a></h4> <dl class="docutils"> <dt>Editor</dt> <dd>Set the positioning of the editor's notebook tabs to the right, @@ -1888,8 +1889,8 @@ right, left, top, or bottom of the message window.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id90" id="id2" name="id2">Miscellaneous</a></h4> +<div class="section" id="id2"> +<h4><a class="toc-backref" href="#id90">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 @@ -1898,12 +1899,12 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id91" id="toolbar-tab-in-preferences-dialog" name="toolbar-tab-in-preferences-dialog">Toolbar tab in preferences dialog</a></h3> +<div class="section" id="toolbar-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id91">Toolbar tab in preferences dialog</a></h3> <p>Affects the main toolbar underneath the menu bar.</p> <img alt="./images/pref_dialog_toolbar.png" src="./images/pref_dialog_toolbar.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id92" id="toolbar" name="toolbar">Toolbar</a></h4> +<div class="section" id="toolbar"> +<h4><a class="toc-backref" href="#id92">Toolbar</a></h4> <dl class="docutils"> <dt>Show Toolbar</dt> <dd>Whether to show the toolbar.</dd> @@ -1912,8 +1913,8 @@ This is useful to save vertical space.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id93" id="appearance" name="appearance">Appearance</a></h4> +<div class="section" id="appearance"> +<h4><a class="toc-backref" href="#id93">Appearance</a></h4> <dl class="docutils"> <dt>Icon Style</dt> <dd>Select the toolbar icon style to use - either icons and text, just @@ -1923,11 +1924,11 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id94" id="editor-features-tab-in-preferences-dialog" name="editor-features-tab-in-preferences-dialog">Editor Features tab in preferences dialog</a></h3> +<div class="section" id="editor-features-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id94">Editor Features tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_edit_features.png" src="./images/pref_dialog_edit_features.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id95" id="features" name="features">Features</a></h4> +<div class="section" id="features"> +<h4><a class="toc-backref" href="#id95">Features</a></h4> <dl class="docutils"> <dt>Line wrapping</dt> <dd>Show long lines wrapped around to new display lines.</dd> @@ -1958,12 +1959,12 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id96" id="editor-indentation-tab-in-preferences-dialog" name="editor-indentation-tab-in-preferences-dialog">Editor Indentation tab in preferences dialog</a></h3> +<div class="section" id="editor-indentation-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id96">Editor Indentation tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_edit_indentation.png" src="./images/pref_dialog_edit_indentation.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id97" id="indentation-group" name="indentation-group">Indentation group</a></h4> -<p>See <a class="reference" href="#indentation">Indentation</a> for more information.</p> +<div class="section" id="indentation-group"> +<h4><a class="toc-backref" href="#id97">Indentation group</a></h4> +<p>See <a class="reference internal" 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> @@ -2004,7 +2005,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="last note"> +<div class="note last"> <p class="first admonition-title">Note</p> <p class="last">There are also separate configurable keybindings for indent & unindent, but this pref allows the tab key to have different @@ -2014,16 +2015,16 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id98" id="editor-completions-tab-in-preferences-dialog" name="editor-completions-tab-in-preferences-dialog">Editor Completions tab in preferences dialog</a></h3> +<div class="section" id="editor-completions-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id98">Editor Completions tab in preferences dialog</a></h3> <img alt="./images/pref_dialog_edit_completions.png" src="./images/pref_dialog_edit_completions.png" /> -<div class="section"> -<h4><a class="toc-backref" href="#id99" id="completions" name="completions">Completions</a></h4> +<div class="section" id="completions"> +<h4><a class="toc-backref" href="#id99">Completions</a></h4> <dl class="docutils"> <dt>Snippet Completion</dt> <dd>Whether to replace special keywords after typing Tab into a pre-defined text snippet. -See <a class="reference" href="#user-definable-snippets">User-definable snippets</a>.</dd> +See <a class="reference internal" href="#user-definable-snippets">User-definable snippets</a>.</dd> <dt>XML tag autocompletion</dt> <dd>When you open an XML tag automatically generate its completion tag.</dd> <dt>Automatic continuation multi-line comments</dt> @@ -2055,8 +2056,8 @@ <dd>The maximum number of entries to display in the auto completion list.</dd> </dl> </div> -<div class="section"> -<h4><a class="toc-backref" href="#id100" id="auto-close-quotes-and-brackets" name="auto-close-quotes-and-brackets">Auto-close quotes and brackets</a></h4> +<div class="section" id="auto-close-quotes-and-brackets"> +<h4><a class="toc-backref" href="#id100">Auto-close quotes and brackets</a></h4> <p>Geany can automatically insert a closing bracket and quote characters when you open them. For instance, you type a <tt class="docutils literal"><span class="pre">(</span></tt> and Geany will automatically insert <tt class="docutils literal"><span class="pre">)</span></tt>. With the following options, you can define for which @@ -2075,17 +2076,17 @@ </dl> </div> </div> -<div class="section"> -<h3><a class="toc-backref" href="#id101" id="editor-display-tab-in-preferences-dialog" name="editor-display-tab-in-preferences-dialog">Editor Display tab in preferences dialog</a></h3> +<div class="section" id="editor-display-tab-in-preferences-dialog"> +<h3><a class="toc-backref" href="#id101">Editor Display tab in preferences dialog</a></h3> <p>This is for visual elements displayed in the editor window.</p>
@@ Diff output truncated at 100000 characters. @@
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.