Using Annotations

Annotations are marks that indicate conditions of a line in the Source Editor. Examples of annotation types are breakpoints, bookmarks, the program counter, build errors, and so on.

Annotations are indicated by highlighted lines and glyphs in the gray left margin of the Source Editor window. This left margin is called the glyph margin, and can optionally also include line numbers.

If there are multiple annotations on one line, only one glyph is displayed in the glyph margin. You can cycle through multiple glyphs to display them one at a time. You can also set a property called Combine Annotations so that some annotation combinations can be combined into a single glyph.

For information on using annotations, see:
Viewing annotation types
Toggling elements in the glyph margin
Cycling through multiple annotations
Setting annotation and glyph margin properties

To view the possible annotations for the modules in your IDE:

To toggle breakpoints, line numbers, and bookmarks in the glyph margin:

To cycle through multiple annotations on one line:

To set properties for annotations and the glyph margin:

  1. Choose Tools and choose Options and expand the Editing node.
  2. Select the Annotation Types node to set general properties that define how annotations and the glyph margin are displayed.

    Select a subnode of Annotation Types to set properties that define the color and display of an individual annotation type.

See also
Annotation Properties
Displaying Line Numbers
Using Bookmarks

Legal Notices