summaryrefslogtreecommitdiffstats
path: root/scene/gui/line_edit.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-12-17 19:29:59 +0100
committerGitHub <noreply@github.com>2017-12-17 19:29:59 +0100
commitfd022cb156851659f635e16622d37c46266ca4a9 (patch)
tree4ada722964264829517c9a6f4dae38dcea7b3766 /scene/gui/line_edit.h
parent9b86703fd95a94e986a85936112f0135d15ffd2f (diff)
parent95f93e038a3afc95048820aa73fd38423048a487 (diff)
downloadredot-engine-fd022cb156851659f635e16622d37c46266ca4a9.tar.gz
Merge pull request #14778 from YeldhamDev/lineedit_deselect_expose
Exposed LineEdit's "selection_clear" and renamed it to "deselect"
Diffstat (limited to 'scene/gui/line_edit.h')
-rw-r--r--scene/gui/line_edit.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h
index c3a299c2f5..5ca4ca15df 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);