From 1e2b43f1e25fe15a54bb412e6d01fd3607f5eeae Mon Sep 17 00:00:00 2001 From: jcarsey Date: Wed, 3 Aug 2011 17:28:04 +0000 Subject: ShellPkg: Added the Ctrl based hot key for hexedit * Add Ctrl based hotkey alternatives to function hotkeys. * Update help menu for hexedit. Signed-off-by: kidzyoung Reviewed-by: jljusten Reviewed-by: jcarsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12082 6f19259b-4bc3-4df7-8a09-765794883524 --- .../HexEdit/HexeditStrings.uni | Bin 12686 -> 13022 bytes .../HexEdit/MainHexEditor.c | 20 ++++++++++---------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexeditStrings.uni b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexeditStrings.uni index 777258977d..2b79381595 100644 Binary files a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexeditStrings.uni and b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/HexeditStrings.uni differ diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c index 357f8fa977..fec7124315 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/MainHexEditor.c @@ -1509,27 +1509,27 @@ MENU_ITEM_FUNCTION HexMainControlBasedMenuFunctions[] = { NULL, /* Ctrl - A */ NULL, /* Ctrl - B */ NULL, /* Ctrl - C */ - NULL, /* Ctrl - D */ + HMainCommandSelectEnd, /* Ctrl - D */ HMainCommandDisplayHelp, /* Ctrl - E */ NULL, /* Ctrl - F */ - NULL, /* Ctrl - G */ + HMainCommandGoToOffset, /* Ctrl - G */ NULL, /* Ctrl - H */ - NULL, /* Ctrl - I */ + HMainCommandOpenDisk, /* Ctrl - I */ NULL, /* Ctrl - J */ NULL, /* Ctrl - K */ NULL, /* Ctrl - L */ - NULL, /* Ctrl - M */ + HMainCommandOpenMemory, /* Ctrl - M */ NULL, /* Ctrl - N */ - NULL, /* Ctrl - O */ + HMainCommandOpenFile, /* Ctrl - O */ NULL, /* Ctrl - P */ - NULL, /* Ctrl - Q */ + HMainCommandExit, /* Ctrl - Q */ NULL, /* Ctrl - R */ - NULL, /* Ctrl - S */ - NULL, /* Ctrl - T */ + HMainCommandSaveBuffer, /* Ctrl - S */ + HMainCommandSelectStart, /* Ctrl - T */ NULL, /* Ctrl - U */ - NULL, /* Ctrl - V */ + HMainCommandPaste, /* Ctrl - V */ NULL, /* Ctrl - W */ - NULL, /* Ctrl - X */ + HMainCommandCut, /* Ctrl - X */ NULL, /* Ctrl - Y */ NULL, /* Ctrl - Z */ }; -- cgit v1.2.3