Class javascript.HtmlFormatter
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.webtools/web/webtools/htmlFormatter.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
creates a new instance of the html 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
|
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