Cutting, copying and pasting nodes
This technique involves copying the node⁄subtree to the TreePad Clipboard, which is really a TreePad file named clipboard.hjt located in your Windows⁄TEMP directory. The Windows Clipboard is not used here. For more information on this file see The TreePad Clipboard.
Copying a node simply makes a copy of it as the standalone file clipboard.hjt, overwriting an earlier version if present. Cutting a node does the same but deletes the original within the tree (including any child nodes!). Pasting the node (in its original location or elsewhere) requires selecting a target node in the file to become its parent, then copying it from clipboard.hjt as a child of the parent node. Clipboard.hjt is retained unless deleted at shutdown or overwritten.
To Cut or Copy a node⁄subtree, right-click the node in the Tree pane, which (1) changes focus to the selected node in the Tree pane and (2) opens the Tree context menu.
(We will use the term context menu for a menu that pops up in wherever the cursor happens to be, usually by right-clicking the mouse or pressing Shift+F10 if in the Tree pane or Article pane.)
In the Tree context menu click Cut ⁄ Subtree or Copy ⁄ Subtree (or just Copy ⁄ Node if you do not wish to copy its child nodes). You can also copy the subtree by pressing Ctrl+Alt+C when in the Tree pane, although currently there is no equivalent shortcut to cut the subtree. Note that if the selected node has no child nodes, cutting the subtree is the same as cutting the node, hence there is no need for a separate command just to cut a node.
To Paste the subtree (now stored as clipboard.hjt), click Paste ⁄ Subtree in the Tree context menu, or press Ctrl+Alt+P when in the Tree pane.
For more details, see Cutting⁄Copying⁄Pasting nodes and subtrees.
Although Cutting and Pasting nodes may appear a simple and quick method of rearranging your tree, hyperlinks to nodes moved in this way are immediately invalidated, necessitating re-linking, which can be a real pain. The pros and cons of each method are described in detail in Use cursor keys, drag or cut-and-paste?
The last tool for rearranging single nodes is sorting.
Search ]     [ Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 47 of 563)

This page is created with TreePad