summaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.h
diff options
context:
space:
mode:
authorneikeq <ignalfonsore@gmail.com>2015-12-09 19:56:41 +0100
committerneikeq <ignalfonsore@gmail.com>2015-12-09 19:56:47 +0100
commit5f739a266057d7059c1787b22b404c5f3661b8e6 (patch)
treef6100b62b8c53927bd1ca75991d7c085d5a28931 /scene/gui/text_edit.h
parentdb9da152765357c5e484792fc5e31a25acbc7616 (diff)
TextEdit: Scroll while selecting with mouse idle
Diffstat (limited to 'scene/gui/text_edit.h')
-rw-r--r--scene/gui/text_edit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h
index 91369309cf..f8e8ef3b9a 100644
--- a/scene/gui/text_edit.h
+++ b/scene/gui/text_edit.h
@@ -219,6 +219,7 @@ class TextEdit : public Control {
uint64_t last_dblclk;
Timer *idle_detect;
+ Timer *click_select_held;
HScrollBar *h_scroll;
VScrollBar *v_scroll;
bool updating_scrolls;
@@ -240,6 +241,7 @@ class TextEdit : public Control {
void adjust_viewport_to_cursor();
void _scroll_moved(double);
void _update_scrollbars();
+ void _click_selection_held();
void _pre_shift_selection();
void _post_shift_selection();