HexEdit/HexEditView.cpp
// Command to go to previous recent difference in compare view

Command to go to previous recent difference in compare view
Command to go to previous recent difference in compare view
void CHexEditView::OnCompPrev()
{
	FILE_ADDRESS start, end;  
	GetSelAddr(start, end);
	std::pair<FILE_ADDRESS, FILE_ADDRESS> locn = GetDocument()->GetPrevDiff(start - 1);
	if (locn.first > -1)
	{
		FILE_ADDRESS len = abs(int(locn.second));
		MoveToAddress(locn.first, locn.first + len);
	}
}
void CHexEditView :: OnCompPrev ( ) { FILE_ADDRESS start , end ; GetSelAddr ( start , end ) ; std :: pair < FILE_ADDRESS , FILE_ADDRESS > locn = GetDocument ( ) -> GetPrevDiff ( start - 1 ) ; if ( locn . first > -1 ) { FILE_ADDRESS len = abs ( int ( locn . second ) ) ; MoveToAddress ( locn . first , locn . first + len ) ; } }
Command to go to previous recent difference in compare view
Command to go to previous recent difference in compare view
// current selection
