Download jEdit 4.2 User Manual

Transcript
Editing Text
•
Clicking the middle mouse button in the text area inserts the most recently selected text at the
clicked location. If you only have a two-button mouse, you can click the left mouse button while
holding down Alt instead of middle-clicking.
•
Dragging with the middle mouse button creates a selection without moving the caret. As soon as the
mouse button is released, the selected text is inserted at the caret position and the selection is
deactivated. A message is shown in the status bar while text is being selected to remind you that this
is not an ordinary selection.
•
Holding down Shift while clicking the middle mouse button will duplicate text between the caret
and the clicked location.
•
Holding down Control while clicking the middle mouse button on a bracket will insert all text in
that bracket's scope at the caret position.
The most recently selected text is stored in the % register.
If jEdit is being run under Java 2 version 1.4 on Unix, you will be able to transfer text with other X
Windows applications using the quick copy feature. On other platforms and Java versions, the contents
of the quick copy register are only accessible from within jEdit.
General Register Commands
These commands require more keystrokes than the two methods shown above, but they can operate on
any register, allowing an arbitrary number of text chunks to be retained at a time.
Each command prompts for a single-character register name to be entered after being invoked. Pressing
ESCAPE instead of specifying a register name cancels the operation.
Note that the content of registers other than the clipboard and quick copy register are automatically
saved between jEdit sessions.
Edit>More Clipboard>Cut to Register (shortcut: C+r C+x key) stores the selected text in the
specified register, removing it from the buffer.
Edit>More Clipboard>Copy to Register (shortcut: C+r C+c key) stores the selected text in the
specified register, leaving it in the buffer.
Edit>More Clipboard>Cut Append to Register (shortcut: C+r C+u key) adds the selected text to
the existing contents of the specified register, and removes it from the buffer.
Edit>More Clipboard>Copy Append to Register (shortcut: C+r C+a key) adds the selected text to
the existing contents of the specified register, without removing it from the buffer.
Edit>More Clipboard>Paste from Register (shortcut: C+r C+v key) replaces the selection with the
contents of the specified register.
The following three commands display dialog boxes instead of prompting for a register name.
Edit>More Clipboard>Paste Previous (shortcut: C+e C+v) displays a dialog box listing the 20 most
recently copied and pasted text strings.
Edit>More Clipboard>Paste Deleted (shortcut: C+e C+y) is not really a register command; it
displays a dialog box listing the 20 most recently deleted text strings.
Edit>More Clipboard>View Registers displays a dialog box for viewing register contents, including
the clipboard and the quick copy.
25