You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
PucklaMotzer09
committed
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.
Copy file name to clipboardExpand all lines: doc/classes/CodeEdit.xml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -152,6 +152,12 @@
152
152
Perform an indent as if the user activated the "ui_text_indent" action.
153
153
</description>
154
154
</method>
155
+
<methodname="duplicate_lines">
156
+
<returntype="void" />
157
+
<description>
158
+
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.
0 commit comments