Cutting⁄Copying⁄Pasting nodes and subtrees
To cut a node or subtree1,4
Cutting involves copying the node or subtree to the TreePad Clipboard and deleting the node(s) in the source file.
To copy a node1
Here, a copy of the node is stored in the TreePad Clipboard. No copies are made of any child nodes.
To copy a subtree2
Here, the whole subtree (root node and any child nodes) is copied to the TreePad Clipboard.
To paste a node or subtree3
Here, the contents of the TreePad Clipboard are inserted into the tree so that the root node in the TreePad Clipboard becomes a child node of the node selected in the destination file.
See also:
The TreePad Clipboard
Copying or moving text and images
Copying the article contents

  1. In Cutting and Copying, the original node⁄subtree is copied to the TreePad Clipboard. The only difference is that in Cutting, the original node⁄subtree is deleted after copying, whereas it is retained after Copying.
  2. If the node has no child nodes (i.e. there is no subtree), this command simply copies the node.
  3. You should always paste what you have just cut out into your destination as soon as possible, even though the cut node or subtree is saved on the TreePad Clipboard. For if you cut a second node before pasting the first one, the TreePad clipboard will be overwritten with the second node.
  4. Remember that the act of Cutting a node with child nodes attached removes the node and its children from the tree, in other words, the whole subtree is cut. If TreePad detects that child nodes are present, you will be asked to confirm the Cut before it is made as a precaution. Even so, if you are Cutting a very large subtree, it may be preferable to Copy it instead, then Delete the original later when you are sure you did the correct thing!
Search ]     [ Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 110 of 563)

This page is created with TreePad