From 9def31120c883cd73564753fc4df1237a5020584 Mon Sep 17 00:00:00 2001 From: Mason Ashbridge Date: Thu, 24 Aug 2017 01:22:00 -0400 Subject: Script editor: fixed no key repeat for CTRL+Y --- scene/gui/text_edit.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scene/gui') diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 2c50b4e854..7f5e7fdf30 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -2736,6 +2736,15 @@ void TextEdit::_gui_input(const Ref &p_gui_input) { else undo(); } break; + case KEY_Y: { + + if (!k->get_command()) { + scancode_handled = false; + break; + } + + redo(); + } break; case KEY_V: { if (readonly) { break; -- cgit v1.2.3