From ce064348fa8ffeff0527133a7c86e018193ab29c Mon Sep 17 00:00:00 2001 From: Paulb23 Date: Mon, 5 Jul 2021 18:21:13 +0100 Subject: Add CodeEdit breakpoint unit tests --- scene/gui/code_edit.h | 2 +- scene/gui/text_edit.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scene') diff --git a/scene/gui/code_edit.h b/scene/gui/code_edit.h index 4fbb5194e6..740548d559 100644 --- a/scene/gui/code_edit.h +++ b/scene/gui/code_edit.h @@ -248,7 +248,6 @@ private: void _text_changed(); protected: - void gui_input(const Ref &p_gui_input) override; void _notification(int p_what); static void _bind_methods(); @@ -265,6 +264,7 @@ protected: public: /* General overrides */ + virtual void gui_input(const Ref &p_gui_input) override; virtual CursorShape get_cursor_shape(const Point2 &p_pos = Point2i()) const override; /* Indent management */ diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index ced03e19d0..b604b5f1e4 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -528,7 +528,6 @@ private: protected: void _notification(int p_what); - virtual void gui_input(const Ref &p_gui_input) override; static void _bind_methods(); @@ -577,6 +576,7 @@ protected: public: /* General overrides. */ + virtual void gui_input(const Ref &p_gui_input) override; virtual Size2 get_minimum_size() const override; virtual bool is_text_field() const override; virtual CursorShape get_cursor_shape(const Point2 &p_pos = Point2i()) const override; -- cgit v1.2.3