The Annotation Editor

The Annotation Editor is intended for handling the document markup. Since almost all markup goes betweeen words, it treats words as the atomic text units instead of individual characters. While this inhibits character wise text editing, it greatly simplifies creating XML tags because they are automatically placed at the word boundaries. An Annotation Editor has five different parts:

The Editor (center)

The editor is the core part of the Annotation Editor. It displays the document text for markup editing, while the other parts (see below) provide options to make the editing process more convenient. However, the editor does not allow editing the text directly. All functions are based on selecting a part of the text and subsequently applying some action to it. These actions are accessible in several ways: Through the Edit menu of the main window, through the button panel of the Annotation Editor (see below), or through the context menu. The context menu is the only one of these ways that changes depending on the current selection. In particular, there are three different context menu states:

The Button Panel (top)

The button panel is another way to access the most common functions of the Annotation Editor. In particular, it provides the basic functions for handeling Annotations:

The Recent Action Panel (upper-left)

The recent action panel allows instantly repeating the most recently used actions, reusing the original parameters. This avoids, for instance, re-entering the Annotation type / XML element name when creating a new Annotation.

The Makro Panel (lower-left)

The makro panel provides access to Makros. A Makro consists of a an XML element name to annnotate selected text with, and some resource that is automatically applied to the newly created Annotation. Frequently used markup / editing sequences can be bundeled this way, making them one-click accessible. A good example for a useful Makro is marking up the selected text as a paragraph and subsequently applying the structural normalization to the content of the newly created tag.

The Layout Panel (right)

The layout panel allows showing / hiding the individual XML element tags contained in the document, and highlighting the tag content. This is in favor of clarity, e.g. for hiding detail level markup when working on the document structure. The left of the two checkboxes highlights the Annotation content, while the right one shows / hides the respective XML tags. A click on the XML element name / Annotation type will open a dialog for adjusting the color used for this type of Annotation.