]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/TextEditorTypes.h
ShellPkg: Make the USB mouse behavior in 'edit' consistent with 'hexedit'.
[mirror_edk2.git] / ShellPkg / Library / UefiShellDebug1CommandsLib / Edit / TextEditorTypes.h
index dfd56dd9a6eced196624b41a58853498c5670301..43e3558793f2dc166c86c903c65ab340feb6a077 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Declares editor types.\r
 \r
-  Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>\r
+  Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved. <BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -19,8 +19,9 @@
 #include "EditTitleBar.h"\r
 #include "EditMenuBar.h"\r
 \r
-#define MIN_POOL_SIZE         125\r
-#define MAX_STRING_LENGTH     127\r
+#define MIN_POOL_SIZE                 125\r
+#define MAX_STRING_LENGTH             127\r
+#define SHELL_EDIT_MAX_LINE_SIZE      0x50\r
 \r
 typedef struct {\r
   UINTN Row;\r
@@ -97,6 +98,8 @@ typedef struct {
   INT32                       MouseAccumulatorX;\r
   INT32                       MouseAccumulatorY;\r
 \r
+  UINTN                       SelectStart;          // starting from 1\r
+  UINTN                       SelectEnd;            // starting from 1\r
 } EFI_EDITOR_GLOBAL_EDITOR;\r
 \r
 #endif\r