summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-07-05 18:21:13 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-09-01 16:46:04 +0100
commitce064348fa8ffeff0527133a7c86e018193ab29c (patch)
tree6ea5ba7bfd44496a4bbe25c90b9878b40fef8d08 /scene/gui
parent24d02d0b4ec2d4f77949a1287242b023004cc002 (diff)
Add CodeEdit breakpoint unit tests
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/code_edit.h2
-rw-r--r--scene/gui/text_edit.h2
2 files changed, 2 insertions, 2 deletions
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<InputEvent> &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<InputEvent> &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<InputEvent> &p_gui_input) override;
static void _bind_methods();
@@ -577,6 +576,7 @@ protected:
public:
/* General overrides. */
+ virtual void gui_input(const Ref<InputEvent> &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;