From 665c9c5fbd5953909244596b0092a312f19ef897 Mon Sep 17 00:00:00 2001 From: "andres.delikat" Date: Wed, 14 Sep 2011 23:57:28 +0000 Subject: [PATCH] Ram Search - search list - Ctrl + A hotkey for selecting all values --- BizHawk.MultiClient/tools/RamSearch.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/BizHawk.MultiClient/tools/RamSearch.cs b/BizHawk.MultiClient/tools/RamSearch.cs index 313810b5fe..0cc1c2e4e9 100644 --- a/BizHawk.MultiClient/tools/RamSearch.cs +++ b/BizHawk.MultiClient/tools/RamSearch.cs @@ -14,10 +14,8 @@ namespace BizHawk.MultiClient //TODO: //Sorting by Prev only does "Since prev frame", find a way to integrate the various prev options //In DoUndo, prevList is set to searchList, instead how about a UndoPrev, so that undo restores both the current and previous values - //Redo button //Go To Address (Ctrl+G) feature - //Ctrl+A = highlight all visible addresses - + /// /// A winform designed to search through ram values /// @@ -2128,6 +2126,13 @@ namespace BizHawk.MultiClient { RemoveAddresses(); } + else if (e.KeyCode == Keys.A && e.Control && !e.Alt && !e.Shift) //Select All + { + for (int x = 0; x < searchList.Count; x++) + { + SearchListView.SelectItem(x, true); + } + } } private void RedotoolStripButton2_Click(object sender, EventArgs e)