
3.2 Using edit functions
3.2.1 Using the clipboard
If you have used other Windows applications, you will be familiar with the notion of placing text, graphics and other objects in a clipboard for later use. FreeLisp offers the common edit operations which involve the clipboard. There are three:
- Copy
- Copies the selected text or item onto the clipboard.
- Cut
- Copies the selected text or item onto the clipboard and removes it from the window it was copied from.
- Paste
- Copies the contents of the clipboard into the current window.
Use of Copy or Cut followed by Paste lets you transfer items between tools, or to different parts of the same tool. There are several ways in which you can use these commands:
- In the listener, you can copy the previous form to the clipboard, and then paste it into another tool, for example the inspector.
- In the editor, you can make copies of large chunks of text, and Paste them into different places, either within the same file or between different files. If you have sections of code which are very similar, rather than typing each section out explicitly, just Paste in the same section as many times as you need and change only the relevant parts.
- Between any of the tools, you can Copy, Cut and Paste Common Lisp objects. You can, for example, make an instance of a class in the listener, Copy it, and then Paste it into the Class Browser and examine its description.
FreeLisp User's Guide - 5 FEB 1996

Generated with Harlequin WebMaker