Debugger: Add block navigation shortcuts to inspector window.

This commit is contained in:
Rene Gollent 2014-05-04 17:26:28 -04:00
parent c69ed143a6
commit 7fa8b5538c

View File

@ -1,5 +1,5 @@
/*
* Copyright 2011-2013, Rene Gollent, rene@gollent.com. All rights reserved.
* Copyright 2011-2014, Rene Gollent, rene@gollent.com. All rights reserved.
* Distributed under the terms of the MIT License.
*/
@ -181,6 +181,11 @@ InspectorWindow::_Init()
endianMenu->ItemAt(0)->SetMarked(true);
fAddressInput->TextView()->MakeFocus(true);
AddShortcut(B_LEFT_ARROW, B_COMMAND_KEY, new BMessage(
MSG_NAVIGATE_PREVIOUS_BLOCK));
AddShortcut(B_RIGHT_ARROW, B_COMMAND_KEY, new BMessage(
MSG_NAVIGATE_NEXT_BLOCK));
}