SF.net SVN: geany:[4827] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Apr 17 14:55:14 UTC 2010


Revision: 4827
          http://geany.svn.sourceforge.net/geany/?rev=4827&view=rev
Author:   eht16
Date:     2010-04-17 14:55:14 +0000 (Sat, 17 Apr 2010)

Log Message:
-----------
Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
Add missing documentation for 'Reset Zoom' keybinding.

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	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/ChangeLog	2010-04-17 14:55:14 UTC (rev 4827)
@@ -4,6 +4,10 @@
    Remove duplicate code from Txt2Tags parser.
    Remove the title control characters ('=') when parsing titles.
    Also parse numbered titles (closes #2984703).
+ * doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
+   src/plugindata.h:
+   Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
+   Add missing documentation for 'Reset Zoom' keybinding.
 
 
 2010-04-11  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/doc/geany.html	2010-04-17 14:55:14 UTC (rev 4827)
@@ -6,7 +6,7 @@
 <meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" />
 <title>Geany</title>
 <meta name="authors" content="Enrico Tröger  Nick Treleaven  Frank Lanitz" />
-<meta name="date" content="2010-04-11" />
+<meta name="date" content="2010-04-12" />
 <style type="text/css">
 
 /*
@@ -139,7 +139,7 @@
 <br />Nick Treleaven
 <br />Frank Lanitz</td></tr>
 <tr><th class="docinfo-name">Date:</th>
-<td>2010-04-11</td></tr>
+<td>2010-04-12</td></tr>
 <tr><th class="docinfo-name">Version:</th>
 <td>0.19</td></tr>
 </tbody>
@@ -3764,6 +3764,10 @@
 <td>Ctrl--  (C)</td>
 <td>Zooms out the text</td>
 </tr>
+<tr><td>Zoom Reset</td>
+<td>Ctrl-0</td>
+<td>Reset any previously zoom on the text</td>
+</tr>
 </tbody>
 </table>
 </div>
@@ -3932,6 +3936,17 @@
 <td>Enables or disables automatic breaking of long
 lines at a configurable column.</td>
 </tr>
+<tr><td>Remove Markers</td>
+<td> </td>
+<td>Remove any markers on lines or words which
+were set by using 'Mark All' in the
+search dialog or by manually marking lines.</td>
+</tr>
+<tr><td>Remove Error Indicators</td>
+<td> </td>
+<td>Remove any error indicators in the
+current document.</td>
+</tr>
 </tbody>
 </table>
 </div>
@@ -5971,7 +5986,7 @@
 <div class="footer">
 <hr class="footer" />
 <a class="reference external" href="geany.txt">View document source</a>.
-Generated on: 2010-04-12 17:47 UTC.
+Generated on: 2010-04-17 14:52 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	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/doc/geany.txt	2010-04-17 14:55:14 UTC (rev 4827)
@@ -3228,6 +3228,8 @@
 Zoom In                         Ctrl-+  (C)               Zooms in the text
 
 Zoom Out                        Ctrl--  (C)               Zooms out the text
+
+Zoom Reset                      Ctrl-0                    Reset any previously zoom on the text
 =============================== ========================= ==================================================
 
 Focus keybindings
@@ -3312,6 +3314,13 @@
 
 Toggle Line breaking                                      Enables or disables automatic breaking of long
                                                           lines at a configurable column.
+
+Remove Markers                                            Remove any markers on lines or words which
+                                                          were set by using 'Mark All' in the
+                                                          search dialog or by manually marking lines.
+
+Remove Error Indicators                                   Remove any error indicators in the
+                                                          current document.
 =============================== ========================= ==================================================
 
 

Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/src/keybindings.c	2010-04-17 14:55:14 UTC (rev 4827)
@@ -529,6 +529,10 @@
 		0, 0, "menu_unfoldall", _("Unfold all"), LW(menu_unfold_all1));
 	keybindings_set_item(group, GEANY_KEYS_DOCUMENT_RELOADTAGLIST, NULL,
 		GDK_r, GDK_SHIFT_MASK | GDK_CONTROL_MASK, "reloadtaglist", _("Reload symbol list"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_DOCUMENT_REMOVE_MARKERS, NULL,
+		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));
 
 	group = ADD_KB_GROUP(BUILD, _("Build"), cb_func_build_action);
 
@@ -2542,6 +2546,12 @@
 				editor_toggle_fold(doc->editor, line, 0);
 				break;
 			}
+		case GEANY_KEYS_DOCUMENT_REMOVE_MARKERS:
+			on_remove_markers1_activate(NULL, NULL);
+			break;
+		case GEANY_KEYS_DOCUMENT_REMOVE_ERROR_INDICATORS:
+			on_menu_remove_indicators1_activate(NULL, NULL);
+			break;
 	}
 	return TRUE;
 }

Modified: trunk/src/keybindings.h
===================================================================
--- trunk/src/keybindings.h	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/src/keybindings.h	2010-04-17 14:55:14 UTC (rev 4827)
@@ -302,6 +302,8 @@
 	GEANY_KEYS_DOCUMENT_RELOADTAGLIST,		/**< Keybinding. */
 	GEANY_KEYS_DOCUMENT_LINEWRAP,			/**< Keybinding. */
 	GEANY_KEYS_DOCUMENT_LINEBREAK,			/**< Keybinding. */
+	GEANY_KEYS_DOCUMENT_REMOVE_MARKERS,		/**< Keybinding. */
+	GEANY_KEYS_DOCUMENT_REMOVE_ERROR_INDICATORS,	/**< Keybinding. */
 	GEANY_KEYS_DOCUMENT_COUNT
 };
 

Modified: trunk/src/plugindata.h
===================================================================
--- trunk/src/plugindata.h	2010-04-17 14:34:41 UTC (rev 4826)
+++ trunk/src/plugindata.h	2010-04-17 14:55:14 UTC (rev 4827)
@@ -50,7 +50,7 @@
 enum {
 	/** The Application Programming Interface (API) version, incremented
 	 * whenever any plugin data types are modified or appended to. */
-	GEANY_API_VERSION = 182,
+	GEANY_API_VERSION = 183,
 
 	/** 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