All Manuals > LispWorks Editor User Guide > 3 Command Reference

NextPrevUpTopContentsIndex

3.36 Interaction with the GUI and the IDE

Activate Interface

Editor Command

Arguments: interface-title
Key sequence: Ctrl+; interface-title

The command Activate Interface prompts for an interface title of an interface in the IDE, and activates it.

Note: this command works only in the LispWorks IDE.

Set Title

Editor Command

Arguments: title
Key sequence: None

The command Set Title sets the title of the enclosing interface.

Note: switching buffers in the editor resets the title which will overwrite user changes, but other tool windows in the LispWorks IDE normally do not set their title.

Invoke Tool

Editor Command

Argument: None
Key sequence: Ctrl+#

Invokes a tool in the LispWorks IDE.

Firstly Invoke Tool prompts for a character. If you enter a known shortcut character, the corresponding tool is activated. If the character is unknown, it raises the Tools menu so you can select from it.

Notes:

  1. The shortcut characters can be seen in the Tools menu. So if you do not know the shortcut character, you can enter '?' to get the menu, and then note the shortcut character.
  2. On Cocoa, in any window in the LispWorks IDE Command+Ctrl+L invokes the Listener tool (as an example), which is more convenient than Invoke Tool.
  3. If the tool does not already exist, one is created if needed.
  4. Invoke Tool does nothing in a delivered image.

Invoke Menu Item

Editor Command

Arguments: menu-item-path
Key sequence: None

The command Invoke Menu Item invokes a menu item, as if the item was activated in any of the usual interactive ways.

The user is asked for a path, which is the title of the menu in the menu bar of the current interface, followed by the title(s) of submenus if any, followed by the item title itself.

The titles must be separated by a / (forward slash) and optionally Space or Tab characters, and other than this they must match (case-insensitive) the string that appears on the screen. For example, to do File > Open... , the menu-item-path is:

file / open...

Build Application

Editor Command

Argument: None
Key sequence: None

The command Build Application invokes the Application Builder in the LispWorks IDE and does a build. By default, it uses the current buffer as the build script. If a prefix argument is supplied it prompts for a file to use as the build script.

See also: LispWorks IDE User Guide , Application Builder chapter.

Edit Compiler Warnings

Editor Command

Arguments: None
Key sequence: None

The command Edit Compiler Warnings opens and activates the Compilation Conditions Browser, if there is a record of compilation conditions in the session.

Conditions may be generated whenever compiling code in the IDE.

See also: LispWorks IDE User Guide , Compilation Conditions Browser chapter.

Inspect Variable

Editor Command

Arguments: editor-variable-name
Key sequence: None

The command Inspect Variable activates the Inspector tool with the object that is the value of the supplied editor variable.

List Buffer Definitions

Editor Command

Arguments: None
Key sequence: None

The command List Buffer Definitions switches to the Buffers tab in an Editor tool.

Grep

Editor Command

Arguments: grep-args
Key sequence: None

The command Grep activates the Search Files tool with a grep command.

It prompts for command line arguments, which should comprise the entire command line except for the first word grep. Then it activates the Search Files tool and invokes the grep command.

If the prefix argument is supplied, it saves all files after prompting and before activating the tool.

Note: the grep command to use is configurable via lw:*grep-command*. On Unix grep is available by default. On Microsoft Windows LispWorks uses lib/7-0-0-0/etc/grep.exe by default.

See also: Search Files, Search Files Matching Patterns, Search System.

Next Search Match

Editor Command

Arguments: None
Key sequence: Ctrl+X `

The command Next Search Match displays the next match from the last search in the Search Files tool.

Next Grep

Editor Command

Arguments: None
Key sequence: None

The command Next Grep is deprecated, use Next Search Match instead.

Show Directory

Editor Command

Arguments: path
Key sequence: None

The command Show Directory opens the native file browser.

If no prefix argument is supplied and the current buffer is associated with a pathname, the browser is opened with this pathname. Otherwise, it prompts for a path to use.

Note: On Windows and Mac OS X, if it is a full filename, the file is selected. On other platforms it only opens the browser with the directory. On GTK+ it tries to use nautilus and if this is not on the path, it fails.

Report Bug

Editor Command

Argument: None
Key sequence: None

The command Report Bug opens a window containing the template for reporting bugs in LispWorks. This template can then be filled in and emailed to Lisp Support.

Report Manual Bug

Editor Command

Argument: None
Key sequence: None

The command Report Manual Bug opens a window containing the template for reporting bugs in the LispWorks documentation. This template can then be filled in and emailed to Lisp Support.

Bug Report

Editor Command

Arguments: None
Key sequence: None

The command Bug Report is an alias for Report Bug.

Exit Lisp

Editor Command

Arguments: None
Key sequence: None

The command Exit Lisp is an alias for Save All Files and Exit.


LispWorks Editor User Guide (Macintosh version) - 9 Dec 2014

NextPrevUpTopContentsIndex