Add script editor join line functionality
This commit is contained in:
1 parent
7dac0bc3be
commit
4d294caac9
9 files changed
+64
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user