       if @isValid
         @toggleTooltipWithCursorPosition()
       else
-        @violationTooltip('hide')
+        @tooltip('hide')
 
   showHighlight: ->
     @updateHighlight()


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

          @scheduleDeferredShowHighlight()
      else
        @hideHighlight()
        @tooltip('hide')

  isVisibleMarkerChange: (event) ->
    editorFirstVisibleRow = @editorView.getFirstVisibleScreenRow()
