Mark and region
Next: Macros
Up: Editing
Previous: Searching
A mark allows you to save a cursor position and to come back to it
later. You can set only one mark per text window.
A region is a portion of text between the mark and the cursor. A
region can be copied, deleted, restored, indented (mode C, C++,
Latex, etc) or evaluated (the region must be a valid Smac
expression of definition).
- Ctrl-space sets the mark at the current position. When
the text is modified, the mark is updated when allowed.
- Ctrl-x m moves to the mark.
- Ctrl-x Ctrl-x exchanges current position with mark when
it is set.
- Esc w copies the region between mark and cursor in the
kill-buffer. It can be pasted at any current position with the
command Ctrl-y or with the kill buffer box.
- Ctrl-w deletes the region between mark and cursor. The
corresponding portion of text is saved in the kill-buffer and can be
restored at any current position with the command Ctrl-y or
with the kill-buffer box.
Lionel Fournigault
Mon Mar 6 13:33:34 MET 1995