Navigating the Document Content in Text Mode

Oxygen XML Author plugin includes some useful features to help you navigate XML documents in Text mode.

Using the Keyboard

Oxygen XML Author plugin allows you to quickly navigate through a document using the Ctrl + CloseBracket (Command + CloseBracket on OS X) key to go to the next XML node and Ctrl + OpenBracket (Command + OpenBracket on OS X) to go to the previous one.

To navigate one word forward or backwards, use Ctrl + RightArrow (Command + RightArrow on OS X), and Ctrl + LeftArrow (Command + LeftArrow on OS X), respectively. To position the cursor at the beginning or end of the document you can use Ctrl + Home (Command + Home on OS X), and Ctrl + End (Command + End on OS X), respectively.

Navigation Shortcuts

Oxygen XML Author plugin includes some keyboard shortcuts to help you quickly navigate to a particular modification. They are also available as actions in the Navigation menu.

  • Ctrl+Q - Last Edit Location - Moves the cursor to the last modification in any opened document.
  • Alt+LeftArrow (Command+OpenBracket on OS X) - Back - Moves the cursor to the previous position.
  • Alt+RightArrow (Command+CloseBracket on OS X) - Forward - Moves the cursor to the next position.

Navigating with the Outline View

Oxygen XML Author plugin includes a very useful Outline view that displays a hierarchical tag overview of the currently edited XML Document.

You can use this view to quickly navigate through the current document by selecting nodes in the outline tree. It is synchronized with the editor area, so when you make a selection in the Outline view, the corresponding nodes are highlighted in the editor area.

Figure: Outline View Navigation in Text Mode

Using the Breadcrumb to Navigate

A breadcrumb on the top stripe indicates the path from the document root element to the current element. It can also be used as a helpful tool to navigate to specific elements throughout the structure of the document.

Figure: Breadcrumb in Text Mode

The last element listed in the breadcrumb is the element at the current cursor position. Clicking an element from the breadcrumb selects the entire element and navigates to it in the editor area.

Navigating with the Go To Dialog Box

In Text mode, you can navigate precisely to a location in the document you are editing by using the Go To Line (Ctrl+L (Command+L on OS X)) action that is available in the Navigation menu.

Navigating with Bookmarks

By using bookmarks, you can mark positions in an edited document so that you can return to it later. This is especially helpful for navigating through large documents or while editing multiple documents.

To insert a bookmark in Text mode, right-click the desired location in the vertical stripe on the left side of the editor and select Add Bookmark (you can remove it by selecting Remove Bookmark from the same contextual menu).

You can navigate the bookmarks by clicking on their corresponding markers in the vertical stripe on the right side of the editor.

Tip: You can configure the color and how the bookmarks are shown from the Eclipse Annotations preferences page (Window ('Eclipse' on Mac OSX) > Preferences > General > Editors > Text Editors > Annotations).