Home » Support » Index of All Documentation » Wing IDE Reference Manual » Source Code Editor »
There are a number of ways to copy and paste text in the editor:
- Use the Edit menu items. This stores the copy/cut text in the system-wide clipboard and can be pasted into or copied from other applications.
- Use key equivalents as defined in the Edit menu.
- Right-click on the editor surface and use the items in the popup menu that appears.
- Select a range of text and drag it using the drag and drop feature. The default drag operation is to copy on Linux and OS X and move on Windows. Pressing the Control key after starting the drag toggles between moving or copying the text.
- On Linux, select text anywhere on the display and then click with the middle mouse button to insert it at the point of click.
- In emacs mode, ctrl-k (kill-line) will cut one line at a time into the private emacs clipboard. This is kept separate from the system-wide clipboard and is pasted using ctrl-y (yank-line). On Windows and Mac OS X, ctrl-y will paste the contents of the system-wide clipboard only if the emacs clipboard is empty.
- In VI mode, named text registers are supported.
-
On Windows and Mac OS X, click with the middle mouse button to insert the current emacs private clipboard (if in emacs mode and the buffer is non-empty) or the contents of the system-wide clipboard (in all other cases). On Mac OS X, the middle mouse button is emulated by command or other key configured in the X11 Server's preferences. This behavior may be disabled via the Middle Mouse Paste preference
It is important to note which actions use the system-wide clipboard, which use the emacs private clipboard or VI registers, and which use the X windows selection (X Windows only). Otherwise, these commands are interchangeable in their effects.
| « 4.14. Keyboard Macros | Table of Contents | 4.16. Auto-reloading Changed Files » |
