diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-23 09:46:19 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 09:46:19 -0300 |
commit | a0ef77eaee427cf077ac884a8d3a956137ee615a (patch) | |
tree | 40bf21e1beae1a6883770d2ac0473222ff41ae65 /editor/code_editor.h | |
parent | 2d446771d6701bb77432b6df5a768e53c9a6c95d (diff) | |
parent | 5cecdfa8afb91a60305b429f5b738e27dadbc83f (diff) |
Merge pull request #51983 from reduz/remove-bind-vmethod
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r-- | editor/code_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h index ee8f4366dd..dfe6561f13 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -105,7 +105,7 @@ class FindReplaceBar : public HBoxContainer { protected: void _notification(int p_what); - void _unhandled_input(const Ref<InputEvent> &p_event); + virtual void unhandled_input(const Ref<InputEvent> &p_event) override; bool _search(uint32_t p_flags, int p_from_line, int p_from_col); @@ -173,7 +173,7 @@ class CodeTextEditor : public VBoxContainer { void _font_resize_timeout(); bool _add_font_size(int p_delta); - void _input(const Ref<InputEvent> &event); + virtual void input(const Ref<InputEvent> &event) override; void _text_editor_gui_input(const Ref<InputEvent> &p_event); void _zoom_in(); void _zoom_out(); |