Class orion.textview.LineStyleEvent
This is the event sent when the text view needs the style information for a line.
See:
orion.textview.TextView
orion.textview.TextView#event:onLineStyle
Defined in: </shared/eclipse/e4/orion/I201107200200/plugins/org.eclipse.orion.client.editor/web/orion/textview/textView.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
The line index.
|
|
The character offset, relative to document, of the first character in the line.
|
|
The line text.
|
|
An array of style ranges for the line (output argument).
|
|
The style for the entire line (output argument).
|
Field Detail
{Number}
lineIndex
The line index.
{Number}
lineStart
The character offset, relative to document, of the first character in the line.
{String}
lineText
The line text.
{orion.textview.StyleRange[]}
ranges
An array of style ranges for the line (output argument).
{orion.textview.Style}
style
The style for the entire line (output argument).