All Manuals > LispWorks Editor User Guide > 3 Command Reference

NextPrevUpTopContentsIndex

3.35 Buffers, windows and the mouse

3.35.1 Buffers and windows

You can transfer text between LispWorks Editor buffers and ordinary windows using the commands described below.

Copy to Cut Buffer

Editor Command

Argument: None
Key sequence: None

Copies the current region to the Cut buffer. The contents of the buffer may then be pasted into a window using the standard method for pasting.

Insert Cut Buffer

Editor Command

Argument: None
Key sequence: None

Inserts the contents of the Cut buffer at the current point. You can put text from a window into the Cut buffer using the standard method for cutting text (usually by holding the left mouse button while dragging the mouse).

3.35.2 Actions involving the mouse

The functions to which the mouse buttons are bound are not true Editor Commands. As such, the bindings cannot be changed. Details of mouse button actions are given below.

Note that marks may also be set by using editor key sequences--see Marks and regions--but also note that a region must be defined either by using the mouse or by using editor key sequences, as the region may become unset if a combination of the two is used. For example, using Ctrl+Space to set a mark and then using the mouse to go to the start of the required region unsets the mark.

left-button

Moves the current point to the position of the mouse pointer.

shift-left-button

In Emacs emulation, this moves the current point to the location of the mouse pointer and sets the mark to be the end of the new current form or comment line.

control-shift-left-button

Invokes the Editor Command Save Region, saving the region between the current point and the mark at the top of the kill ring. If the last command was control-shift-left-button, the Editor Command Kill Region is invoked instead. This allows one click to save the region, and two clicks to save and kill it.

middle-button

If your mouse has a middle button, it pastes the current selection at the location of the mouse pointer.

right-button

Brings up a context menu, from which a number of useful commands can be invoked. The options include Cut , Copy , and Paste .

shift-right-button

Inserts the form or comment line at the location of the mouse pointer at the current point.


LispWorks Editor User Guide (Macintosh version) - 17 Aug 2017

NextPrevUpTopContentsIndex