From 99612207b7ddc1b4e9db06fbc7e7f11cfe4e51fa Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 18 Jun 2016 16:14:43 +0200 Subject: LineEdit: Fix and improve selection behaviour --- scene/gui/line_edit.h | 1 - 1 file changed, 1 deletion(-) (limited to 'scene/gui/line_edit.h') diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index 586a54e950..fd8d7c0300 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; -- cgit v1.2.3 From 4928cc34ebb907c72232b8bcfc311bddffefd232 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Sat, 18 Jun 2016 16:15:26 +0200 Subject: LineEdit: Word jumping and OSX hotkeys --- scene/gui/line_edit.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui/line_edit.h') diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index fd8d7c0300..ce3958db02 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -122,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); -- cgit v1.2.3