Editor

Editor is a global object that represents the Xopus editor.


Editor object

Properties

Editor.Canvas Canvas
Editor.Canvas is a namespace for methods related to Xopus Canvasses.
Editor.ChangeTracking Editor.ChangeTracking
This namespace provides access to configuration of Change Tracking in Xopus.
Editor.Selection Editor.Selection
An interface for manipulating the selection.
Editor.XML Editor.XML
This object is a namespace for XML related methods.

methods

Editor.addCommand( name : String,  command : Command) : Object
Editor.closeAttributesEditor()
Editor.exit()
Editor.getActiveDocument() : XopusDocument
Editor.getExitURL() : String
Editor.getExitFunction() : Function
Editor.getScope() : Scope
Editor.getHTMLElementsForXMLNode( XopusNode : XopusNode) : HTMLDOMElement[]
Editor.getURL() : String
Editor.getXMLNodeForHTMLElement( element : HTMLDOMElement) : XopusNode
Editor.getVersion() : String
Editor.runInTransaction( code : String|Function,  win (optional) : Window) : Boolean
Editor.setExitURL(  url : String)
Editor.setExitFunction(  func : Function)
Editor.setURL( url : String,  ignoreUnsavedChanges : Boolean)
Editor.setSymbols( rows : Array) : Array
Editor.setUILanguage( langCode : String)

Events

unload
load
xmlContextChange
afterRedraw
XopusLoaded
XopusUnloaded