Debugger: Add block navigation shortcuts to inspector window.
This commit is contained in:
parent
c69ed143a6
commit
7fa8b5538c
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user