Support start/end selection in memory map for plugins
This commit is contained in:
parent
da085fe84f
commit
bb6959843d
|
@ -667,7 +667,9 @@ void MemoryMapView::findReferencesSlot()
|
|||
|
||||
void MemoryMapView::selectionGetSlot(SELECTIONDATA* selection)
|
||||
{
|
||||
selection->start = selection->end = duint(getCellContent(getInitialSelection(), 0).toULongLong(nullptr, 16));
|
||||
auto sel = getSelection();
|
||||
selection->start = getCellUserdata(sel.front(), 0);
|
||||
selection->end = getCellUserdata(sel.back(), 0);
|
||||
Bridge::getBridge()->setResult(BridgeResult::SelectionGet, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue