void (MouseEvent e) { if (!myAllowExcludeChangesFromCommit) { destroyHoverHighlighter(); return; } EditorGutterComponentEx gutter = myEditor.getGutterComponentEx(); int xOffset = DiffUtil.isMirrored(myEditor) ? gutter.getWidth() - e.getX() : e.getX(); if (xOffset < gutter.getIconAreaOffset() || xOffset > gutter.getIconAreaOffset() + gutter.getIconsAreaWidth()) { destroyHoverHighlighter(); return; } LogicalPosition position = myEditor.xyToLogicalPosition(e.getPoint()); updateHoverHighlighter(position.line); }