The contextual menu of the
Outline tree contains the following actions:
- Edit attributes
- Opens a dialog box that allow you to see and edit the attributes of the selected
node.
- Append child, Insert before, and
Insert after
- Submenus that allow you to quickly insert new tags in the document at the place of the
element selected in the Outline tree. The Append
child submenu lists the names of all the elements which are allowed by the
schema associated with the current document as child of the current element. The effect
is the same as typing the '<' character and selecting an element name from the popup
menu offered by the
Content Completion Assistant. The Insert
before and Insert after submenus list the elements
which are allowed by the schema associated with the current document as siblings of the
current element inserted immediately before respectively after the current element.
- Cut, Copy, and
Paste
- Usual text manipulation actions. The content retains text
attributes like color and font.
- Paste
- Pastes the clipboard content in the currently selected node. The Paste
Before and Paste After variants of the
Paste action allow you to paste the clipboard content before and after
the currently selected node.
- Delete
- Deletes the currently selected node.
- Toggle Comment
- If the currently selected element is not commented, this action encloses it in an XML
comment. Otherwise, it removes the comment.
- Rename Element
- Allows you to rename the selected element. Alternatively, you can choose to rename all
its siblings with the same name or all elements with the same name in the entire
document.
- Expand More / Collapse All
- Expand / collapse the selection and all its children.
Tip: You can copy, cut or delete multiple nodes in the
Outline by using the contextual menu after selecting multiple nodes
in the tree.