solemnwarning / rehex

Reverse Engineers' Hex Editor
https://rehex.solemnwarning.net/
GNU General Public License v2.0
2.31k stars 116 forks source link

[Feature Request] HxD-style keyboard shortcuts and comparison options? #103

Closed Darthagnon closed 2 years ago

Darthagnon commented 3 years ago

I found the current method of comparing two files in ReHex to be somewhat unintuitive (probably because there were no menu options to hint at it):

HxD has a decent comparison system with some nice keyboard shortcuts - any chance these could be implemented in ReHex?

HxD Shortcuts:

An improvement over HxD would be if ReHex's search function could highlight/show all occurences of a particular query. EDIT: Just realised that there's the "Highlight data matching selection" option. Sweet! Is there any way to jump between highlighted matching options and comments?

solemnwarning commented 2 years ago

Shortcuts added to the diff-improvements branch:

Ctrl+K: Compare whole file Ctrl+Shift+K: Compare selection F6: Next difference Shift+F6: Previous difference