summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-06-19 13:56:54 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-06-19 13:56:54 +0100
commitab49ea032cd682ce18a2ac8654e1474a37e42fe1 (patch)
tree4af9df06506c8a3ac72ec9328e7375a13c6d1074 /scene
parent0a6a71973e50e31fef7b91658ab713ae5db5033f (diff)
Remove redundant keywords from TextEdit
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/text_edit.cpp8
-rw-r--r--scene/gui/text_edit.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 6f78d586f1..369bc0fd26 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -4625,14 +4625,6 @@ Color TextEdit::get_line_background_color(int p_line) {
return text.get_line_background_color(p_line);
}
-void TextEdit::add_keyword(const String &p_keyword) {
- keywords.insert(p_keyword);
-}
-
-void TextEdit::clear_keywords() {
- keywords.clear();
-}
-
void TextEdit::set_auto_indent(bool p_auto_indent) {
auto_indent = p_auto_indent;
}
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h
index c04d758abb..00a3b8c531 100644
--- a/scene/gui/text_edit.h
+++ b/scene/gui/text_edit.h
@@ -744,9 +744,6 @@ public:
void set_insert_mode(bool p_enabled);
bool is_insert_mode() const;
- void add_keyword(const String &p_keyword);
- void clear_keywords();
-
double get_v_scroll() const;
void set_v_scroll(double p_scroll);