From ab49ea032cd682ce18a2ac8654e1474a37e42fe1 Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Sat, 19 Jun 2021 13:56:54 +0100 Subject: Remove redundant keywords from TextEdit --- scene/gui/text_edit.cpp | 8 -------- scene/gui/text_edit.h | 3 --- 2 files changed, 11 deletions(-) (limited to 'scene') 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); -- cgit v1.2.3