- 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