source: trunk/aux/cocotron/win32/cocotron/AppKit.framework/Resources/StandardKeyBindings.keybindings @ 14465

Last change on this file since 14465 was 14465, checked in by rme, 9 years ago

Cocotron libraries built from 4cbbe41637f2 plus our patch.

  • Property svn:executable set to *
File size: 3.2 KB
Line 
1{
2        /* let's try this format! (Apple is using a gigantic XML database...) */
3        "0x0008" = "deleteBackward:";                   /* (backspace? heh) */
4        "0x001B" = "cancel:";                           /* Escape */
5        "0x0009" = "insertTab:";
6        "shift,0x0009" = "insertBacktab:";
7        "0x000A" = "insertNewline:";
8        "0x000D" = "insertNewline:";
9        "0x0020" = "performClick:";                     /* for NSButton in switch mode.. */
10
11        "keypad,0xF700" = "moveUp:";                    /* NSUpArrowFunctionKey */
12        "keypad,0xF701" = "moveDown:";                  /* NSDownArrowFunctionKey */
13        "shift,keypad,0xF700" = "moveUpAndModifySelection:";
14        "shift,keypad,0xF701" = "moveDownAndModifySelection:";
15
16        "keypad,0xF702" = "moveLeft:";          /* NSLeftArrowFunctionKey */
17        "keypad,0xF703" = "moveRight:";         /* NSRightArrowFunctionKey */
18        "shift,keypad,0xF702" = "moveBackwardAndModifySelection:";
19        "shift,keypad,0xF703" = "moveForwardAndModifySelection:";
20
21        "command,keypad,0xF702" = "moveWordBackward:";
22        "command,keypad,0xF703" = "moveWordForward:";
23        "command,shift,keypad,0xF702" = "moveWordBackwardAndModifySelection:";
24        "command,shift,keypad,0xF703" = "moveWordForwardAndModifySelection:";
25
26        "alt,keypad,0xF702" = "moveToBeginningOfLine:";
27        "alt,keypad,0xF703" = "moveToEndOfLine:";
28        "shift,alt,keypad,0xF702" = "moveToBeginningOfLineAndModifySelection:";
29        "shift,alt,keypad,0xF703" = "moveToEndOfLineAndModifySelection:";
30
31        /* i'm running out of keys on my keyboard! */
32        "keypad,0xF728" = "deleteForward:";                     /* NSDeleteFunctionKey */
33        "command,keypad,0xF728" = "deleteWordForward:";
34        "alt,0x0008" = "deleteWordBackward:";                   /* command + 0x0008 produces 0x007F */
35        "alt,shift,0x0008" = "deleteToBeginningOfLine:";
36        "alt,keypad,0xF728" = "deleteToEndOfLine:";
37        "command,0x0004" = "deleteToBeginningOfParagraph:";     /* control-d */
38        "command,shift,keypad,0xF728" = "deleteToEndOfParagraph:";
39
40        "keypad,0xF729" = "moveToBeginningOfParagraph:";        /* NSHomeFunctionKey */
41        "shift,keypad,0xF729" = "moveParagraphBackwardAndModifySelection:";
42        "keypad,0xF72B" = "moveToEndOfParagraph:";                      /* NSEndFunctionKey */
43        "shift,keypad,0xF72B" = "moveParagraphForwardAndModifySelection:";
44
45        "keypad,0xF72C" = "pageUp:";                    /* NSPageUpFunctionKey */
46        "keypad,0xF72D" = "pageDown:";                  /* NSPageDownFunctionKey */
47        "command,keypad,0xF72C" = "scrollPageUp:";
48        "command,keypad,0xF72D" = "scrollPageDown:";
49        "shift,keypad,0xF72C" = "pageUpAndModifySelection:";
50        "shift,keypad,0xF72D" = "pageDownAndModifySelection:";
51
52        "command,keypad,0xF729" = "moveToBeginningOfDocument:";
53        "command,keypad,0xF72B" = "moveToEndOfDocument:";
54        "control,keypad,0xF729" = "scrollToBeginningOfDocument:";
55        "control,keypad,0xF72B" = "scrollToEndOfDocument:";
56        "command,shift,keypad,0xF729" = "moveToBeginningOfDocumentAndModifySelection:";
57        "command,shift,keypad,0xF72B" = "moveToEndOfDocumentAndModifySelection:";
58
59        /* hmm. command + { - } produces no codes? these are menu keyEquivs anyway,just bound for testing */
60        "alt,shift,0x007b" = "alignLeft:";                      /* { */
61        "alt,0x002d" = "alignCenter:";                          /* - */
62        "alt,shift,0x007d" = "alignRight:";                     /* } */
63
64        "alt,0x0075" = "underline:";                            /* u */
65
66        /* kill buffer! */
67        "command,0x0019" = "yank:";                             /* control-y */
68
69        /* transposition */
70        "alt,0x0071" = "transpose:";                            /* q */
71        "alt,0x0077" = "transposeWords:";                       /* w */
72
73        /* completion */
74        "0xF704" = "complete:";                                 /* F1 */
75}
Note: See TracBrowser for help on using the repository browser.