The Annotate Editor
Overview
The Annotate Editor is an editor that is opened in read-only mode. The displayed
text cannot be changed.
The screenshot shows the Annotate Editor that was opened for a Java source file:
Features
- The editor window displays the contents of the document. Hovering the mouse over a portion
of text will display a tooltip with the ClearCase version id.
- In the vertical ruler at the left-hand side (in the screenshot with line numbers switched on) coloured bars
mark the line regions which belong to the same version. Hovering the mouse over a
coloured bar opens a tooltip containing the following information:
- The user id of the user who has created the version
- The ClearCase version id
- The point in time when the version was created (date and time)
- The version comment
-
There is always one version selected in the Annotate Editor. When the Annotate Editor opens it implicitly
selects the version to which the first line of the document belongs. Small yellow arrows in the vertical
ruler point to all bars belonging to the selected version. With a click in a coloured bar
the selected version can be changed.
- With the actions Next Annotation and Previous Annotation in the main toolbar you can position
from one line region of the selected version to the next respectively to the previous line region
of the selected version. To enable this the option Version Annotations must be activated in the menu
of the actions:
-
At the right-hand side of the Annotate Editor in the overview ruler there are coloured annotations
that mark the positions of the line regions of the selected version in the document. A click on an
annotation in the overview ruler moves the cursor to the corresponding position in the document.
-
The Annotate Outline view displays all the versions to which lines occurring
in the document belong.
-
The Annotate History view shows the ClearCase history for the
ClearCase element. If the version that is selected in the Annotate Editor is changed by
changing the cursor position, this automatically selects the corresponding version in the
Annotate History view.