Add script editor join line functionality

This commit is contained in:
fish
2025-10-12 01:26:02 -07:00
parent 7dac0bc3be
commit 4d294caac9
9 changed files with 64 additions and 0 deletions
+5
View File
@@ -910,6 +910,11 @@ void CodeTextEditor::input(const Ref<InputEvent> &event) {
accept_event();
return;
}
if (ED_IS_SHORTCUT("script_text_editor/join_lines", key_event)) {
text_editor->join_lines();
accept_event();
return;
}
if (ED_IS_SHORTCUT("script_text_editor/duplicate_selection", key_event)) {
text_editor->duplicate_selection();
accept_event();