All Manuals > LispWorks Editor User Guide > 3 Command Reference

NextPrevUpTopContentsIndex

3.21 Windows

This section contains details of commands used to manipulate windows. A window ring is used to hold details of all windows currently open.

New Window

Editor Command

Arguments: None
Key sequence: Ctrl+X 2

Creates a new window and makes it the current window. Initially, the new window displays the same buffer as the current one.

Next Window

Editor Command

Arguments: None
Key sequence: None

Changes the current window to be the next window in the window ring, and the current buffer to be the buffer that is displayed in that window.

Next Ordinary Window

Editor Command

Arguments: None
Key sequence: Ctrl+X O

Changes the current window to be the next ordinary editor window, thus avoiding the need to cycle through other window types (for example, Listeners and Debuggers).

Previous Window

Editor Command

Arguments: None
Key sequence: None

Changes the current window to be the previous window visited, and the current buffer to be the buffer that is displayed in that window.

Delete Window

Editor Command

Arguments: None
Key sequence: Ctrl+X 0

Deletes the current window. The previous window becomes the current window.

Delete Next Window

Editor Command

Arguments: None
Key sequence: None

Deletes the next window in the window ring.

Delete Other Windows

Editor Command

Arguments: None
Key sequence: Ctrl+X 1

The command Delete Other Windows deletes (that is, closes) all other windows inside the same interface. Applicable only inside the LispWorks IDE Editor tool.

See also: Delete Next Window

Previous Focus Window

Editor Command

Arguments: None
Key sequence: None

The command Previous Focus Window switches to the editor pane that previously had the input focus.

Scroll Next Window Down

Editor Command

Arguments: None
Key sequence: None

The next window in the window ring is scrolled down.

A prefix argument causes the appropriately numbered window, from the top of the window ring, to be scrolled.

Scroll Next Window Up

Editor Command

Arguments: None
Key sequence: None

The next window in the window ring is scrolled up.

A prefix argument causes the appropriately numbered window, from the top of the window ring, to be scrolled.

Split Window Horizontally

Editor Command

Arguments: None
Key sequence: Ctrl+X 5

Split the current window horizontally, adding a window to the left of the current window or to the right if given a prefix argument. The new window will display the current buffer initially.

Split Window Vertically

Editor Command

Arguments: None
Key sequence: Ctrl+X 6

Split the current window vertically, adding a window above the current window or below if given a prefix argument. The new window will display the current buffer initially.

Unsplit Window

Editor Command

Arguments: None
Key sequence: Ctrl+X 7

Remove another window in the same split column or row. A prefix argument causes all other windows in the same top level windows to be removed. When invoked without a prefix, the next window is removed if there is one, otherwise the previous window is removed.

Toggle Count Newlines

Editor Command

Arguments: None
Key sequence: None

Controls the size of the scroller in editor-based tools, and how the Editor tool's mode line represents the extent of the displayed part of the buffer.

Toggle Count Newlines switches between counting newlines and counting characters in the current buffer. The counting determines what is displayed in the Editor tool's mode line, and how the size of the scroller is computed.

When counting newlines, the mode line shows line numbers and the total number of lines:

StartLine-EndLine[TotalLine]

When counting characters, the mode line shows percentages based on the characters displayed compared to the total number of characters in the buffer:

PercentStart-PercentEnd%

The default behavior is counting newlines, except for very large buffers.

Refresh Screen

Editor Command

Arguments: None
Key sequence: Ctrl+L

Moves the current line to the center of the current window, and then re-displays all the text in all the windows.

A prefix argument of 0 causes the current line to become located at the top of the window. A positive prefix argument causes the current line to become located the appropriate number of lines from the top of the window. A negative prefix argument causes the current line to become located the appropriate number of lines from the bottom of the window.


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

NextPrevUpTopContentsIndex