Duplicating syntax

You can duplicate one or more syntax lines with a keyboard shortcut. Duplicated syntax is inserted immediately after the last line of the selected syntax. The Duplicate lines feature is available through the Edit menu, or by using the Ctrl+U keyboard shortcut.

  1. Select one or more syntax lines that you want to duplicate.
  2. Select Duplicate lines from the Edit menu, or use the Ctrl+U keyboard shortcut.

The selected syntax lines are duplicated immediately underneath the selection.

Note: If you do not select any syntax lines, and then select Edit > Duplicate lines or press Ctrl+U, the line where the cursor is placed is duplicated.