Time-saving insert functions
The following commands enable you to
- create a new node,
- set the title of the new node,
- and fill the contents of the new article with information
all in one step.
Inserting a duplicate node
Main menu ⁄ Tree ⁄ Insert ⁄ Duplicate node
This command creates a new sibling node, containing the entire text of the current article. The first line of the current selection will be placed in the name of the new node, the icon and checkmark will be copied from the current node.
Inserting a sibling node with the current selection
Main menu ⁄ Tree ⁄ Insert ⁄ New node from selection or press Shift+Ctrl+Alt+J
This command creates a new node, containing the selected text of the current article. The first line of the current selection will be placed in the name of the new node.
Inserting a sibling node and move the current selection to the new node
Main menu ⁄ Tree ⁄ Insert ⁄ New node from selection and cut or press Shift+Ctrl+Alt+K
This command does the same as the command directly above, except that it instead of copying the selected text of the current article into the new node, it moves the selected text into the new node.
In this example we will create a sibling node named BBB of the target node AAA. In Fig. 1 we have typed BBB in node AAA's article.
Next step is to highlight BBB (Fig. 2).
Now, click Main menu ⁄ Tree ⁄ Insert ⁄ New node from selection or press Shift+Ctrl+Alt+J. A new sibling node BBB is created below AAA (Fig. 3). Note that AAA still retains focus as the currently selected node, allowing you to insert further siblings in this way if you wish.
Next, let's refocus on node AAA and change its article text from BBB to CCC (Fig. 4).
This time, click Main menu ⁄ Tree ⁄ Insert ⁄ New node from selection and cut or press Shift+Ctrl+Alt+K. A new sibling node CCC is created below AAA (Fig. 5). However, the highlighted text has also been cut from node AAA.
As you can see above, since the sibling nodes created by these two commands are always inserted directly below their target nodes, in order to create a set of sibling nodes named (from top to bottom) in the same order as the list in the target node's article, you would have to start with the lowest item on the list first. E.g., if the list of proposed node titles in the article was:
you would have to create CCC first, then BBB, and finally AAA.
But that is not the main purpose of these commands. Their most important use is in Subdividing articles.
- It is not possible to create a sibling node above or below the Root node. See Subtrees and sublevels.