aboutsummaryrefslogtreecommitdiff
path: root/src/Text.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-06-14 21:51:42 +0200
committerdec05eba <dec05eba@protonmail.com>2025-06-14 21:51:42 +0200
commit52f8dc5d05f5e34b0a3cf4bb4e4fe607f06965c5 (patch)
tree338a4a83685e0f0c7805ef3a884bec8274949f93 /src/Text.cpp
parenta3843702b93513052e1e167d52f232b5a5301bd0 (diff)
Better G key behavior in matrix, add ctrl+g for encrypt reply, load mpris from system path if available for videos
Diffstat (limited to 'src/Text.cpp')
-rw-r--r--src/Text.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index 2b62798..6333e8e 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -285,6 +285,10 @@ namespace QuickMedia
int Text::getCaretIndex() const {
return caretIndex;
}
+
+ void Text::setCaretIndex(int index) {
+ caretIndex = index;
+ }
void Text::set_color(mgl::Color color, bool force_color)
{