mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 19:24:18 +00:00
Script editor: Rename 'Clone Down' to 'Duplicate Selection'
Fixes #36670.
This commit is contained in:
parent
8fb7a9f023
commit
d41f4aca77
8 changed files with 18 additions and 18 deletions
|
|
@ -738,8 +738,8 @@ void CodeTextEditor::_input(const Ref<InputEvent> &event) {
|
|||
accept_event();
|
||||
return;
|
||||
}
|
||||
if (ED_IS_SHORTCUT("script_text_editor/clone_down", key_event)) {
|
||||
clone_lines_down();
|
||||
if (ED_IS_SHORTCUT("script_text_editor/duplicate_selection", key_event)) {
|
||||
duplicate_selection();
|
||||
accept_event();
|
||||
return;
|
||||
}
|
||||
|
|
@ -1287,7 +1287,7 @@ void CodeTextEditor::delete_lines() {
|
|||
text_editor->end_complex_operation();
|
||||
}
|
||||
|
||||
void CodeTextEditor::clone_lines_down() {
|
||||
void CodeTextEditor::duplicate_selection() {
|
||||
const int cursor_column = text_editor->cursor_get_column();
|
||||
int from_line = text_editor->cursor_get_line();
|
||||
int to_line = text_editor->cursor_get_line();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue