 
   beforeRemove: ->
     @marker?.destroy()
-    @violationTooltip('destroy')
+    @tooltip('destroy')

  getCurrentScreenRange: ->
    new Range(@screenStartPosition, @screenEndPosition)

  violationTooltip: (option) ->
    violationView = this
    @each ->
      $this = $(this)

      if @isValid
        @toggleTooltipWithCursorPosition()
      else
        @tooltip('hide')

  showHighlight: ->
    @updateHighlight()
