From 664fd5877d8b144b0d2cc667feab37286986ffb6 Mon Sep 17 00:00:00 2001 From: Ruiyu Ni Date: Tue, 5 Jul 2016 13:28:53 +0800 Subject: Revert "ShellPkg: Make the USB mouse behavior in 'edit' consistent with 'hexedit'." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit ee60bd2b6aa473fdff6af3bfc62203ed8ca5c52a and e36ed7a84b2768443de22371f0aad5cf502328b1. The two commits enhanced 'edit' to support text selection through mouse. But the code introduced some bugs resulting the text selection behavior is not very usable and potentially hang in certain platforms. So I'd like to revert them firstly. If there is strong requirement for the text selection through mouse in 'edit' I will refine and re-add the code. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni  Reviewed-by: Jaben Carsey --- ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h index 54dc7de9e9..774f01a291 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditor.h @@ -1,7 +1,7 @@ /** @file Main include file for Edit shell Debug1 function. - Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -26,7 +26,6 @@ #include "Misc.h" extern EFI_EDITOR_GLOBAL_EDITOR MainEditor; -extern EFI_EDITOR_GLOBAL_EDITOR MainEditorBackupVar; extern BOOLEAN EditorFirst; extern BOOLEAN EditorExit; -- cgit v1.2.3