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:
![]() |
If the glyph margin is not currently displayed, you can access the same contextual menu options by right-clicking in the Source Editor window and choosing from the Margin pullright menu. |
To cycle through multiple annotations on one line:
This image appears in the glyph margin when there are multiple annotations on a single line that cannot be combined into one glyph. The tooltip for the image tells you how many annotations exist for the current line.
To set properties for annotations and the glyph margin:
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 |