LispWorks Editor User Guide > 3 Command Reference > 3.32 Buffers, windows and the mouse

NextPrevUpTopContentsIndex

3.32.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 (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex