The
Edit Copy (
Ctrl-C),
Edit Cut (Ctrl-X)
and
Edit Delete (
Backspace, Del and
Ctrl-K —K like Kill) all work as
expected in any text editor or word processor. Their keyboard shortcuts
are the usual ones. These commands operate on both the text selection and
the node selection.
However, in XMLmind XML Editor, these commands also have the following specificities:
(Clicking on
displays a dialog box showing the content of system
clipboard.)
title
child element of a DocBook section
or
chapter
.para
to make this para
implicitly selected. Now simply press
Ctrl-X to cut this para
.In the case
of command Delete, only the Edit Delete menu item,
toolbar button and
Ctrl-K
keyboard shortcut operate on the implicitly selected
element. As expected, pressing Backspace
and Del only deletes the explicit
—highlighted in red— selection.
The Edit Paste (Ctrl-V)
command works quite normally:
The two other Paste commands,
Edit Paste Before (
Ctrl-U; letter U is before V in the
alphabet) and
Edit Paste After (
Ctrl-W; letter W is after V in the
alphabet), are specific to XMLmind XML Editor. These commands insert the
content of the system clipboard respectively before and after the node
selection. They do not work if there is a text selection.
These commands are useful to move elements around within the document or across different documents. For example, you can use Cut to cut a list item and then use Paste After to paste it after the last item of the list.
When the Paste command you intend to use is disabled (“grayed”), it's probably because you have chosen the wrong operation (e.g. Paste instead of Paste After) or because you have not selected the right element. This behavior, which is typical of XMLmind XML Editor, has already been described for the three Insert commands (Insert Before, Insert, Insert After).