Index of All Documentation » Wing Pro Reference Manual » Source Code Editor »

There are several ways to cut, copy, and paste text in the editor:

  • Use the Edit menu items or their key bindings. This stores the copy/cut text in the system clipboard and can be pasted into or copied from other applications.
  • Right-click on the editor surface and use the items in the context menu.
  • Select a range of text and drag and drop it.
  • On Linux, select text anywhere on the display and then click with the middle mouse button to insert it at the point of click.
  • On Windows and macOS, click with the middle mouse button to paste. This behavior may be disabled via the Editor > Clipboard > Middle Mouse Paste preference
  • Use emulated key bindings for the current keyboard personality, such as Ctrl-K for Emacs and named text registers for VI/Vim. Note that some of these copy text to a private clipboard and not the system clipboard.

Smart Copy

Wing can be configured to copy or cut the whole current line when there is no selection on the editor. This is done with the Editor > Clipboard > On Empty Selection preference. The default is to use the whole line on copy but not cut.

Indent on Paste

Wing can adjust intentation style, size, and position when pasting lines of text into the editor. See Auto-Indent for details.