 module.exports = class SpellTranslationView extends CocoView
   className: 'spell-translation-view'
   template: template
-  
+
   events:
     'mousemove': ->
       @$el.hide()

      @markerRange = new Range pos.row, start, pos.row, end
      @reposition(e.domEvent)
    @update()
    
  reposition: (e) ->
    offsetX = e.offsetX ? e.clientX - $(e.target).offset().left
    offsetY = e.offsetY ? e.clientY - $(e.target).offset().top

        acc[doc.name] = translated if translated isnt doc.name
      acc
    , {})

    @onMouseMove = _.throttle @onMouseMove, 25

  afterRender: ->
    super()
    @ace.on 'mousemove', @onMouseMove
