You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add Duplicate Lines shortcut to CodeTextEditor
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
This commit is contained in:
@@ -152,6 +152,12 @@
|
||||
Perform an indent as if the user activated the "ui_text_indent" action.
|
||||
</description>
|
||||
</method>
|
||||
<method name="duplicate_lines">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Duplicates all lines currently selected with any caret. Duplicates the entire line beneath the current one no matter where the caret is within the line.
|
||||
</description>
|
||||
</method>
|
||||
<method name="fold_all_lines">
|
||||
<return type="void" />
|
||||
<description>
|
||||
|
||||
Reference in New Issue
Block a user