SF.net SVN: geany: [2716] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Thu Jun 19 17:42:42 UTC 2008


Revision: 2716
          http://geany.svn.sourceforge.net/geany/?rev=2716&view=rev
Author:   eht16
Date:     2008-06-19 10:42:40 -0700 (Thu, 19 Jun 2008)

Log Message:
-----------
Scroll by page only when Alt key is held to avoid possible conflicts.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-06-19 17:37:26 UTC (rev 2715)
+++ trunk/ChangeLog	2008-06-19 17:42:40 UTC (rev 2716)
@@ -23,6 +23,8 @@
  * src/msgwindow.c:
    Add "Copy All" to the popup menu of the Status, Compiler and Messages
    treeviews to copy all items to the clipboard.
+ * src/editor.c:
+   Scroll by page only when Alt key is held to avoid possible conflicts.
 
 
 2008-06-18  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2008-06-19 17:37:26 UTC (rev 2715)
+++ trunk/src/editor.c	2008-06-19 17:42:40 UTC (rev 2716)
@@ -3329,7 +3329,7 @@
 {
 	/* Handle scroll events if Shift or Alt is pressed and scroll whole pages instead of a
 	 * few lines only, maybe this could/should be done in Scintilla directly */
-	if (event->state & (GDK_MOD1_MASK | GDK_SHIFT_MASK))
+	if (event->state & GDK_MOD1_MASK)
 	{
 		GeanyDocument *doc = user_data;
 		sci_cmd(doc->sci, (event->direction == GDK_SCROLL_DOWN) ? SCI_PAGEDOWN : SCI_PAGEUP);


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