Class javascript.CssFormatter
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.webtools/web/webtools/cssFormatter.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
javascript.CssFormatter(ternWorker)
creates a new instance of the javascript formatter
|
Method Attributes | Method Name and Description |
---|---|
format(editorContext, context)
Callback from the editor to format the source code
|
|
updated(properties)
Callback from orion.cm.managedservice
|
Class Detail
javascript.CssFormatter(ternWorker)
creates a new instance of the javascript formatter
- Parameters:
- {Worker} ternWorker
Method Detail
format(editorContext, context)
Callback from the editor to format the source code
- Parameters:
- {orion.edit.EditorContext} editorContext
- The current editor context
- {Object} context
- The current selection context
updated(properties)
Callback from orion.cm.managedservice
- Parameters:
- {Object} properties
- The properties that have been changed