![]() ![]() | SC | | | 2336 | Ctrl | | | VK_DELETE | 0x2E | 46 | | Scintilla | 87 | SCI_DELWORDRIGHT | | | | File | IDM_FILE_RESTORELASTCLOSEDFILE | 41021 | Ctrl | | Shift | VK_T | 0x54 | 84 | | Main | 23 | Restore Recent Closed File | | | | File | IDM_FILE_PRINTNOW | 1001 | | | | VK_NULL | 0x00 | | | Main | 21 | Print Now | | | | File | IDM_FILE_SAVESESSION | 41013 | | | | VK_NULL | 0x00 | | | Main | 19 | Save Session. | | File | IDM_FILE_LOADSESSION | 41012 | | | | VK_NULL | 0x00 | | | Main | 18 | Load Session. | | File | IDM_FILE_DELETE | 41016 | | | | VK_NULL | 0x00 | | | Main | 17 | Move to Recycle Bin | | ![]() | | File | IDM_FILE_CLOSEALL_TORIGHT | 41018 | | | | VK_NULL | 0x00 | | | Main | 16 | Close All to the Right | | | | File | IDM_FILE_CLOSEALL_TOLEFT | 41009 | | | | VK_NULL | 0x00 | | | Main | 15 | Close All to the Left | | | | File | IDM_FILE_CLOSEALL_BUT_CURRENT | 41005 | | | | VK_NULL | 0x00 | | | Main | 14 | Close All but Active Document | | | | File | IDM_FILE_SAVEALL | 41007 | Ctrl | | Shift | VK_S | 0x53 | 83 | | Main | 10 | Save All | | | | File | IDM_FILE_SAVECOPYAS | 41015 | | | | VK_NULL | 0x00 | | | Main | 9 | Save a Copy As. | | File | IDM_FILE_RELOAD | 41014 | | | | VK_NULL | 0x00 | | | Main | 6 | Reload from Disk | | | | File | IDM_FILE_OPENFOLDERASWORSPACE | 41022 | | | | VK_NULL | 0x00 | | | Main | 5 | Open Folder as Workspace. | Type | Menu N++ | Command Name, in N++ Menu ORDER | Cmd Id | Ctrl | Alt | Shift | Key Name | Key H | Key D | | Menu Mapper | Num | Command Name, in Shortcut Mapper | Notes | This list is quite long : about 700 lines ! So here is, below, the very beginning and the very end of this table, ONLY ! *-*-*-*-*-*-*-*-*-*-* *-*-*-*-* Using, mainly, the Shortcut Mapper programĬreating a macro, with an associated shortcut, when the specific wanted command is NOT available in the Shortcut Mapper ( VK_NULL ) and give a way to, systematically, associate a shortcut to a command, by : This list, based on the last N++ v7.2 version, shows all the commands, with their existing default shortcuts, or without any default shortcut ![]() Scott, starting from your very interesting post, about a way to gather all the default N++ shortcuts, from different N++ source files, I tried, these past days, to go on, building an ( almost ! ) exhaustive table of all the commands ( mainly, Notepad++ and Scintilla ones ) (unless I have missed something…always a possibility…) In conclusion, this simple question does not have a simple answer. …anything else I’ve forgotten/overlooked… ![]() Plugin key mappings (very difficult indeed) So this is a rather simplistic(!) view of the situation, because this does not take into account: Now you can dump out the key-mappings with overrides in place (I set my find-volatile-next to ctrl+alt+N): Note: if a default shortcut isn’t change by the user, no entry will be found here for an id! Note: true,true,false in the above example corresponds to ctrl->yes, alt->yes, shift->noĪt this point you would have enough information (once you put it all together) to dump out the DEFAULT key-mapping, like so: Tie “ctrl+alt+F3” to “IDM_SEARCH_VOLATILE_FINDNEXT” #define IDM_SEARCH_VOLATILE_FINDNEXT (IDM_SEARCH + 14) Shortcuts.xml (which is likely customized somewhat by you, using Shortcut Mapper, and in other ways)Įnglish.xml (or whatever your language of choice is) Use the following files from your N++ install, after you’ve configured shortcuts to your individual liking: Obtain the N++ source code and extract the following files: Here was the approach I had in mind this is an after-the-fact design (no Notepad++ run-time awareness): I had some ideas about this at one point, so I made some notes about it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |