diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2012-01-03 17:31:54 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2012-01-03 17:44:04 +0400 |
commit | 4cc54b83c4cd54755b50812096a602db968c071c (patch) | |
tree | e8de7d9f8570c63bd05708d09f4ce51b3cf91335 | |
parent | cd9643bed9c54c42c304a5dd8d60a425671814fd (diff) |
Fixed "Bug 2639 - No keys / commands to scroll page up/down and move
caret at the same time ".
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs index f6719bf833..129c282140 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/SimpleEditMode.cs @@ -348,6 +348,14 @@ namespace Mono.TextEditor keyBindings.Add (GetKeyCode (Gdk.Key.KP_Page_Up), action); keyBindings.Add (GetKeyCode (Gdk.Key.Page_Up), action); + action = CaretMoveActions.PageDown; + keyBindings.Add (GetKeyCode (Gdk.Key.KP_Page_Down, Gdk.ModifierType.Mod1Mask), action); + keyBindings.Add (GetKeyCode (Gdk.Key.Page_Down, Gdk.ModifierType.Mod1Mask), action); + + action = CaretMoveActions.PageUp; + keyBindings.Add (GetKeyCode (Gdk.Key.KP_Page_Up, Gdk.ModifierType.Mod1Mask), action); + keyBindings.Add (GetKeyCode (Gdk.Key.Page_Up, Gdk.ModifierType.Mod1Mask), action); + action = SelectionActions.MovePageUp; keyBindings.Add (GetKeyCode (Gdk.Key.KP_Page_Up, Gdk.ModifierType.ShiftMask), action); keyBindings.Add (GetKeyCode (Gdk.Key.Page_Up, Gdk.ModifierType.ShiftMask), action); |