NextPrevUpTopContentsIndex

12.7.5 Setting the text style attributes

By default Common LispWorks uses a variety of text styles for several purposes:

Note: The last two of these features operate only when the buffer is in Lisp mode.

To change the attributes of one or more text styles, select the Styles tab of the Editor Preferences dialog.

Figure 12.13 The Styles tab of the Editor Preferences dialog.

For example, to make Common Lisp symbols appear with red foreground rather than the default purple, first select Lisp Keyword in the Style Name list. Then select Specified alongside Foreground and double-click on the color area to the right. In the Color dialog that appears, choose the new color and click OK . Now click OK on the Editor Preferences dialog and see the change in the way your Lisp code is displayed. You may need to force the editor window to redisplay, for example by scrolling, to see the change take effect.

For each named style, the Foreground and Background each have exactly one of the following values:

None

No special formatting

Default

Platform-standard highlighting, as for selected text

Specified

The color specified is used.

Modified

The system generates a color which is usable for highlighting.

A large cross appears in the Foreground (Background) color area when None , Modified or Default is selected. This indicates that the color is not used for the Foreground (Background).

If you wish to turn off the highlighting of interactive input in the Listener and Shell tools, first select Interactive Input in the Style Name list. Then uncheck all the attributes and click OK .

To restore all styles to those in LispWorks as shipped, click Reset to Original .

Note: the foreground and background colors of windows are set via the system, not in LispWorks. To alter these colors on MS Windows, use the Windows Control Panel.


Common LispWorks User Guide (Windows version) - 5 Jul 2006

NextPrevUpTopContentsIndex