Class Index | File Index

Classes


Class orion.highlight.SyntaxHighlighter


Defined in: </shared/eclipse/e4/orion/I201202282230/plugins/org.eclipse.orion.client.core/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)
Class Detail
orion.highlight.SyntaxHighlighter(serviceRegistry)
Parameters:
{orion.serviceregistry.ServiceRegistry} serviceRegistry
Registry to look up highlight providers from.
Method Detail
getStyler()

{dojo.Deferred} setup(contentType, textView, annotationModel, fileName)
Parameters:
{orion.file.ContentType} contentType
{orion.textview.TextView} textView
{orion.textview.AnnotationModel} annotationModel
{String} fileName Optional
Deprecated. For backwards compatibility only, service-contributed highlighters will be checked against the file extension instead of contentType.
Returns:
{dojo.Deferred} A promise that is resolved when this highlighter has been set up.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 28 2012 22:34:47 GMT-0500 (EST)