Class orion.editor.LineStyleEvent
This is the event sent when the text view needs the style information for a line.
See:
orion.editor.TextView
orion.editor.TextView#event:onLineStyle
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.editor/web/orion/editor/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).
|
|
The text view.
|
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.editor.StyleRange[]}
ranges
An array of style ranges for the line (output argument).
{orion.editor.Style}
style
The style for the entire line (output argument).
{orion.editor.TextView}
textView
The text view.