diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-18 22:05:19 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-18 22:08:41 +0200 |
commit | d123c41cd3ad4f0d55ae134be69e7ffd144dbb74 (patch) | |
tree | f46a8e6daea5b757f4b66363c64aea6269dd83a9 /include/Entry.hpp | |
parent | f6a39afa8bfd869ba661799897ac37e7d1ff7c34 (diff) |
Add mention autocomplete
Diffstat (limited to 'include/Entry.hpp')
-rw-r--r-- | include/Entry.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Entry.hpp b/include/Entry.hpp index 581dc14..22680b5 100644 --- a/include/Entry.hpp +++ b/include/Entry.hpp @@ -30,6 +30,9 @@ namespace QuickMedia { void move_caret_to_end(); void append_text(std::string str); + void replace(size_t start_index, size_t length, const sf::String &insert_str); + int get_caret_index() const; + bool is_editable() const; float get_height(); const sf::String& get_text() const; |