1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 10:37:44 +00:00

HexEditor: Find

Added search submenu with options to find or find again.
Find allows to search for ASII string or sequence of Hex value.
This commit is contained in:
Camisul 2021-01-22 23:22:00 +03:00 committed by Andreas Kling
parent 509e39ac00
commit 0678dab7dc
7 changed files with 294 additions and 1 deletions

View file

@ -62,7 +62,7 @@ public:
void set_bytes_per_row(int);
void set_position(int position);
int find_and_highlight(ByteBuffer& needle, int start = 0);
Function<void(int, EditMode, int, int)> on_status_change; // position, edit mode, selection start, selection end
Function<void()> on_change;