Revert "ShellPkg: Make the USB mouse behavior in 'edit' consistent with 'hexedit'."

This reverts commit ee60bd2b6a and
e36ed7a84b.
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 <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jarben.carsey@intel.com>
This commit is contained in:
Ruiyu Ni
2016-07-05 13:28:53 +08:00
parent 1d32246161
commit 664fd5877d
5 changed files with 39 additions and 476 deletions

View File

@ -1,7 +1,7 @@
/** @file
Main include file for Edit shell Debug1 function.
Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved. <BR>
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>
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;