Class orion.textview.Annotation
This is class represents an annotation for the AnnotationRuler.
See:
orion.textview.AnnotationRuler
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/rulers.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
The end offset of the annotation in the text model.
|
|
The html content for the annotation, typically contains an image.
|
|
The style information for the annotation used in the text view to decorate a line of text.
|
|
the style for the annotation in the overview ruler.
|
|
The style information for the annotation used in the text view to decorate a range of text.
|
|
The start offset of the annotation in the text model.
|
|
the style for the annotation.
|
|
The text description for the annotation.
|
|
The annotation type (for example, orion.annotation.error).
|
Field Detail
{Number}
end
The end offset of the annotation in the text model.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
{String}
html
The html content for the annotation, typically contains an image.
- Default Value:
- ""
{orion.textview.Style}
lineStyle
The style information for the annotation used in the text view to decorate a line of text.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
{orion.textview.Style}
overviewStyle
the style for the annotation in the overview ruler.
{orion.textview.Style}
rangeStyle
The style information for the annotation used in the text view to decorate a range of text.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
{Number}
start
The start offset of the annotation in the text model.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
{orion.textview.Style}
style
the style for the annotation.
{String}
title
The text description for the annotation.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
{String}
type
The annotation type (for example, orion.annotation.error).
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.
Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/annotations.js>.