History | Edit

The Elements view presents a list of all defined elements that are valid at the current cursor position according to the schema associated to the document. By default, it is located on the right side of the editor. If the view is not displayed, it can be opened by selecting it from the Window > Show View menu.

The upper part of the view features a combo box that contains the ordered ancestors of the current element. Selecting a new element in this combo box updates the list of the allowed elements. By default, only the elements that are allowed at the current cursor position are listed. However, if the Show only items allowed at cursor position option is not selected in the Views preferences page, two additional tabs (Before and After) will be displayed at the bottom of the view and they list elements that are allowed before or after the element at the current cursor position.

Double-clicking any of the listed elements inserts that element into the edited document and its position depends on the tab.
  • Cursor tab - Double-clicking an element inserts it at the current cursor position.
  • Before tab - Double-clicking an element inserts it before the element at the cursor position.
  • After tab - Double-clicking an element inserts it after the element at the cursor position.

Pressing F2 with an element selected will display information about that particular element.

Figure: Elements View in Author Mode