pretty-printer

Generic Function

Package: common-graphics

Arguments: development-configuration

Returns the value of the pretty-printer property of development-configuration. The current configuration is the value of (configuration *system*).

This property determines whether to re-wrap lines of text when re-indenting (by choosing Edit | Reindent). If the value is :reindent, the indentation of each line will be adjusted without rearranging words onto different lines. If the value is :pretty-print, the whole expression will be re-pretty-printed, which may change which words are grouped together on the same line.

You can examine and change configuration options with the inspector. Choose Tools | Inspect System Data | Configuration Options.

Suppose you have this form in an editor:

(defun foo (a
     b
         c)
          (+ a b 
      c))

If pretty-printer is :reindent, choosing Edit | Reindent while the form is selected produces:

(defun foo (a
            b
            c)
   (+ a b 
      c)

If pretty-printer is :pretty-print, choosing Edit | Reindent while the form is selected produces:

(defun foo (a b c) (+ a b c))

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.