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/I201107200200/plugins/org.eclipse.orion.client.editor/web/orion/textview/rulers.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.textview.LineNumberRuler(rulerLocation, rulerStyle, oddStyle, evenStyle)
Contructs a new line numbering ruler.
Methods borrowed from class orion.textview.Ruler:
getAnnotations, getHTML, getLocation, getOverview, getStyle, setView
Events borrowed from class orion.textview.Ruler:
onClick, onDblClick
Class Detail
orion.textview.LineNumberRuler(rulerLocation, rulerStyle, oddStyle, evenStyle)
Contructs a new line numbering ruler.
Parameters:
{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: {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 Jul 20 2011 02:04:44 GMT-0400 (EDT)