Class Index | File Index

Classes


Class orion.textview.LineNumberRuler


Extends orion.textview.Ruler.
This objects implements a line numbering ruler.

See:
orion.textview.Ruler


Defined in: </shared/eclipse/e4/orion/I201301232230/plugins/org.eclipse.orion.client.editor/web/orion/textview/rulers.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.textview.LineNumberRuler(annotationModel, rulerLocation, rulerStyle, oddStyle, evenStyle)
Constructs a new line numbering ruler.
Methods borrowed from class orion.textview.Ruler:
addAnnotationType, getAnnotationModel, getAnnotations, getAnnotationsByType, getAnnotationTypePriority, getLocation, getOverview, getRulerStyle, getView, getWidestAnnotation, isAnnotationTypeVisible, removeAnnotationType, setAnnotationModel, setMultiAnnotation, setMultiAnnotationOverlay, setView
Events borrowed from class orion.textview.Ruler:
onClick, onDblClick, onMouseMove, onMouseOut, onMouseOver
Class Detail
orion.textview.LineNumberRuler(annotationModel, rulerLocation, rulerStyle, oddStyle, evenStyle)
Constructs a new line numbering ruler.
Parameters:
{orion.textview.AnnotationModel} annotationModel
the annotation model for the ruler.
{String} rulerLocation Optional, Default: "left"
the location for the ruler.
{orion.textview.Style} rulerStyle Optional, Default: undefined
the style for the ruler.
{orion.textview.Style} oddStyle Optional, Default: {style: {backgroundColor: "white"}
the style for lines with odd line index.
{orion.textview.Style} evenStyle Optional, Default: {backgroundColor: "white"}
the style for lines with even line index.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 23 2013 22:37:25 GMT-0500 (EST)