- this.getNodeElement(node).addClass('rng-module-documentCanvas-currentNode');\r
-\r
- this.currentNode = node;\r
- sandbox.publish('nodeSelected', node);\r
- \r
- },\r
- selectNode: function(node) {\r
- view._markSelected(node);\r
- var range = document.createRange();\r
- range.selectNodeContents(this.getNodeElement(node)[0]);\r
- range.collapse(false);\r
-\r
- var selection = document.getSelection();\r
- selection.removeAllRanges()\r
- selection.addRange(range);\r
+ this.currentNode = wlxmlNode;\r
+ sandbox.publish('nodeSelected', wlxmlNode);\r