From 95f93e038a3afc95048820aa73fd38423048a487 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Silva Dias Date: Sun, 17 Dec 2017 15:40:44 -0200 Subject: Exposed LineEdit's "selection_clear" and renamed it to "deselect". --- scene/gui/line_edit.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scene/gui/line_edit.h') diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index c3a299c2f..5ca4ca15d 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -119,7 +119,6 @@ private: void shift_selection_check_pre(bool); void shift_selection_check_post(bool); - void selection_clear(); void selection_fill_at_cursor(); void selection_delete(); void set_window_pos(int p_pos); @@ -155,7 +154,9 @@ public: bool is_context_menu_enabled(); PopupMenu *get_menu() const; + void select(int p_from = 0, int p_to = -1); void select_all(); + void deselect(); void delete_char(); void delete_text(int p_from_column, int p_to_column); @@ -190,8 +191,6 @@ public: void set_secret(bool p_secret); bool is_secret() const; - void select(int p_from = 0, int p_to = -1); - virtual Size2 get_minimum_size() const; void set_expand_to_text_length(bool p_enabled); -- cgit v1.2.3-70-g09d2