Next Prev Top Contents Index

10 The Editor

The environment has a text editor which is designed specifically to make writing Lisp source code easier. It is very similar to the EMACS text editor, and you should refer to the Editor User Guide supplied with your software, for a full description of the extensive range of functions and commands available.

The editor features a comprehensive set of menus, as well as a number of different views, and it has an interface which is completely consistent with all the other tools in the environment. This chapter gives a complete description of these aspects of the editor, as well as giving you a general overview of how the editor is used. If you have not used EMACS before, this chapter tells you all you need to know to get started.

The advantage of the editor is its ability to perform a wide range of operations by using menu commands, as well as the keyboard commands described in more detail in the Editor User Guide . These operations range from simple tasks such as navigating around a file, to more complex actions which have been specifically designed to ease the task of writing Lisp code.

By becoming familiar with the menu commands available, you can learn to use the editor effectively in a very short space of time, before moving on to more advanced operations.

Like other tools, the editor offers a number of different views, which you can switch between using the tabs at the top of the editor window. Unlike other tools, one view in particular is used more often than any other.

You can create an editor using any of the following methods:

Notice that when you create an editor from the Tools menu, you are not actually editing a file immediately.

10.1 Displaying and editing files

10.2 Displaying and swapping between buffers

10.3 Displaying Common Lisp definitions

10.4 Finding definitions

10.5 Changed definitions

10.6 Displaying output messages in the editor

10.7 Setting editor preferences

10.8 Getting started with the editor

10.9 Other essential commands

10.10 Cutting, copying and pasting using the clipboard

10.11 Cutting, copying and pasting using the kill ring

10.12 Searching and replacing text

10.13 Using Lisp-specific commands

10.14 Help with editing


Common LispWorks User Guide - 14 Dec 2001

Next Prev Top Contents Index