mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 01:07:44 +00:00
HexEditor: Change cursor type from caret to black box
This patch changes cursor type from caret to black box for both Hex and Text modes, because right now the way how blinking caret looks like is more closer to "insert" mode in similar editors, whereas the real behavior of this cursor is more of a "replace" mode seen in similar editors like GHex.
This commit is contained in:
parent
1ea675a9ec
commit
c4c9971ed0
2 changed files with 38 additions and 15 deletions
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
void select_all();
|
||||
bool has_selection() const { return m_selection_start < m_selection_end && m_document->size() > 0; }
|
||||
size_t selection_size();
|
||||
size_t selection_size() const;
|
||||
size_t selection_start_offset() const { return m_selection_start; }
|
||||
bool copy_selected_text_to_clipboard();
|
||||
bool copy_selected_hex_to_clipboard();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue