1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:27:34 +00:00

HexEditor: Add find_all_strings() function

This commit is contained in:
Brendan Coles 2021-05-29 08:49:35 +00:00 committed by Ali Mohammad Pur
parent 10ceeb092f
commit 90e9d1a0a1
3 changed files with 50 additions and 0 deletions

View file

@ -50,6 +50,7 @@ public:
int find(ByteBuffer& needle, int start = 0);
int find_and_highlight(ByteBuffer& needle, int start = 0);
Vector<Match> find_all(ByteBuffer& needle, int start = 0);
Vector<Match> find_all_strings(size_t min_length = 4);
Function<void(int, EditMode, int, int)> on_status_change; // position, edit mode, selection start, selection end
Function<void()> on_change;