SF.net SVN: geany:[5641] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Mar 27 16:05:00 UTC 2011
Revision: 5641
http://geany.svn.sourceforge.net/geany/?rev=5641&view=rev
Author: eht16
Date: 2011-03-27 16:05:00 +0000 (Sun, 27 Mar 2011)
Log Message:
-----------
Add new keybinding 'Remove Markers and Error Indicators'.
Modified Paths:
--------------
trunk/ChangeLog
trunk/doc/geany.html
trunk/doc/geany.txt
trunk/src/keybindings.c
trunk/src/keybindings.h
trunk/src/plugindata.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/ChangeLog 2011-03-27 16:05:00 UTC (rev 5641)
@@ -4,6 +4,9 @@
wscript:
Initialize GLib's Gthread system early at startup in case any
plugins need it.
+ * src/keybindings.c, src/keybindings.h, src/plugindata.h,
+ doc/geany.txt, doc/geany.html:
+ Add new keybinding 'Remove Markers and Error Indicators'.
2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/doc/geany.html 2011-03-27 16:05:00 UTC (rev 5641)
@@ -6,7 +6,7 @@
<meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" />
<title>Geany</title>
<meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" />
-<meta name="date" content="$Date$" />
+<meta name="date" content="2011-03-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>$Date$</td></tr>
+<td>2011-03-26</td></tr>
<tr><th class="docinfo-name">Version:</th>
<td>0.21</td></tr>
</tbody>
@@ -4085,8 +4085,8 @@
<h4><a class="toc-backref" href="#id168">Document keybindings</a></h4>
<table border="1" class="docutils">
<colgroup>
-<col width="29%" />
-<col width="23%" />
+<col width="33%" />
+<col width="19%" />
<col width="48%" />
</colgroup>
<thead valign="bottom">
@@ -4140,6 +4140,11 @@
<td>Remove any error indicators in the
current document.</td>
</tr>
+<tr><td>Remove Markers and Error Indicators</td>
+<td> </td>
+<td>Combines <tt class="docutils literal">Remove Markers</tt> and
+<tt class="docutils literal">Remove Error Indicators</tt>.</td>
+</tr>
</tbody>
</table>
</div>
@@ -6487,7 +6492,7 @@
<div class="footer">
<hr class="footer" />
<a class="reference external" href="geany.txt">View document source</a>.
-Generated on: 2011-03-26 17:15 UTC.
+Generated on: 2011-03-27 16:02 UTC.
Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
Modified: trunk/doc/geany.txt
===================================================================
--- trunk/doc/geany.txt 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/doc/geany.txt 2011-03-27 16:05:00 UTC (rev 5641)
@@ -3444,9 +3444,9 @@
Document keybindings
````````````````````
-=============================== ========================= ==================================================
-Action Default shortcut Description
-=============================== ========================= ==================================================
+==================================== ==================== ==================================================
+Action Default shortcut Description
+==================================== ==================== ==================================================
Replace tabs by space Replaces all tabs with the right amount of spaces.
Replace spaces by tabs Replaces all spaces with tab characters.
@@ -3457,7 +3457,7 @@
Unfold all Unfolds all contracted code blocks.
-Reload symbol list Ctrl-Shift-R Reloads the tag/symbol list.
+Reload symbol list Ctrl-Shift-R Reloads the tag/symbol list.
Toggle Line wrapping Enables or disables wrapping of long lines.
@@ -3470,9 +3470,12 @@
Remove Error Indicators Remove any error indicators in the
current document.
-=============================== ========================= ==================================================
+Remove Markers and Error Indicators Combines ``Remove Markers`` and
+ ``Remove Error Indicators``.
+==================================== ==================== ==================================================
+
Build keybindings
`````````````````
=============================== ========================= ==================================================
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/src/keybindings.c 2011-03-27 16:05:00 UTC (rev 5641)
@@ -531,6 +531,8 @@
0, 0, "remove_markers", _("Remove Markers"), LW(remove_markers1));
keybindings_set_item(group, GEANY_KEYS_DOCUMENT_REMOVE_ERROR_INDICATORS, NULL,
0, 0, "remove_error_indicators", _("Remove Error Indicators"), LW(menu_remove_indicators1));
+ keybindings_set_item(group, GEANY_KEYS_DOCUMENT_REMOVE_MARKERS_INDICATORS, NULL,
+ 0, 0, "remove_markers_and_indicators", _("Remove Markers and Error Indicators"), NULL);
group = ADD_KB_GROUP(BUILD, _("Build"), cb_func_build_action);
@@ -2543,6 +2545,10 @@
case GEANY_KEYS_DOCUMENT_REMOVE_ERROR_INDICATORS:
on_menu_remove_indicators1_activate(NULL, NULL);
break;
+ case GEANY_KEYS_DOCUMENT_REMOVE_MARKERS_INDICATORS:
+ on_remove_markers1_activate(NULL, NULL);
+ on_menu_remove_indicators1_activate(NULL, NULL);
+ break;
}
return TRUE;
}
Modified: trunk/src/keybindings.h
===================================================================
--- trunk/src/keybindings.h 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/src/keybindings.h 2011-03-27 16:05:00 UTC (rev 5641)
@@ -238,6 +238,7 @@
GEANY_KEYS_GOTO_NEXTWORDPART, /**< Keybinding. */
GEANY_KEYS_INSERT_LINEAFTER, /**< Keybinding. */
GEANY_KEYS_INSERT_LINEBEFORE, /**< Keybinding. */
+ GEANY_KEYS_DOCUMENT_REMOVE_MARKERS_INDICATORS, /**< Keybinding. */
GEANY_KEYS_COUNT /* must not be used by plugins */
};
Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h 2011-03-27 16:02:34 UTC (rev 5640)
+++ trunk/src/plugindata.h 2011-03-27 16:05:00 UTC (rev 5641)
@@ -54,7 +54,7 @@
* @warning You should not test for values below 200 as previously
* @c GEANY_API_VERSION was defined as an enum value, not a macro.
*/
-#define GEANY_API_VERSION 202
+#define GEANY_API_VERSION 203
/** The Application Binary Interface (ABI) version, incremented whenever
* existing fields in the plugin data types have to be changed or reordered.
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