Add script editor join line functionality

This commit is contained in:
fish committed 2026-02-20 15:59:41 -08:00
1 parent 7dac0bc3be
commit 4d294caac9
9 files changed
+64

No files matched your search

+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();