summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-06-19 13:06:31 +0200
committerGitHub <noreply@github.com>2016-06-19 13:06:31 +0200
commitb9f944ed5c68f6b2d23866cd718510596080749c (patch)
treea8e226efaa761c43791bf48321118209b839c049 /scene/gui/line_edit.h
parent1923733ec83d2402d2b91877e9dbe62f87882784 (diff)
parent4928cc34ebb907c72232b8bcfc311bddffefd232 (diff)
Merge pull request #5271 from neikeq/pr-issue-1004
LineEdit cursor fixes and improvements
Diffstat (limited to 'scene/gui/line_edit.h')
-rw-r--r--scene/gui/line_edit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h
index 586a54e950..ce3958db02 100644
--- a/scene/gui/line_edit.h
+++ b/scene/gui/line_edit.h
@@ -83,7 +83,6 @@ private:
int cursor_start;
bool enabled;
bool creating;
- bool old_shift;
bool doubleclick;
bool drag_attempt;
} selection;
@@ -123,6 +122,7 @@ public:
void select_all();
void delete_char();
+ void delete_text(int p_from_column, int p_to_column);
void set_text(String p_text);
String get_text() const;
void set_cursor_pos(int p_pos);