mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
HexEditor: Select first character by default
The first character was already selected (with the selection greyed-out), and a selection span of 1 was shown, so it's natural than the selection from/to numbers should be 0/0, not -1/-1.
This commit is contained in:
parent
b2a6d2cea4
commit
c7911fdce9
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ private:
|
|||
int m_bytes_per_row { 16 };
|
||||
ByteBuffer m_buffer;
|
||||
bool m_in_drag_select { false };
|
||||
int m_selection_start { -1 };
|
||||
int m_selection_end { -1 };
|
||||
int m_selection_start { 0 };
|
||||
int m_selection_end { 0 };
|
||||
HashMap<int, u8> m_tracked_changes;
|
||||
int m_position { 0 };
|
||||
int m_byte_position { 0 }; // 0 or 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue