SF.net SVN: geany:[3063] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Oct 10 15:18:36 UTC 2008


Revision: 3063
          http://geany.svn.sourceforge.net/geany/?rev=3063&view=rev
Author:   eht16
Date:     2008-10-10 15:18:36 +0000 (Fri, 10 Oct 2008)

Log Message:
-----------
Fix Ctrl-click on a word when Numpad is enabled.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/editor.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-10-10 15:05:09 UTC (rev 3062)
+++ trunk/ChangeLog	2008-10-10 15:18:36 UTC (rev 3063)
@@ -1,3 +1,9 @@
+2008-10-10  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/editor.c:
+   Fix Ctrl-click on a word when Numpad is enabled.
+
+
 2008-10-08  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * plugins/splitwindow.c:

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2008-10-10 15:05:09 UTC (rev 3062)
+++ trunk/src/editor.c	2008-10-10 15:18:36 UTC (rev 3063)
@@ -198,7 +198,7 @@
 			gint ss = sci_get_selection_start(doc->editor->sci);
 			sci_set_selection_end(doc->editor->sci, ss);
 		}
-		if (event->type == GDK_BUTTON_PRESS && event->state == GDK_CONTROL_MASK)
+		if (event->type == GDK_BUTTON_PRESS && event->state & GDK_CONTROL_MASK)
 		{
 			sci_set_current_position(sci, editor_info.click_pos, FALSE);
 			keybindings_send_command(GEANY_KEY_GROUP_GOTO, GEANY_KEYS_GOTO_TAGDEFINITION);


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