mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:37:35 +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:
parent
509e39ac00
commit
0678dab7dc
7 changed files with 294 additions and 1 deletions
|
@ -52,6 +52,12 @@ private:
|
|||
String m_path;
|
||||
String m_name;
|
||||
String m_extension;
|
||||
|
||||
String m_search_text;
|
||||
ByteBuffer m_search_buffer;
|
||||
int last_found_index() const { return m_last_found_index == -1 ? 0 : m_last_found_index; }
|
||||
int m_last_found_index { -1 };
|
||||
|
||||
RefPtr<GUI::Action> m_new_action;
|
||||
RefPtr<GUI::Action> m_open_action;
|
||||
RefPtr<GUI::Action> m_save_action;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue