Use tab for page down
authorPeng Huang <shawn.p.huang@gmail.com>
Mon, 19 Apr 2010 06:52:07 +0000 (14:52 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Mon, 19 Apr 2010 06:52:07 +0000 (14:52 +0800)
src/PinyinEditor.cc
src/String.h

index 8190950..a8fbe20 100644 (file)
@@ -237,6 +237,7 @@ PinyinEditor::processOthers (guint keyval, guint keycode, guint modifiers)
 
         case IBUS_Page_Down:
         case IBUS_KP_Page_Down:
+        case IBUS_Tab:
             pageDown (); break;
 
         case IBUS_Escape:
index 1df2799..187dcce 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef __PY_STRING_H_
 #define __PY_STRING_H_
+
 #include <glib.h>
 #include <stdarg.h>
 #include <string>
 
-
 namespace PY {
 
 class String : public std::string {