Kaydet (Commit) c8c19697 authored tarafından Nick Treleaven's avatar Nick Treleaven

Change 'Non-Filetype Commands' to 'Independent Commands' in the Set

Build Commands dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5411 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 7e932527
2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, doc/geany.txt, doc/geany.html:
Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
Build Commands dialog.
2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
......
......@@ -2895,28 +2895,21 @@ you can also change the label to match.</p>
<p>These settings are saved automatically when Geany is shut down.</p>
<p>The build menu is divided into four groups of items each with different
behaviors:</p>
<ul>
<li><p class="first">File items - are configurable and depend on the filetype of the current
<ul class="simple">
<li>Filetype items - are configurable and depend on the filetype of the current
document; they capture output in the compiler tab and parse it for
errors.</p>
</li>
<li><p class="first">Non-file items - are configurable and mostly don't depend on the filetype
of the current document; they also capture output in the compiler tab and
parse it for errors.</p>
</li>
<li><p class="first">Execute items - are configurable and intended for executing your
errors.</li>
<li>Filetype-independent items - are configurable and mostly don't depend on the
filetype of the current document; they also capture output in the
compiler tab and parse it for errors.</li>
<li>Execute items - are configurable and intended for executing your
program or other long running programs. The output is not parsed for errors
and is directed to the terminal selected in preferences.</p>
</li>
<li><dl class="first docutils">
<dt>Fixed items - these perform built-in actions:</dt>
<dd><ul class="first last simple">
and is directed to the terminal selected in preferences.</li>
<li>Fixed items - these perform built-in actions:<ul>
<li>Go to the next error.</li>
<li>Go to the previous error.</li>
<li>Show the build menu commands dialog.</li>
</ul>
</dd>
</dl>
</li>
</ul>
<p>The maximum numbers of items in each of the configurable groups can be
......@@ -2971,7 +2964,8 @@ preferences left.</p>
</td>
<td>None</td>
</tr>
<tr><td>Non-Filetype</td>
<tr><td>Filetype
Independent</td>
<td><p class="first">Loads From: project
file</p>
<p class="last">Saves To: project
......@@ -3040,11 +3034,11 @@ filetype file so that users can configure all other filetype preferences
as well. Projects can only configure menu items per filetype. Saving
in the project file means that there is only one file per project not
a whole directory.</li>
<li>(Non-Filetype, System Filetype) - although conceptually strange, defining
non-filetype commands in a filetype file, this provides the ability to
<li>(Filetype-Independent, System Filetype) - although conceptually strange, defining
filetype-independent commands in a filetype file, this provides the ability to
define filetype dependent default menu items.</li>
<li>(Execute, Project File) and (Execute, Preferences) - the project filetype based execute
configuration and preferences non-filetype based execute can only be set by hand editing the
<li>(Execute, Project File) and (Execute, Preferences) - the project filetype-based
execute and preferences independent execute can only be set by hand editing the
appropriate file, see <a class="reference" href="#preferences-file-format">Preferences File Format</a> and <a class="reference" href="#project-file-format">Project File Format</a>.</li>
</ul>
</div>
......@@ -3060,10 +3054,10 @@ dialog. Both use the same form shown below.</p>
<ul class="simple">
<li>Filetype menu items which will be selected based on the filetype of the
currently open document.</li>
<li>Non-filetype menu items.</li>
<li>Filetype-independent menu items.</li>
<li>Execute menu items.</li>
</ul>
<p>The filetype and non-filetype sections also each contain a field for the regular
<p>The filetype and independent sections also each contain a field for the regular
expression used for parsing command output for error and warning messages.</p>
<p>The columns in the first three sections allow setting of the label, command,
and working directory to run the command in.</p>
......@@ -3105,7 +3099,7 @@ build menu.</p>
<div class="section">
<h4><a class="toc-backref" href="#id147" id="build-menu-keyboard-shortcuts" name="build-menu-keyboard-shortcuts">Build Menu Keyboard Shortcuts</a></h4>
<p>Keyboard shortcuts can be defined for the first two filetype menu items, the first three
non-filetype menu items, the first two execute menu items and the fixed menu items.
independent menu items, the first two execute menu items and the fixed menu items.
In the keybindings configuration dialog (see <a class="reference" href="#keybinding-preferences">Keybinding preferences</a>)
these items are identified by the default labels shown in the <a class="reference" href="#build-menu">Build Menu</a> section above.</p>
<p>It is currently not possible to bind keyboard shortcuts to more than these menu items.</p>
......@@ -4970,7 +4964,7 @@ filetype section of the Build menu.</td>
</tr>
<tr><td>number_non_ft_menu_items</td>
<td>The maximum number of menu items in the
non-filetype section of the Build menu.</td>
independent section of the Build menu.</td>
<td>3</td>
</tr>
<tr><td>number_exec_menu_items</td>
......@@ -4998,7 +4992,7 @@ is configured. The keys for these settings have the format:</p>
<ul class="simple">
<li>GG - is the menu item group,<ul>
<li>FT for filetype</li>
<li>NF for non-filetype</li>
<li>NF for independent (non-filetype)</li>
<li>EX for execute</li>
</ul>
</li>
......@@ -6359,7 +6353,7 @@ USE OR PERFORMANCE OF THIS SOFTWARE.</p>
<div class="footer">
<hr class="footer" />
<a class="reference" href="geany.txt">View document source</a>.
Generated on: 2010-11-15 15:13 UTC.
Generated on: 2010-11-17 15:28 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>
......
......@@ -2663,19 +2663,20 @@ These settings are saved automatically when Geany is shut down.
The build menu is divided into four groups of items each with different
behaviors:
* File items - are configurable and depend on the filetype of the current
* Filetype items - are configurable and depend on the filetype of the current
document; they capture output in the compiler tab and parse it for
errors.
* Non-file items - are configurable and mostly don't depend on the filetype
of the current document; they also capture output in the compiler tab and
parse it for errors.
* Filetype-independent items - are configurable and mostly don't depend on the
filetype of the current document; they also capture output in the
compiler tab and parse it for errors.
* Execute items - are configurable and intended for executing your
program or other long running programs. The output is not parsed for errors
and is directed to the terminal selected in preferences.
* Fixed items - these perform built-in actions:
* Go to the next error.
* Go to the previous error.
* Show the build menu commands dialog.
* Go to the next error.
* Go to the previous error.
* Show the build menu commands dialog.
The maximum numbers of items in each of the configurable groups can be
configured when Geany starts using hidden settings (see `Preferences File Format`_).
......@@ -2704,8 +2705,8 @@ is shown in the following table.
| | file | Saves to: as above, | Saves to: as user | |
| | | creating if needed. | preferences left. | |
+--------------+---------------------+--------------------------+-------------------+-------------------------------+
| Non-Filetype | Loads From: project | Loads From: | Loads From: | 1: |
| | file | geany.conf file in | filetype.xxx in | Label: _Make |
| Filetype | Loads From: project | Loads From: | Loads From: | 1: |
| Independent | file | geany.conf file in | filetype.xxx in | Label: _Make |
| | | ~/.config/geany | Geany install | Command: make |
| | Saves To: project | | | |
| | file | Saves to: as above, | Saves to: as user | 2: |
......@@ -2741,12 +2742,12 @@ The following notes on the table reference cells by coordinate as (group,source)
in the project file means that there is only one file per project not
a whole directory.
* (Non-Filetype, System Filetype) - although conceptually strange, defining
non-filetype commands in a filetype file, this provides the ability to
* (Filetype-Independent, System Filetype) - although conceptually strange, defining
filetype-independent commands in a filetype file, this provides the ability to
define filetype dependent default menu items.
* (Execute, Project File) and (Execute, Preferences) - the project filetype based execute
configuration and preferences non-filetype based execute can only be set by hand editing the
* (Execute, Project File) and (Execute, Preferences) - the project filetype-based
execute and preferences independent execute can only be set by hand editing the
appropriate file, see `Preferences File Format`_ and `Project File Format`_.
Build Menu Commands Dialog
......@@ -2764,10 +2765,10 @@ The dialog is divided into three sections:
* Filetype menu items which will be selected based on the filetype of the
currently open document.
* Non-filetype menu items.
* Filetype-independent menu items.
* Execute menu items.
The filetype and non-filetype sections also each contain a field for the regular
The filetype and independent sections also each contain a field for the regular
expression used for parsing command output for error and warning messages.
The columns in the first three sections allow setting of the label, command,
......@@ -2816,7 +2817,7 @@ Build Menu Keyboard Shortcuts
`````````````````````````````
Keyboard shortcuts can be defined for the first two filetype menu items, the first three
non-filetype menu items, the first two execute menu items and the fixed menu items.
independent menu items, the first two execute menu items and the fixed menu items.
In the keybindings configuration dialog (see `Keybinding preferences`_)
these items are identified by the default labels shown in the `Build Menu`_ section above.
......@@ -4217,7 +4218,7 @@ find_selection_type See `Find selection`_. 0
number_ft_menu_items The maximum number of menu items in the 2
filetype section of the Build menu.
number_non_ft_menu_items The maximum number of menu items in the 3
non-filetype section of the Build menu.
independent section of the Build menu.
number_exec_menu_items The maximum number of menu items in the 2
execute section of the Build menu.
================================ =========================================== ==================
......@@ -4243,7 +4244,7 @@ where:
* GG - is the menu item group,
- FT for filetype
- NF for non-filetype
- NF for independent (non-filetype)
- EX for execute
* NN - is a two decimal digit number of the item within the group,
......
......@@ -2005,7 +2005,7 @@ GtkWidget *build_commands_table(GeanyDocument *doc, GeanyBuildSource dst, BuildT
gtk_table_attach(table, sep, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, sep_padding);
++row;
label = ui_label_new_bold(_("Non-Filetype Commands"));
label = ui_label_new_bold(_("Independent Commands"));
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.5);
gtk_table_attach(table, label, 0, DC_N_COL, row, row + 1, GTK_FILL, GTK_FILL | GTK_EXPAND,
entry_x_padding, entry_y_padding);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment