LispWorks Editor User Guide > 6 Advanced Features

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 displayed 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 Calling editor functions

6.3.2 Defining commands

6.3.3 Buffers

6.3.4 Points

6.3.5 The echo area

6.3.6 Editor errors

6.3.7 Files

6.3.8 Inserting text

6.3.9 Indentation

6.3.10 Lisp

6.3.11 Movement

6.3.12 Prompting the user

6.3.13 In-place completion

6.3.14 Variables

6.3.15 Windows

6.3.16 Examples


LispWorks Editor User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex