Contextual Menu

More powerful support for editing the XML markup is offered via actions included in the contextual menu. Two types of actions are available: generic actions (actions that not depends on a specific document type) and document type actions (actions that are configured for a specific document type).

The generic actions are:

Quick Fix (Alt 1 (Command Alt 1 on OS X))
Available when the contextual menu is invoked on an error where Oxygen XML Editor can provide a quick fix.
Open Image
Available when the contextual menu is invoked on an image. This action allows you to open an image in the Oxygen XML Editor's Image Viewer or in a default system application associated with the current image type.
Edit Attributes
A pop-up window is displayed allowing you to manage in-place the element's attributes.
Edit Profiling Attributes...
Allows you to change the profiling attributes defined on all selected elements.
Cut, Copy, Paste
Common edit actions with the same functionality as those found in the text editor.
Paste special > Paste As XML
Similar to Paste operation, except that the clipboard's content is considered to be XML.
Paste special > Paste As Text
Pastes the clipboard content, ignoring any structure or styling markup, if any.
Select
Contains the following actions:
Select > Select Element
Selects the entire element at the current caret position.
Select > Select Content
Selects the entire content of the element at the current caret position, excluding the start and end tag. Performing this action repeatedly will result in the selection of the content of the ancestor of the currently selected element content.
Select > Select Parent
Selects the parent of the element at the current caret position.
Note: You can select an element by triple clicking inside its content. If the element is empty you can select it by double clicking it.
Text
Contains the following actions:
Text > To Lower Case
Converts the selected content to lower case characters.
Text > To Upper Case
Converts the selected content to upper case characters.
Text > Capitalize Sentences
Converts to upper case the first character of every selected sentence.
Text > Capitalize Words
Converts to upper case the first character of every selected word.
Text > Count Words
Counts the number of words and characters (no spaces) in the entire document or in the selection for regular content and read-only content.
Note: The content marked as deleted with track changes is ignored when counting words.
Refactoring
Contains a series of actions designed to alter the document's XML structure:
Toggle Comment
Encloses the currently selected text in an XML comment, or removes the comment if it is commented.
Move Up
Moves the current node or selected nodes in front of the previous node.
Move Down
Moves the current node or selected nodes after the successive node.
Split Element
Splits the content of the closest element that contains the caret's position. Thus, if the caret is positioned at the beginning or at the end of the element, the newly created sibling will be empty.
Join Elements
Joins two adjacent elements that have the same name. The action is available only when the caret position is between the two adjacent elements. Also, joining two elements can be done by pressing the Delete or Backspace keys and the caret is positioned between the boundaries of these two elements.
Surround with Tag...
Selected text in the editor is marked with the specified start and end tags.
Surround with <Tag name>
Selected text in the editor is marked with start and end tags used by the last Surround with Tag... action.
Rename Element
The element from the caret position and the elements that have the same name as the current element can be renamed according with the options from the Rename dialog box.
Delete Element Tags
Deletes the tags of the closest element that contains the caret's position. This operation is also executed if the start or end tags of an element are deleted by pressing the Delete or Backspace keys.
Review
Provides access to Track Changes and Manage Comments actions.
Generate IDs
Provides access to searching and refactoring actions for ID/IDREFS.
Insert > Insert Entity
Allows the user to insert a predefined entity or a character entity. Surrogate character entities (range #x10000 to #x10FFFF) are also accepted. Character entities can be entered in one of the following forms:
  • #<decimal value> - e. g. #65
  • &#<decimal value>; - e. g. &#65
  • #x<hexadecimal value> - e. g. #x41
  • &#x<hexadecimal value>; - e. g. &#x41
Options
Opens the Author options page.

Document type actions are specific to some document type. Examples of such actions can be found in the DocBook 4 Author Extensions and DITA Author Extensions sections.