SF.net SVN: geany:[5750] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Sat Apr 30 15:25:09 UTC 2011


Revision: 5750
          http://geany.svn.sourceforge.net/geany/?rev=5750&view=rev
Author:   ntrel
Date:     2011-04-30 15:25:09 +0000 (Sat, 30 Apr 2011)

Log Message:
-----------
Add section 'Filetype group membership'.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/geany.html
    trunk/doc/geany.txt

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2011-04-30 15:09:07 UTC (rev 5749)
+++ trunk/ChangeLog	2011-04-30 15:25:09 UTC (rev 5750)
@@ -3,6 +3,8 @@
  * src/filetypes.c, data/filetype_extensions.conf:
    Revert 'Compiled' filetype group back to 'Programming' (couldn't
    agree on whether e.g. Java is a compiled language).
+ * doc/geany.txt, doc/geany.html:
+   Add section 'Filetype group membership'.
 
 
 2011-04-29  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2011-04-30 15:09:07 UTC (rev 5749)
+++ trunk/doc/geany.html	2011-04-30 15:25:09 UTC (rev 5750)
@@ -6,7 +6,7 @@
 <meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
 <title>Geany</title>
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2011-04-02" />
+<meta name="date" content="2011-04-26" />
 <style type="text/css">
 
 /*
@@ -139,7 +139,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
-<td>2011-04-02</td></tr>
+<td>2011-04-26</td></tr>
 <tr><th class="docinfo-name">Version:</th>
 <td>0.21</td></tr>
 </tbody>
@@ -441,76 +441,77 @@
 </ul>
 </li>
 <li><a class="reference" href="#filetype-extensions" id="id196" name="id196">Filetype extensions</a></li>
-<li><a class="reference" href="#preferences-file-format" id="id197" name="id197">Preferences file format</a><ul>
-<li><a class="reference" href="#hidden-preferences" id="id198" name="id198">Hidden preferences</a></li>
-<li><a class="reference" href="#build-menu-section" id="id199" name="id199">[build-menu] section</a></li>
+<li><a class="reference" href="#filetype-group-membership" id="id197" name="id197">Filetype group membership</a></li>
+<li><a class="reference" href="#preferences-file-format" id="id198" name="id198">Preferences file format</a><ul>
+<li><a class="reference" href="#hidden-preferences" id="id199" name="id199">Hidden preferences</a></li>
+<li><a class="reference" href="#build-menu-section" id="id200" name="id200">[build-menu] section</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#project-file-format" id="id200" name="id200">Project file format</a><ul>
-<li><a class="reference" href="#build-menu-additions" id="id201" name="id201">[build-menu] additions</a></li>
+<li><a class="reference" href="#project-file-format" id="id201" name="id201">Project file format</a><ul>
+<li><a class="reference" href="#build-menu-additions" id="id202" name="id202">[build-menu] additions</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#templates" id="id202" name="id202">Templates</a><ul>
-<li><a class="reference" href="#template-meta-data" id="id203" name="id203">Template meta data</a></li>
-<li><a class="reference" href="#file-templates" id="id204" name="id204">File templates</a><ul>
-<li><a class="reference" href="#adding-file-templates" id="id205" name="id205">Adding file templates</a></li>
+<li><a class="reference" href="#templates" id="id203" name="id203">Templates</a><ul>
+<li><a class="reference" href="#template-meta-data" id="id204" name="id204">Template meta data</a></li>
+<li><a class="reference" href="#file-templates" id="id205" name="id205">File templates</a><ul>
+<li><a class="reference" href="#adding-file-templates" id="id206" name="id206">Adding file templates</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#customizing-templates" id="id206" name="id206">Customizing templates</a><ul>
-<li><a class="reference" href="#template-wildcards" id="id207" name="id207">Template wildcards</a><ul>
-<li><a class="reference" href="#special-command-wildcard" id="id208" name="id208">Special {command:} wildcard</a></li>
+<li><a class="reference" href="#customizing-templates" id="id207" name="id207">Customizing templates</a><ul>
+<li><a class="reference" href="#template-wildcards" id="id208" name="id208">Template wildcards</a><ul>
+<li><a class="reference" href="#special-command-wildcard" id="id209" name="id209">Special {command:} wildcard</a></li>
 </ul>
 </li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#customizing-the-toolbar" id="id209" name="id209">Customizing the toolbar</a><ul>
-<li><a class="reference" href="#manually-editing-the-toolbar-layout" id="id210" name="id210">Manually editing the toolbar layout</a></li>
-<li><a class="reference" href="#available-toolbar-elements" id="id211" name="id211">Available toolbar elements</a></li>
+<li><a class="reference" href="#customizing-the-toolbar" id="id210" name="id210">Customizing the toolbar</a><ul>
+<li><a class="reference" href="#manually-editing-the-toolbar-layout" id="id211" name="id211">Manually editing the toolbar layout</a></li>
+<li><a class="reference" href="#available-toolbar-elements" id="id212" name="id212">Available toolbar elements</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#plugin-documentation" id="id212" name="id212">Plugin documentation</a><ul>
-<li><a class="reference" href="#html-characters" id="id213" name="id213">HTML Characters</a><ul>
-<li><a class="reference" href="#insert-entity-dialog" id="id214" name="id214">Insert entity dialog</a></li>
-<li><a class="reference" href="#replace-special-chars-by-its-entity" id="id215" name="id215">Replace special chars by its entity</a><ul>
-<li><a class="reference" href="#at-typing-time" id="id216" name="id216">At typing time</a></li>
-<li><a class="reference" href="#bulk-replacement" id="id217" name="id217">Bulk replacement</a></li>
+<li><a class="reference" href="#plugin-documentation" id="id213" name="id213">Plugin documentation</a><ul>
+<li><a class="reference" href="#html-characters" id="id214" name="id214">HTML Characters</a><ul>
+<li><a class="reference" href="#insert-entity-dialog" id="id215" name="id215">Insert entity dialog</a></li>
+<li><a class="reference" href="#replace-special-chars-by-its-entity" id="id216" name="id216">Replace special chars by its entity</a><ul>
+<li><a class="reference" href="#at-typing-time" id="id217" name="id217">At typing time</a></li>
+<li><a class="reference" href="#bulk-replacement" id="id218" name="id218">Bulk replacement</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#save-actions" id="id218" name="id218">Save Actions</a><ul>
-<li><a class="reference" href="#instant-save" id="id219" name="id219">Instant Save</a></li>
-<li><a class="reference" href="#backup-copy" id="id220" name="id220">Backup Copy</a></li>
+<li><a class="reference" href="#save-actions" id="id219" name="id219">Save Actions</a><ul>
+<li><a class="reference" href="#instant-save" id="id220" name="id220">Instant Save</a></li>
+<li><a class="reference" href="#backup-copy" id="id221" name="id221">Backup Copy</a></li>
 </ul>
 </li>
 </ul>
 </li>
-<li><a class="reference" href="#contributing-to-this-document" id="id221" name="id221">Contributing to this document</a></li>
-<li><a class="reference" href="#scintilla-keyboard-commands" id="id222" name="id222">Scintilla keyboard commands</a><ul>
-<li><a class="reference" href="#keyboard-commands" id="id223" name="id223">Keyboard commands</a></li>
+<li><a class="reference" href="#contributing-to-this-document" id="id222" name="id222">Contributing to this document</a></li>
+<li><a class="reference" href="#scintilla-keyboard-commands" id="id223" name="id223">Scintilla keyboard commands</a><ul>
+<li><a class="reference" href="#keyboard-commands" id="id224" name="id224">Keyboard commands</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#tips-and-tricks" id="id224" name="id224">Tips and tricks</a><ul>
-<li><a class="reference" href="#document-notebook" id="id225" name="id225">Document notebook</a></li>
-<li><a class="reference" href="#editor" id="id226" name="id226">Editor</a></li>
-<li><a class="reference" href="#interface" id="id227" name="id227">Interface</a></li>
-<li><a class="reference" href="#gtk-related" id="id228" name="id228">GTK-related</a></li>
+<li><a class="reference" href="#tips-and-tricks" id="id225" name="id225">Tips and tricks</a><ul>
+<li><a class="reference" href="#document-notebook" id="id226" name="id226">Document notebook</a></li>
+<li><a class="reference" href="#editor" id="id227" name="id227">Editor</a></li>
+<li><a class="reference" href="#interface" id="id228" name="id228">Interface</a></li>
+<li><a class="reference" href="#gtk-related" id="id229" name="id229">GTK-related</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#compile-time-options" id="id229" name="id229">Compile-time options</a><ul>
-<li><a class="reference" href="#src-geany-h" id="id230" name="id230">src/geany.h</a></li>
-<li><a class="reference" href="#project-h" id="id231" name="id231">project.h</a></li>
-<li><a class="reference" href="#editor-h" id="id232" name="id232">editor.h</a></li>
-<li><a class="reference" href="#keyfile-c" id="id233" name="id233">keyfile.c</a></li>
-<li><a class="reference" href="#build-c" id="id234" name="id234">build.c</a></li>
+<li><a class="reference" href="#compile-time-options" id="id230" name="id230">Compile-time options</a><ul>
+<li><a class="reference" href="#src-geany-h" id="id231" name="id231">src/geany.h</a></li>
+<li><a class="reference" href="#project-h" id="id232" name="id232">project.h</a></li>
+<li><a class="reference" href="#editor-h" id="id233" name="id233">editor.h</a></li>
+<li><a class="reference" href="#keyfile-c" id="id234" name="id234">keyfile.c</a></li>
+<li><a class="reference" href="#build-c" id="id235" name="id235">build.c</a></li>
 </ul>
 </li>
-<li><a class="reference" href="#gnu-general-public-license" id="id235" name="id235">GNU General Public License</a></li>
-<li><a class="reference" href="#license-for-scintilla-and-scite" id="id236" name="id236">License for Scintilla and SciTE</a></li>
+<li><a class="reference" href="#gnu-general-public-license" id="id236" name="id236">GNU General Public License</a></li>
+<li><a class="reference" href="#license-for-scintilla-and-scite" id="id237" name="id237">License for Scintilla and SciTE</a></li>
 </ul>
 </div>
 <div class="section">
@@ -4960,13 +4961,34 @@
 </pre>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id197" id="preferences-file-format" name="preferences-file-format">Preferences file format</a></h2>
+<h2><a class="toc-backref" href="#id197" id="filetype-group-membership" name="filetype-group-membership">Filetype group membership</a></h2>
+<p>Group membership is also stored in <tt class="docutils literal"><span class="pre">filetype_extensions.conf</span></tt>. This
+file is used to store information Geany needs at startup, whereas the
+separate filetype definition files hold information only needed when
+a document with their filetype is used.</p>
+<p>The format looks like:</p>
+<pre class="literal-block">
+[Groups]
+Programming=C;C++;
+Script=Perl;Python;
+Markup=HTML;XML;
+Misc=Diff;Conf;
+None=None;
+</pre>
+<p>The key names cannot be configured.</p>
+<div class="note">
+<p class="first admonition-title">Note</p>
+<p class="last">Group membership is only read at startup.</p>
+</div>
+</div>
+<div class="section">
+<h2><a class="toc-backref" href="#id198" id="preferences-file-format" name="preferences-file-format">Preferences file format</a></h2>
 <p>The user preferences file <tt class="docutils literal"><span class="pre">geany.conf</span></tt> holds settings for all the items configured
 in the preferences dialog. This file should not be edited while Geany is running
 as the file will be overwritten when the preferences in Geany are changed or Geany
 is quit.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id198" id="hidden-preferences" name="hidden-preferences">Hidden preferences</a></h3>
+<h3><a class="toc-backref" href="#id199" id="hidden-preferences" name="hidden-preferences">Hidden preferences</a></h3>
 <p>There are some rarely used preferences that are not shown in the Preferences
 dialog. These can be set by editing the preferences file, then
 restarting Geany. Search for the key name, then edit the value. Example:</p>
@@ -5179,7 +5201,7 @@
 </table>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id199" id="build-menu-section" name="build-menu-section">[build-menu] section</a></h3>
+<h3><a class="toc-backref" href="#id200" id="build-menu-section" name="build-menu-section">[build-menu] section</a></h3>
 <p>The [build-menu] section contains the configuration of the build menu.
 This section can occur in filetype, preferences and project files and
 always has the format described here.  Different menu items are loaded
@@ -5211,11 +5233,11 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id200" id="project-file-format" name="project-file-format">Project file format</a></h2>
+<h2><a class="toc-backref" href="#id201" id="project-file-format" name="project-file-format">Project file format</a></h2>
 <p>The project file contains project related settings and possibly a
 record of the current session files.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id201" id="build-menu-additions" name="build-menu-additions">[build-menu] additions</a></h3>
+<h3><a class="toc-backref" href="#id202" id="build-menu-additions" name="build-menu-additions">[build-menu] additions</a></h3>
 <p>The project file also can have extra fields in the [build-menu] section
 in addition to those listed in <a class="reference" href="#build-menu-section">[build-menu] section</a> above.</p>
 <p>When filetype menu items are configured for the project they are stored
@@ -5231,7 +5253,7 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id202" id="templates" name="templates">Templates</a></h2>
+<h2><a class="toc-backref" href="#id203" id="templates" name="templates">Templates</a></h2>
 <p>Geany supports the following templates:</p>
 <ul class="simple">
 <li>ChangeLog entry</li>
@@ -5260,7 +5282,7 @@
 also force this by selecting <em>Tools->Reload Configuration</em>.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id203" id="template-meta-data" name="template-meta-data">Template meta data</a></h3>
+<h3><a class="toc-backref" href="#id204" id="template-meta-data" name="template-meta-data">Template meta data</a></h3>
 <p>Meta data can be used with all templates, but by default user set
 meta data is only used for the ChangeLog and File header templates.</p>
 <p>In the configuration dialog you can find a tab "Templates" (see
@@ -5268,7 +5290,7 @@
 which will be inserted in the templates.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id204" id="file-templates" name="file-templates">File templates</a></h3>
+<h3><a class="toc-backref" href="#id205" id="file-templates" name="file-templates">File templates</a></h3>
 <p>File templates are templates used as the basis of a new file. To
 use them, choose the <em>New (with Template)</em> menu item from the <em>File</em>
 menu.</p>
@@ -5280,7 +5302,7 @@
 wildcard can be placed anywhere, but it's usually put on the first
 line of the file, followed by a blank line.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id205" id="adding-file-templates" name="adding-file-templates">Adding file templates</a></h4>
+<h4><a class="toc-backref" href="#id206" id="adding-file-templates" name="adding-file-templates">Adding file templates</a></h4>
 <p>File templates are read from <tt class="docutils literal"><span class="pre">templates/files</span></tt> under the
 <a class="reference" href="#configuration-file-paths">Configuration file paths</a>.</p>
 <p>The filetype to use is detected from the template file's extension, if
@@ -5291,7 +5313,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id206" id="customizing-templates" name="customizing-templates">Customizing templates</a></h3>
+<h3><a class="toc-backref" href="#id207" id="customizing-templates" name="customizing-templates">Customizing templates</a></h3>
 <p>Each template can be customized to your needs. The templates are
 stored in the <tt class="docutils literal"><span class="pre">~/.config/geany/templates/</span></tt> directory (see the section called
 <a class="reference" href="#command-line-options">Command line options</a> for further information about the configuration
@@ -5299,7 +5321,7 @@
 Geany ;-) ) and edit the template to your needs. There are some
 wildcards which will be automatically replaced by Geany at startup.</p>
 <div class="section">
-<h4><a class="toc-backref" href="#id207" id="template-wildcards" name="template-wildcards">Template wildcards</a></h4>
+<h4><a class="toc-backref" href="#id208" id="template-wildcards" name="template-wildcards">Template wildcards</a></h4>
 <p>All wildcards must be enclosed by "{" and "}", e.g. {date}.</p>
 <p><strong>Wildcards for character escaping</strong></p>
 <table border="1" class="docutils">
@@ -5512,7 +5534,7 @@
 </tbody>
 </table>
 <div class="section">
-<h5><a class="toc-backref" href="#id208" id="special-command-wildcard" name="special-command-wildcard">Special {command:} wildcard</a></h5>
+<h5><a class="toc-backref" href="#id209" id="special-command-wildcard" name="special-command-wildcard">Special {command:} wildcard</a></h5>
 <p>The {command:} wildcard is a special one because it can execute
 a specified command and put the command's output (stdout) into
 the template.</p>
@@ -5547,14 +5569,14 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id209" id="customizing-the-toolbar" name="customizing-the-toolbar">Customizing the toolbar</a></h2>
+<h2><a class="toc-backref" href="#id210" id="customizing-the-toolbar" name="customizing-the-toolbar">Customizing the toolbar</a></h2>
 <p>You can add, remove and reorder the elements in the toolbar by using
 the toolbar editor, or by manually editing the configuration file
 <tt class="docutils literal"><span class="pre">ui_toolbar.xml</span></tt>.</p>
 <p>The toolbar editor can be opened from the preferences editor on the Toolbar tab or
 by right-clicking on the toolbar itself and choosing it from the menu.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id210" id="manually-editing-the-toolbar-layout" name="manually-editing-the-toolbar-layout">Manually editing the toolbar layout</a></h3>
+<h3><a class="toc-backref" href="#id211" id="manually-editing-the-toolbar-layout" name="manually-editing-the-toolbar-layout">Manually editing the toolbar layout</a></h3>
 <p>To override the system-wide configuration file, copy it to your user
 configuration directory (see <a class="reference" href="#configuration-file-paths">Configuration file paths</a>).</p>
 <p>For example:</p>
@@ -5576,7 +5598,7 @@
 </div>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id211" id="available-toolbar-elements" name="available-toolbar-elements">Available toolbar elements</a></h3>
+<h3><a class="toc-backref" href="#id212" id="available-toolbar-elements" name="available-toolbar-elements">Available toolbar elements</a></h3>
 <table border="1" class="docutils">
 <colgroup>
 <col width="19%" />
@@ -5690,13 +5712,13 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id212" id="plugin-documentation" name="plugin-documentation">Plugin documentation</a></h1>
+<h1><a class="toc-backref" href="#id213" id="plugin-documentation" name="plugin-documentation">Plugin documentation</a></h1>
 <div class="section">
-<h2><a class="toc-backref" href="#id213" id="html-characters" name="html-characters">HTML Characters</a></h2>
+<h2><a class="toc-backref" href="#id214" id="html-characters" name="html-characters">HTML Characters</a></h2>
 <p>The HTML Characters plugin helps when working with special
 characters in XML/HTML, e.g. German Umlauts ü and ä.</p>
 <div class="section">
-<h3><a class="toc-backref" href="#id214" id="insert-entity-dialog" name="insert-entity-dialog">Insert entity dialog</a></h3>
+<h3><a class="toc-backref" href="#id215" id="insert-entity-dialog" name="insert-entity-dialog">Insert entity dialog</a></h3>
 <p>When the plugin is enabled, you can insert special character
 entities using <em>Tools->Insert Special HTML Characters</em>.</p>
 <p>This opens up a dialog where you can find a huge amount of special
@@ -5708,7 +5730,7 @@
 might also like to double click the chosen entity instead.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id215" id="replace-special-chars-by-its-entity" name="replace-special-chars-by-its-entity">Replace special chars by its entity</a></h3>
+<h3><a class="toc-backref" href="#id216" id="replace-special-chars-by-its-entity" name="replace-special-chars-by-its-entity">Replace special chars by its entity</a></h3>
 <p>To help make a XML/HTML document valid the plugin supports
 replacement of special chars known by the plugin. Both bulk
 replacement and immediate replacement during typing are supported.</p>
@@ -5724,7 +5746,7 @@
 </dd>
 </dl>
 <div class="section">
-<h4><a class="toc-backref" href="#id216" id="at-typing-time" name="at-typing-time">At typing time</a></h4>
+<h4><a class="toc-backref" href="#id217" id="at-typing-time" name="at-typing-time">At typing time</a></h4>
 <p>You can activate/deactivate this feature using the <em>Tools->HTML
 Replacement->Auto-replace Special Characters</em> menu item. If it's
 activated, all special characters (beside the given exceptions from
@@ -5733,7 +5755,7 @@
 of this feature.</p>
 </div>
 <div class="section">
-<h4><a class="toc-backref" href="#id217" id="bulk-replacement" name="bulk-replacement">Bulk replacement</a></h4>
+<h4><a class="toc-backref" href="#id218" id="bulk-replacement" name="bulk-replacement">Bulk replacement</a></h4>
 <p>After inserting a huge amount of text, e.g. by using copy & paste, the
 plugin allows bulk replacement of all known characters (beside the
 mentioned exceptions). You can find the function under the same
@@ -5743,9 +5765,9 @@
 </div>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id218" id="save-actions" name="save-actions">Save Actions</a></h2>
+<h2><a class="toc-backref" href="#id219" id="save-actions" name="save-actions">Save Actions</a></h2>
 <div class="section">
-<h3><a class="toc-backref" href="#id219" id="instant-save" name="instant-save">Instant Save</a></h3>
+<h3><a class="toc-backref" href="#id220" id="instant-save" name="instant-save">Instant Save</a></h3>
 <p>This plugin sets on every new file (<em>File->New</em> or <em>File->New (with template)</em>)
 a randomly chosen filename and set its filetype appropriate to the used template
 or when no template was used, to a configurable default filetype.
@@ -5755,7 +5777,7 @@
 similar.</p>
 </div>
 <div class="section">
-<h3><a class="toc-backref" href="#id220" id="backup-copy" name="backup-copy">Backup Copy</a></h3>
+<h3><a class="toc-backref" href="#id221" id="backup-copy" name="backup-copy">Backup Copy</a></h3>
 <p>This plugin creates a backup copy of the current file in Geany when it is
 saved. You can specify the directory where the backup copy is saved and
 you can configure the automatically added extension in the configure dialog
@@ -5766,7 +5788,7 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id221" id="contributing-to-this-document" name="contributing-to-this-document">Contributing to this document</a></h1>
+<h1><a class="toc-backref" href="#id222" id="contributing-to-this-document" name="contributing-to-this-document">Contributing to this document</a></h1>
 <p>This document (<tt class="docutils literal"><span class="pre">geany.txt</span></tt>) is written in <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a>
 (or "reST"). The source file for it is located in Geany's <tt class="docutils literal"><span class="pre">doc</span></tt>
 subdirectory.  If you intend on making changes, you should grab the
@@ -5786,7 +5808,7 @@
 and Fedora systems.</p>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id222" id="scintilla-keyboard-commands" name="scintilla-keyboard-commands">Scintilla keyboard commands</a></h1>
+<h1><a class="toc-backref" href="#id223" id="scintilla-keyboard-commands" name="scintilla-keyboard-commands">Scintilla keyboard commands</a></h1>
 <p>Copyright © 1998, 2006 Neil Hodgson <neilh(at)scintilla(dot)org></p>
 <p>This appendix is distributed under the terms of the License for
 Scintilla and SciTE. A copy of this license can be found in the file
@@ -5795,7 +5817,7 @@
 Scintilla and SciTE</a>.</p>
 <p>20 June 2006</p>
 <div class="section">
-<h2><a class="toc-backref" href="#id223" id="keyboard-commands" name="keyboard-commands">Keyboard commands</a></h2>
+<h2><a class="toc-backref" href="#id224" id="keyboard-commands" name="keyboard-commands">Keyboard commands</a></h2>
 <p>Keyboard commands for Scintilla mostly follow common Windows and GTK+
 conventions. All move keys (arrows, page up/down, home and end)
 allows to extend or reduce the stream selection when holding the
@@ -5877,9 +5899,9 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id224" id="tips-and-tricks" name="tips-and-tricks">Tips and tricks</a></h1>
+<h1><a class="toc-backref" href="#id225" id="tips-and-tricks" name="tips-and-tricks">Tips and tricks</a></h1>
 <div class="section">
-<h2><a class="toc-backref" href="#id225" id="document-notebook" name="document-notebook">Document notebook</a></h2>
+<h2><a class="toc-backref" href="#id226" id="document-notebook" name="document-notebook">Document notebook</a></h2>
 <ul class="simple">
 <li>Double-click on empty space in the notebook tab bar to open a
 new document.</li>
@@ -5892,7 +5914,7 @@
 </ul>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id226" id="editor" name="editor">Editor</a></h2>
+<h2><a class="toc-backref" href="#id227" id="editor" name="editor">Editor</a></h2>
 <ul class="simple">
 <li>Alt-scroll wheel moves up/down a page.</li>
 <li>Ctrl-scroll wheel zooms in/out.</li>
@@ -5902,13 +5924,13 @@
 </ul>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id227" id="interface" name="interface">Interface</a></h2>
+<h2><a class="toc-backref" href="#id228" id="interface" name="interface">Interface</a></h2>
 <ul class="simple">
 <li>Double-click on a symbol-list group to expand or compact it.</li>
 </ul>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id228" id="gtk-related" name="gtk-related">GTK-related</a></h2>
+<h2><a class="toc-backref" href="#id229" id="gtk-related" name="gtk-related">GTK-related</a></h2>
 <ul class="simple">
 <li>Scrolling the mouse wheel over a notebook tab bar will switch
 notebook pages.</li>
@@ -5923,7 +5945,7 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id229" id="compile-time-options" name="compile-time-options">Compile-time options</a></h1>
+<h1><a class="toc-backref" href="#id230" id="compile-time-options" name="compile-time-options">Compile-time options</a></h1>
 <p>There are some options which can only be changed at compile time,
 and some options which are used as the default for configurable
 options. To change these options, edit the appropriate source file
@@ -5935,7 +5957,7 @@
 <p class="last">Most users should not need to change these options.</p>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id230" id="src-geany-h" name="src-geany-h">src/geany.h</a></h2>
+<h2><a class="toc-backref" href="#id231" id="src-geany-h" name="src-geany-h">src/geany.h</a></h2>
 <table border="1" class="docutils">
 <colgroup>
 <col width="33%" />
@@ -5992,7 +6014,7 @@
 </table>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id231" id="project-h" name="project-h">project.h</a></h2>
+<h2><a class="toc-backref" href="#id232" id="project-h" name="project-h">project.h</a></h2>
 <table border="1" class="docutils">
 <colgroup>
 <col width="33%" />
@@ -6017,7 +6039,7 @@
 </table>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id232" id="editor-h" name="editor-h">editor.h</a></h2>
+<h2><a class="toc-backref" href="#id233" id="editor-h" name="editor-h">editor.h</a></h2>
 <table border="1" class="docutils">
 <colgroup>
 <col width="33%" />
@@ -6043,7 +6065,7 @@
 </table>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id233" id="keyfile-c" name="keyfile-c">keyfile.c</a></h2>
+<h2><a class="toc-backref" href="#id234" id="keyfile-c" name="keyfile-c">keyfile.c</a></h2>
 <p>These are default settings that can be overridden in the <a class="reference" href="#preferences">Preferences</a> dialog.</p>
 <table border="1" class="docutils">
 <colgroup>
@@ -6124,7 +6146,7 @@
 </table>
 </div>
 <div class="section">
-<h2><a class="toc-backref" href="#id234" id="build-c" name="build-c">build.c</a></h2>
+<h2><a class="toc-backref" href="#id235" id="build-c" name="build-c">build.c</a></h2>
 <table border="1" class="docutils">
 <colgroup>
 <col width="33%" />
@@ -6169,7 +6191,7 @@
 </div>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id235" id="gnu-general-public-license" name="gnu-general-public-license">GNU General Public License</a></h1>
+<h1><a class="toc-backref" href="#id236" id="gnu-general-public-license" name="gnu-general-public-license">GNU General Public License</a></h1>
 <pre class="literal-block">
             GNU GENERAL PUBLIC LICENSE
                Version 2, June 1991
@@ -6514,7 +6536,7 @@
 </pre>
 </div>
 <div class="section">
-<h1><a class="toc-backref" href="#id236" id="license-for-scintilla-and-scite" name="license-for-scintilla-and-scite">License for Scintilla and SciTE</a></h1>
+<h1><a class="toc-backref" href="#id237" id="license-for-scintilla-and-scite" name="license-for-scintilla-and-scite">License for Scintilla and SciTE</a></h1>
 <p>Copyright 1998-2003 by Neil Hodgson <neilh(at)scintilla(dot)org></p>
 <p>All Rights Reserved</p>
 <p>Permission to use, copy, modify, and distribute this software and
@@ -6534,7 +6556,7 @@
 <div class="footer">
 <hr class="footer" />
 <a class="reference" href="geany.txt">View document source</a>.
-Generated on: 2011-04-26 16:36 UTC.
+Generated on: 2011-04-30 15:22 UTC.
 Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
 
 </div>

Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt	2011-04-30 15:09:07 UTC (rev 5749)
+++ trunk/doc/geany.txt	2011-04-30 15:25:09 UTC (rev 5750)
@@ -4276,6 +4276,27 @@
     [Extensions]
     Make=Makefile*;*.mk;Buildfile;
 
+Filetype group membership
+-------------------------
+Group membership is also stored in ``filetype_extensions.conf``. This
+file is used to store information Geany needs at startup, whereas the
+separate filetype definition files hold information only needed when
+a document with their filetype is used.
+
+The format looks like::
+
+    [Groups]
+    Programming=C;C++;
+    Script=Perl;Python;
+    Markup=HTML;XML;
+    Misc=Diff;Conf;
+    None=None;
+
+The key names cannot be configured.
+
+.. note::
+    Group membership is only read at startup.
+
 Preferences file format
 -----------------------
 


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



More information about the Commits mailing list