jovibor / HexCtrl

Fully-featured Hex Control written in C++/MFC.
Other
164 stars 61 forks source link

Suggestion: Update next/previous bookmark index when jumping to bookmark #11

Closed datasynergyuk closed 4 years ago

datasynergyuk commented 4 years ago

Please can I suggest updating the current bookmark index (m_iCurrent) when the bookmark manager is used to jump to a specific bookmark (CHexBookmarks::GoBookmark). This will make subsequent next/previous bookmark behaviour more consistent.

jovibor commented 4 years ago

Yes, good catch. I've also disposed of IHexBkmVirtual::GetNext/GetPrev/Remove methods. I think all next/prev logic can be handled by the control now.