You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Allow for continuous deletion/duplication of lines
(cherry picked from commit b23f141ba4)
This commit is contained in:
committed by
Rémi Verschelde
parent
884dcdcd20
commit
15162906e4
@@ -686,6 +686,16 @@ void CodeTextEditor::_input(const Ref<InputEvent> &event) {
|
|||||||
accept_event();
|
accept_event();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (ED_IS_SHORTCUT("script_text_editor/delete_line", key_event)) {
|
||||||
|
delete_lines();
|
||||||
|
accept_event();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (ED_IS_SHORTCUT("script_text_editor/clone_down", key_event)) {
|
||||||
|
clone_lines_down();
|
||||||
|
accept_event();
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeTextEditor::_text_editor_gui_input(const Ref<InputEvent> &p_event) {
|
void CodeTextEditor::_text_editor_gui_input(const Ref<InputEvent> &p_event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user