1 # A keybinding set for testing GtkKeyBindingsHandler.
2 # chrome/browser/render_host/gtk_key_bindings_handler_unittest.cc and this
3 # file must be kept in sync.
4 # This file covers all key bindings supported by GtkKeyBindingsHandler.
6 binding "gtk-key-bindings-handler"
10 "move-cursor" (logical-positions, -2, 0)
11 "move-cursor" (logical-positions, 2, 0)
12 "move-cursor" (visual-positions, -1, 1)
13 "move-cursor" (visual-positions, 1, 1)
14 "move-cursor" (words, -1, 0)
15 "move-cursor" (words, 1, 0)
16 "move-cursor" (display-lines, -1, 0)
17 "move-cursor" (display-lines, 1, 0)
18 "move-cursor" (display-line-ends, -1, 0)
19 "move-cursor" (display-line-ends, 1, 0)
20 "move-cursor" (paragraph-ends, -1, 0)
21 "move-cursor" (paragraph-ends, 1, 0)
22 "move-cursor" (pages, -1, 0)
23 "move-cursor" (pages, 1, 0)
24 "move-cursor" (buffer-ends, -1, 0)
25 "move-cursor" (buffer-ends, 1, 0)
28 # Test "delete-from-cursor"
30 "delete-from-cursor" (chars, -2)
31 "delete-from-cursor" (chars, 2)
32 "delete-from-cursor" (word-ends, -1)
33 "delete-from-cursor" (word-ends, 1)
34 "delete-from-cursor" (words, -1)
35 "delete-from-cursor" (words, 1)
36 "delete-from-cursor" (display-lines, -1)
37 "delete-from-cursor" (display-lines, 1)
38 "delete-from-cursor" (display-line-ends, -1)
39 "delete-from-cursor" (display-line-ends, 1)
40 "delete-from-cursor" (paragraph-ends, -1)
41 "delete-from-cursor" (paragraph-ends, 1)
42 "delete-from-cursor" (paragraphs, -1)
43 "delete-from-cursor" (paragraphs, 1)
61 # Test insert-at-cursor
63 "insert-at-cursor" ("hello")
66 # Test paste-clipboard
83 class "GtkTextView" binding "gtk-key-bindings-handler"