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