};\r
\r
Manager.prototype.selectNode = function(wlxmlNode, options) {\r
- options = options || {};\r
- var nodeElement = this.getNodeElement(wlxmlNode)\r
- \r
- this.dimNode(wlxmlNode);\r
- \r
- this.canvas.dom.find('.rng-module-documentCanvas-currentNode').removeClass('rng-module-documentCanvas-currentNode');\r
- nodeElement.addClass('rng-module-documentCanvas-currentNode');\r
- \r
- if(options.movecaret) {\r
- this.movecaretToNode(nodeElement);\r
- }\r
- \r
- this.currentNode = wlxmlNode;\r
- this.sandbox.publish('nodeSelected', wlxmlNode);\r
+ options = options || {};\r
+ var nodeElement = this.getNodeElement(wlxmlNode)\r
+ \r
+ this.dimNode(wlxmlNode);\r
+ \r
+ this.canvas.dom.find('.rng-module-documentCanvas-currentNode').removeClass('rng-module-documentCanvas-currentNode');\r
+ nodeElement.addClass('rng-module-documentCanvas-currentNode');\r
+ \r
+ if(options.movecaret) {\r
+ this.movecaretToNode(nodeElement);\r
+ }\r
+ \r
+ this.currentNode = wlxmlNode;\r
+ this.sandbox.publish('nodeSelected', wlxmlNode);\r
};\r
\r
Manager.prototype.getNodeElement = function(wlxmlNode) {\r