SF.net SVN: geany:[4347] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Oct 20 16:59:00 UTC 2009


Revision: 4347
          http://geany.svn.sourceforge.net/geany/?rev=4347&view=rev
Author:   ntrel
Date:     2009-10-20 16:59:00 +0000 (Tue, 20 Oct 2009)

Log Message:
-----------
Add 'Switch to Messages' focus keybinding.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/doc/geany.html
    trunk/doc/geany.txt
    trunk/src/keybindings.c
    trunk/src/keybindings.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-10-20 16:01:07 UTC (rev 4346)
+++ trunk/ChangeLog	2009-10-20 16:59:00 UTC (rev 4347)
@@ -10,6 +10,8 @@
    like before.
  * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
    Add 'Select to previous/next word part' keybindings.
+ * src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
+   Add 'Switch to Messages' focus keybinding.
 
 
 2009-10-19  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/doc/geany.html
===================================================================
--- trunk/doc/geany.html	2009-10-20 16:01:07 UTC (rev 4346)
+++ trunk/doc/geany.html	2009-10-20 16:59:00 UTC (rev 4347)
@@ -3719,6 +3719,10 @@
 <td> </td>
 <td>Focus the Compiler message window tab.</td>
 </tr>
+<tr><td>Switch to Messages</td>
+<td> </td>
+<td>Focus the Messages message window tab.</td>
+</tr>
 </tbody>
 </table>
 </div>
@@ -5788,7 +5792,7 @@
 <div class="footer">
 <hr class="footer" />
 <a class="reference" href="geany.txt">View document source</a>.
-Generated on: 2009-10-20 15:55 UTC.
+Generated on: 2009-10-20 16:54 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	2009-10-20 16:01:07 UTC (rev 4346)
+++ trunk/doc/geany.txt	2009-10-20 16:59:00 UTC (rev 4347)
@@ -3175,6 +3175,8 @@
 Switch to Sidebar                                         Focus the Sidebar.
 
 Switch to Compiler                                        Focus the Compiler message window tab.
+
+Switch to Messages                                        Focus the Messages message window tab.
 =============================== ========================= ==================================================
 
 

Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c	2009-10-20 16:01:07 UTC (rev 4346)
+++ trunk/src/keybindings.c	2009-10-20 16:59:00 UTC (rev 4347)
@@ -460,6 +460,8 @@
 		0, 0, "switch_sidebar", _("Switch to Sidebar"), NULL);
 	keybindings_set_item(group, GEANY_KEYS_FOCUS_COMPILER, NULL,
 		0, 0, "switch_compiler", _("Switch to Compiler"), NULL);
+	keybindings_set_item(group, GEANY_KEYS_FOCUS_MESSAGES, NULL,
+		0, 0, "switch_messages", _("Switch to Messages"), NULL);
 
 	group = ADD_KB_GROUP(NOTEBOOK, _("Notebook tab"), NULL);
 
@@ -1564,6 +1566,9 @@
 		case GEANY_KEYS_FOCUS_COMPILER:
 			msgwin_switch_tab(MSG_COMPILER, TRUE);
 			break;
+		case GEANY_KEYS_FOCUS_MESSAGES:
+			msgwin_switch_tab(MSG_MESSAGE, TRUE);
+			break;
 	}
 	return TRUE;
 }

Modified: trunk/src/keybindings.h
===================================================================
--- trunk/src/keybindings.h	2009-10-20 16:01:07 UTC (rev 4346)
+++ trunk/src/keybindings.h	2009-10-20 16:59:00 UTC (rev 4347)
@@ -270,6 +270,7 @@
 	GEANY_KEYS_FOCUS_SEARCHBAR,
 	GEANY_KEYS_FOCUS_SIDEBAR,
 	GEANY_KEYS_FOCUS_COMPILER,
+	GEANY_KEYS_FOCUS_MESSAGES,
 	GEANY_KEYS_FOCUS_COUNT
 };
 


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