Selecting Text

AutoCAD AutoLISP & Visual LISP

 
Selecting Text
 
 
 

The simplest method to select text is to double-click your left mouse button. The amount of text selected depends on the location of your cursor.

  • If the cursor immediately precedes an open parenthesis, VLISP selects all the following text up to the matching close parenthesis.
  • If the cursor immediately follows a close parenthesis, VLISP selects all preceding text up to the matching open parenthesis.
  • If the cursor immediately precedes or follows a word, or is within a word, VLISP selects that word.

To select specific text, press and hold the SHIFT key while pressing the arrow keys on the keyboard. Other keyboard methods of text selection are listed in the following table:

Text selection shortcut keys

To

Press

Expand the selection to the next line

SHIFT+DOWN ARROW

Expand the selection to the previous line

SHIFT+UP ARROW

Expand the selection to the end of the line

SHIFT+END

Expand the selection to the beginning of the line

SHIFT+HOME

Expand the selection down one window, or

abandon selection of the next window, if it is

currently selected

SHIFT+PAGEDOWN

Expand the selection up one window, or abandon selection of the previous window, if it is currently selected

SHIFT+PAGEUP

Expand the selection to the next word, or abandon selection of the next word, if it is currently selected

CTRL+SHIFT+RIGHT ARROW

Expand the selection to the previous word, or

abandon selection of the previous word, if it is

currently selected

CTRL+SHIFT+LEFT ARROW

Expand the selection up to the matching left

parenthesis

CTRL+SHIFT+[

Expand the selection up to the matching right parenthesis

CTRL+SHIFT+]

Move the cursor to the other side of the selection

ALT+ENTER