Clipboard Macros
Prev | Appendix F. Macros Included With jEdit | Next

## Clipboard Macros

These macros copy or cut text to the clipboard.

- `Copy_Lines_Containing.bsh`

  Copies all lines from the current buffer, containing a user-supplied string, to the clipboard.

- `Cut_Lines_Containing.bsh`

  Cuts all lines from the current buffer, containing a user-supplied string, to the clipboard.

- `Copy_Selection_or_Line.bsh`

  If no text is selected, the current line is copied to the clipboard, otherwise the selected text is copied to the clipboard. Some editors have this has the default copy behavior. To achieve the same effect in jEdit, bind this macro to `C+c` in the Shortcuts pane of the Utilities> Options dialog box.

- `Cut_Selection_or_Line.bsh`

  If no text is selected, the current line is cut to the clipboard, otherwise the selected text is cut to the clipboard. Some editors have this has the default cut behavior. To achieve the same effect in jEdit, bind this macro to `C+x` in the Shortcuts pane of the Utilities> Options dialog box.

- `Copy_Visible_Lines.bsh`

  Copies the visible lines from the current buffer to the Clipboard. Lines that are not visible becuase they are folded are not copied.

- `Paste_Indent.bsh`

  Pastes the content of the clipboard and indents it.

Prev | Up | Next
C/C++ macros | Home | Editing Macros