void (@NotNull EditorMouseEvent e) { if (!mouseIsInsideAnnotationArea(myEditor, e.getMouseEvent())) { removeDiff(); return; } int editorLine = EditorUtil.yToLogicalLineNoCustomRenderers(myEditor, e.getMouseEvent().getY()); if (editorLine == myCurrentLine) { return; } removeDiff(); if (!AnnotateDiffOnHoverToggleAction.isShowDiffOnHover()) return; int annotationLine = myTextPresentation.getAnnotationLine(editorLine); if (annotationLine >= 0 && annotationLine < myFileAnnotation.getLineCount()) { myCurrentLine = editorLine; scheduleUpdateDiff(editorLine, annotationLine); } }