*** empty log message ***
authorgc <gc>
Sun, 5 Jun 2005 20:17:58 +0000 (20:17 +0000)
committergc <gc>
Sun, 5 Jun 2005 20:17:58 +0000 (20:17 +0000)
bin/booh

index c558219b7c9c5c3ca97a535793b4c29b886d1272..dd95b68cf6840b706b65c23d5f3b591ae8605ea7 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -288,7 +288,7 @@ def create_editzone(scrolledwindow, pagenum, image)
             candidate_undo_text = nil
         end
 
-        if ![Gdk::Keyval::GDK_Page_Up, Gdk::Keyval::GDK_Page_Down, Gdk::Keyval::GDK_Up, Gdk::Keyval::GDK_Down].include?(event.keyval)
+        if event.state != 0 || ![Gdk::Keyval::GDK_Page_Up, Gdk::Keyval::GDK_Page_Down, Gdk::Keyval::GDK_Up, Gdk::Keyval::GDK_Down].include?(event.keyval)
             #- autoscroll if cursor or image is not visible
             ypos_top = (image && image.window) ? image.window.position[1] : textview.window.position[1]
             ypos_bottom = max(textview.window.position[1] + textview.window.size[1], image && image.window ? image.window.position[1] + image.window.size[1] : -1)