Class Index | File Index

Classes


Class orion.highlight.SyntaxHighlighter


Defined in: </shared/eclipse/e4/orion/I201306251555/plugins/org.eclipse.orion.client.ui/web/orion/highlight.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
 
setup(contentType, textView, annotationModel, fileName, allowAsync)
Class Detail
orion.highlight.SyntaxHighlighter(serviceRegistry)
Parameters:
{orion.serviceregistry.ServiceRegistry} serviceRegistry
Registry to look up highlight providers from.
Method Detail
getStyler()

{orion.Deferred} setup(contentType, textView, annotationModel, fileName, allowAsync)
Parameters:
{orion.core.ContentType} contentType
{orion.editor.TextView} textView
{orion.editor.AnnotationModel} annotationModel
{String} fileName Optional
Deprecated. For backwards compatibility only, service-contributed highlighters will be checked against the file extension instead of contentType.
{Boolean} allowAsync Optional, Default: true
If true, plugin-contributed asynchronous highlighters (i.e. type == "highlighter" will be consulted. If false, only rule-based highlighters will be consulted.
Returns:
{orion.Deferred} A promise that is resolved when this highlighter has been set up.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jun 25 2013 15:58:42 GMT-0400 (EDT)