- selectNode: function(node) {\r
- node = this.getNodeElement(node);\r
- view._markSelected(node);\r
- var range = document.createRange();\r
- range.selectNodeContents(node[0]);\r
- range.collapse(false);\r
-\r
- var selection = document.getSelection();\r
- selection.removeAllRanges()\r
- selection.addRange(range);\r
- },\r
- highlightNode: function(node) {\r
- node = this.getNodeElement(node);\r