Class orion.editor.Annotation
This is class represents an annotation for the AnnotationRuler.
 
See:
 
orion.editor.AnnotationRuler
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/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: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					{String}
					html
					
					
					
						The html content for the annotation, typically contains an image.
						
						
					
					
					
						
						
						
						
							- Default Value:
- ""
					
					{orion.editor.Style}
					lineStyle
					
					
					
						The style information for the annotation used in the text view to decorate a line of text.
						
							
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					{orion.editor.Style}
					overviewStyle
					
					
					
						the style for the annotation in the overview ruler.
						
						
					
					
					
						
						
						
						
					
					
					{orion.editor.Style}
					rangeStyle
					
					
					
						The style information for the annotation used in the text view to decorate a range of text.
						
							
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					{Number}
					start
					
					
					
						The start offset of the annotation in the text model.
						
							
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					{orion.editor.Style}
					style
					
					
					
						the style for the annotation.
						
						
					
					
					
						
						
						
						
					
					
					{String}
					title
					
					
					
						The text description for the annotation.
						
							
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					{String}
					type
					
					
					
						The annotation type (for example, orion.annotation.error).
						
							
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.
					
					
						
						
						
						
					
				
			
		
			
			
		
			
			
			Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.editor/web/orion/editor/annotations.js>.