mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +00:00
HexEditor: Share the code for updating the content size
And make setting the bytes_per_row a no-op if it's the same value.
This commit is contained in:
parent
db23d0f464
commit
d3012f2df1
2 changed files with 12 additions and 6 deletions
|
@ -125,7 +125,8 @@ private:
|
|||
ErrorOr<void> hex_mode_keydown_event(GUI::KeyEvent&);
|
||||
ErrorOr<void> text_mode_keydown_event(GUI::KeyEvent&);
|
||||
|
||||
void set_content_length(size_t); // I might make this public if I add fetching data on demand.
|
||||
void set_content_length(size_t);
|
||||
void update_content_size();
|
||||
void update_status();
|
||||
void did_change();
|
||||
ErrorOr<void> did_complete_action(size_t position, u8 old_value, u8 new_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue