     desiredText = event.target.innerText || event.target.textContent
     desiredText = desiredText.split('.')[0]
 
-    range = document.createRange()
-    range.selectNodeContents(event.target)
-
-    selector = new Selector_Class(event.target, event.target, 0, desiredText.length)
-
     full_xpath = Util.xpathFromNode($(event.target), document)
 
     data = {

      startOffset: 0
      end: full_xpath
      endOffset: desiredText.length
      commonAncestor: document
      commonAncestorContainer: document
    }

    anchor = new xpathRange.SerializedRange(data).normalize(document)

    window.getSelection().removeAllRanges()
    window.getSelection().addRange(anchor.toRange())

