You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add ALT NUM+ {hex code} character input support for LineEdit, TextEdit and CodeEdit.
This commit is contained in:
@@ -357,6 +357,11 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
}
|
||||
|
||||
Ref<InputEventKey> k = p_gui_input;
|
||||
if (TextEdit::alt_input(p_gui_input)) {
|
||||
accept_event();
|
||||
return;
|
||||
}
|
||||
|
||||
bool update_code_completion = false;
|
||||
if (!k.is_valid()) {
|
||||
TextEdit::gui_input(p_gui_input);
|
||||
|
||||
Reference in New Issue
Block a user