All Manuals > LispWorks Editor User Guide > 4 Editing Lisp Programs > 4.3 Functions and definitions

NextPrevUpTopContentsIndex

4.3.5 Indentation and Completion

Indent Selection or Complete Symbol

Editor Command

Argument: None
Key sequence: Tab
Mode: Lisp

Does Lisp indentation if there is a visible region. Otherwise, it attempts to indent the current line. If the current line is already indented correctly then it attempts to complete the symbol before the current point. See Complete Symbol for more details.

The prefix argument, if supplied, is interpreted as if by Indent Selection or Complete Symbol.

Indent or Complete Symbol

Editor Command

Argument: None
Key sequence: None

Attempts to indent the current line. If the current line is already indented correctly then it attempts to complete the symbol before the current point. See Complete Symbol for more details.

The prefix argument, if supplied, is interpreted as if by Indent or Complete Symbol.

Complete Symbol

Editor Command

Argument: predicate
Key sequence: Alt+Ctrl+I

Attempts to complete the symbol before the current point. If the string to be completed is not unique, a list of possible completions is displayed.

If the Use in-place completion preference is selected then the completions are displayed in a window which allows most keyboard gestures to be processed as ordinary editor input. This allows speedy reduction of the number of possible completions, while you can select the desired completion with Return , Up and Down .

If predicate is non-nil then only symbols which are bound or fbound are offered amongst the possible completions.

Abbreviated Complete Symbol

Editor Command

Argument: predicate
Key sequence: Alt+I

Attempts to complete the symbol abbreviation before the current point. If the string to be completed is not unique, a list of possible completions is displayed.

A symbol abbreviation is a sequence of words (sequences of alphanumeric characters) separated by connectors (sequences of non-alphanumeric, non-whitespace characters). Each word (connector) is a prefix of the corresponding word (connector) in the expansions. Thus if you complete the symbol abbreviation w-o then with-open-file and with-open-stream are amongst the completions offered, assuming the COMMON-LISP package is visible.

If the Use in-place completion preference is selected then the completions are displayed in a window which allows most keyboard gestures to be processed as ordinary editor input. This allows speedy reduction of the number of possible completions, while you can select the desired completion with Return , Up and Down .

If predicate is non-nil then only symbols which are bound or fbound are offered amongst the possible completions.


LispWorks Editor User Guide (Windows version) - 3 May 2011

NextPrevUpTopContentsIndex