 
     if event.which == 13
       # handle the enter key
-      this.moveToNextSentence()+      this.moveToNextSentence(event)
    this.currentIndex = 0
    this.selectSentence event.target

  moveToNextSentence: () ->
    this.currentIndex = this.currentIndex + 1
    currentSelection = window.getSelection()

    this.selectSentence(currentSelection.baseNode.parentElement)

    return null


      end: full_xpath
      endOffset: offset_to_use + desiredText.length + this.currentIndex + 1
    }

    return data

