diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-08-22 09:31:44 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-22 09:31:44 -0300 |
commit | a73b5fa1124ab91401f965f0bf6fd48407b79c4e (patch) | |
tree | fee311b675144ae3a5fecc58857912ea250b1bb7 /scene/gui/text_edit.h | |
parent | 2a5c64f2a188360d09f793c0dbd35e1911b4c073 (diff) | |
parent | 3682978aee06cd5cf26ba462a4e44d352e9e0cd1 (diff) |
Merge pull request #51970 from reduz/implement-gdvirtuals-everywhere
Replace BIND_VMETHOD by new GDVIRTUAL syntax
Diffstat (limited to 'scene/gui/text_edit.h')
-rw-r--r-- | scene/gui/text_edit.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/scene/gui/text_edit.h b/scene/gui/text_edit.h index 69468978ab..7d00ce14af 100644 --- a/scene/gui/text_edit.h +++ b/scene/gui/text_edit.h @@ -562,12 +562,18 @@ protected: /* Text manipulation */ // Overridable actions - virtual void _handle_unicode_input(const uint32_t p_unicode); - virtual void _backspace(); - - virtual void _cut(); - virtual void _copy(); - virtual void _paste(); + virtual void _handle_unicode_input_internal(const uint32_t p_unicode); + virtual void _backspace_internal(); + + virtual void _cut_internal(); + virtual void _copy_internal(); + virtual void _paste_internal(); + + GDVIRTUAL1(_handle_unicode_input, int) + GDVIRTUAL0(_backspace) + GDVIRTUAL0(_cut) + GDVIRTUAL0(_copy) + GDVIRTUAL0(_paste) public: /* General overrides. */ |