remove calltip_ignore_arg.patch
[nedit-bw.git] / tab_detach_move_keys.patch
blob3bddf164bfe4f0c0ce3c6fc3cace199130d685b5
1 ---
3 doc/help.etx | 11 ++++++++---
4 source/menu.c | 2 +-
5 source/nedit.c | 4 ++++
6 3 files changed, 13 insertions(+), 4 deletions(-)
8 diff --quilt old/source/menu.c new/source/menu.c
9 --- old/source/menu.c
10 +++ new/source/menu.c
11 @@ -1270,11 +1270,11 @@ Widget CreateMenuBar(Widget parent, Wind
12 XtVaSetValues(window->closePaneItem, XmNuserData, PERMANENT_MENU_ITEM,NULL);
13 XtSetSensitive(window->closePaneItem, False);
15 btn = createMenuSeparator(menuPane, "sep01", SHORT);
16 XtVaSetValues(btn, XmNuserData, PERMANENT_MENU_ITEM, NULL);
17 - window->detachDocumentItem = createMenuItem(menuPane, "detachBuffer",
18 + window->detachDocumentItem = createMenuItem(menuPane, "detachDocument",
19 "Detach Tab", 'D', doActionCB, "detach_document", SHORT);
20 XtSetSensitive(window->detachDocumentItem, False);
22 window->moveDocumentItem = createMenuItem(menuPane, "moveDocument",
23 "Move Tab To...", 'M', doActionCB, "move_document_dialog", SHORT);
24 diff --quilt old/source/nedit.c new/source/nedit.c
25 --- old/source/nedit.c
26 +++ new/source/nedit.c
27 @@ -352,10 +352,14 @@ static char *fallbackResources[] = {
28 "*windowsMenu.mnemonic: W",
29 "*windowsMenu.splitPane.accelerator: Ctrl<Key>2",
30 "*windowsMenu.splitPane.acceleratorText: Ctrl+2",
31 "*windowsMenu.closePane.accelerator: Ctrl<Key>1",
32 "*windowsMenu.closePane.acceleratorText: Ctrl+1",
33 + "*windowsMenu.detachDocument.accelerator: Alt<Key>Delete",
34 + "*windowsMenu.detachDocument.acceleratorText: Alt+Delete",
35 + "*windowsMenu.moveDocument.accelerator: Alt<Key>Insert",
36 + "*windowsMenu.moveDocument.acceleratorText: Alt+Insert",
37 "*helpMenu.mnemonic: H",
38 "nedit.help.helpForm.sw.helpText*baseTranslations: #override\
39 <Key>Tab:help-focus-buttons()\\n\
40 <Key>Return:help-button-action(\"close\")\\n\
41 Ctrl<Key>F:help-button-action(\"find\")\\n\
42 diff --quilt old/doc/help.etx new/doc/help.etx
43 --- old/doc/help.etx
44 +++ new/doc/help.etx
45 @@ -688,10 +688,14 @@ Keyboard Shortcuts
47 F10 Make the menu bar active for keyboard
48 input (Arrow Keys, Return, Escape,
49 and the Space Bar)
51 + Alt+Insert Move the active document to an other window.
53 + Alt+Delete Detach the active document from the window.
55 Alt+Home Switch to the previously active document.
57 Ctrl+PageUp Switch to the previous document.
59 Ctrl+PageDown Switch to the next document.
60 @@ -803,13 +807,14 @@ Tabbed Editing
61 interface are found under Preferences -> Default Settings -> Tabbed Editing
62 (cf. "Preferences_", also "NEdit_Command_Line_").
64 Notice that you can re-group tabs at any time by detaching and attaching them,
65 or moving them, to other windows. This can be done using the Windows menu, or
66 - using the context menu, which pops up when right clicking on a tab. You can
67 - also reorder the current tab by switching it with the left or right neighbor
68 - using the actions switch_next_document() or switch_previous_document().
69 + using the context menu, which pops up when right clicking on a tab (cf.
70 + "Keyboard_Shortcuts_"). You can also reorder the current tab by switching it
71 + with the left or right neighbor using the actions switch_next_document() or
72 + switch_previous_document().
74 You can switch to a tab by simply clicking on it, or you can use the keyboard.
75 The default keybindings to switch tabs (which are Ctrl+PageUp/-Down and Alt+Home,
76 see "Keyboard_Shortcuts_") can be changed using the actions previous_document(),
77 next_document() and last_document().