mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:37:44 +00:00
HexEditor: Only mark window as modified when document is actually dirty
This commit is contained in:
parent
e44ccddba3
commit
24f729d0ef
5 changed files with 37 additions and 10 deletions
|
@ -59,7 +59,7 @@ public:
|
|||
Vector<Match> find_all(ByteBuffer& needle, size_t start = 0);
|
||||
Vector<Match> find_all_strings(size_t min_length = 4);
|
||||
Function<void(size_t, EditMode, size_t, size_t)> on_status_change; // position, edit mode, selection start, selection end
|
||||
Function<void()> on_change;
|
||||
Function<void(bool is_document_dirty)> on_change;
|
||||
|
||||
protected:
|
||||
HexEditor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue