NextPrevUpTopContentsIndex

6.3 Programming the editor

The editor functions described in this section can be combined and provided with arguments to create new commands. Existing editor commands can also be used in the creation of new commands (see editor:defcommand ).

Note that all the code found in this chapter is included in the directory examples/editor in the directory defined by the variable *lispworks-directory* .

Note: code which modifies the contents of a capi:editor-pane (for example a diaplayed editor buffer) must be run only in the interface process of that pane.

The following sections describe editor functions that are not interactive editor commands.

6.3.1 Defining commands

6.3.2 Buffers

6.3.3 The echo area

6.3.4 Editor errors

6.3.5 Files

6.3.6 Inserting text

6.3.7 Indentation

6.3.8 Lisp

6.3.9 Movement

6.3.10 Points

6.3.11 Prompting the user

6.3.12 Variables

6.3.13 Windows

6.3.14 Examples


LispWorks Editor User Guide (Windows version) - 23 Feb 2006

NextPrevUpTopContentsIndex